Analysis code for Buckberry, S., Liu, X., Poppe, D. et al. Transient naive reprogramming corrects hiPS cells functionally and epigenetically. Nature 620, 863–872 (2023). https://doi.org/10.1038/s41586-023-06424-7
Raw and processed data for this study are accessible under GEO SuperSeries GSE159297.
- Figure 1 and associated Extended Data Figures
- Figure 2 and associated Extended Data Figures
- Figure 3 and associated Extended Data Figures
- Extended Data Figure 2b: CNV analysis
- Extended Data Figure 2g,h,i: Ma et al. re-analysis
- Extended Data Figure 3f,g,h: Primed-Naive-Primed analysis
- Extended Data Figure 3i: Lentiviral insertion analysis
- Figure 4 and associated Extended Data Figures
- Extended Data Figure 8k: Choi et al. reanalysis
- Extended Data Figure 8l: Ma et al. reanalysis
- Extended Data Figure 9c,d,e: Evaluation of published criteria
- Figure 5 and associated Extended Data Figures
- CG-DMR analyses
- CH-DMR analyses
- Imprinting analyses
Run the following R scripts to install and load R packages and functions required to run the analyses detailed in this repo.
R/install-project-packages.R
R/project_functions.R
Details of analyses and figures from this study are in the markdown files listed above. Additional information on data processing can be found in data type sub-directories /wgbs/analysis_scripts
, RNAseq/analysis_scripts
, /ChIPseq/
, and /ATACseq/analysis_scrpits
.
A vast majority of analyses and figures presented in this study were produced with processed WGBS data in CGmap file format that can be downloaded from GEO. These CGmap files can be used to create BSseq objects for data analysis in R.
For each sample, we generated two BSseq objects: One for CpG methylation, and another for CpA methylation using the scripts wgbs/analysis_scripts/make_BSseq_CG_context_obj.R
wgbs/analysis_scripts/make_BSseq_CA_context_obj.R
.
Downloading the CGmap files for WGBS data and processing with these scripts should generate .Rds
files containing BSseq objects with the same naming convention in the sample metadata file wgbs/metadata/wgbs_metadata_local.csv
.
This metadata file has the information required to reproduce the analyses detailed in the R markdown files in this repository.
All additional files for running the analyses in these Rmarkdown documents will be availble if you clone this repository.