Neural stem cell epigenomes and fate bias are temporally coordinated during mouse cortical development.
The 17 matches
- [1] § Materials and methods › Kinetics of branch-specific CREs across neuronal trajectories ↔ scripts/pl/figures/Fig2.r, lines 34–94 · score 0.89 · iCPN_late, CPN_L2, iCPN_early, cpn l5, ipc cycs, gene module
- [2] § Materials and methods › Kinetics of branch-specific CREs across neuronal trajectories ↔ scripts/pl/figures/FigS2.r, lines 1–89 · score 0.89 · iCPN_late, CPN_L2, iCPN_early, cpn l5, ipc cycs, gene module
- [3] § Materials and methods › Metacell analysis and filtering ↔ scripts/pl/figures/FigS1.r, lines 63–107 · score 0.85 · C1qb, Aif1, Dlx2, Gad2, Gsx2, Hexb
- [4] § Materials and methods › NSC gene module analysis ↔ scripts/pl/figures/Fig2.r, lines 34–94 · score 0.74 · Top2a, IPC_cyc, gene module, Mcm4, Mki67, Pcna
- [5] § Materials and methods › NSC gene module analysis ↔ scripts/pl/figures/FigS2.r, lines 1–89 · score 0.74 · Top2a, IPC_cyc, gene module, Mcm4, Mki67, Pcna
- [6] § Materials and methods › Preparation of training data for accessibility prediction model ↔ scripts/pl/figures/FigS6.r, lines 103–179 · score 0.71 · IPC NSC ATAC, ATAC UMIs, SHAP, XGBoost, R2, prediction
- [7] § Results › Modeling IPC chromatin accessibility using TF affinities and epigenomics ↔ scripts/pl/figures/FigS6.r, lines 103–179 · score 0.70 · NSC ATAC, NSC methylation, SHAP, IPC NSC, S6C, R2
- [8] § Materials and methods › Selection of neuron branch-specific CREs ↔ scripts/pl/figures/Fig4.r, lines 1–75 · score 0.69 · CthPN, CPN_L2, cpn l5, CfuPN, SCPN, CREs
- [9] § Materials and methods › Selection of neuron branch-specific CREs ↔ scripts/pl/figures/FigS4.r, lines 1–51 · score 0.69 · CthPN, CPN_L2, cpn l5, CfuPN, SCPN, CREs
- [10] § Materials and methods › Identification of cell type-specific CREs for methylation analysis ↔ scripts/pl/figures/Fig4.r, lines 1–75 · score 0.62 · CthPN, CPN_L2, cpn l5, SCPN, methylation, IPCs
- [11] § Materials and methods › Identification of cell type-specific CREs for methylation analysis ↔ scripts/pl/figures/FigS4.r, lines 1–51 · score 0.62 · CthPN, CPN_L2, cpn l5, SCPN, methylation, IPCs
- [12] § Results › Modeling IPC chromatin accessibility using TF affinities and epigenomics ↔ scripts/pl/figures/Fig6.r, lines 47–127 · score 0.60 · box energy, SHAP, high affinities, bars, neighboring, methylation
- [13] § Materials and methods › Stratification of CREs by E-box affinity, number of proximal elements with high E-box/T-box, and methylation ↔ scripts/pl/figures/FigS6.r, lines 43–99 · score 0.60 · T_box_1, E_box_1, quantile, ATAC, CREs, methylation
- [14] § Materials and methods › Stratification of CREs by E-box affinity, number of proximal elements with high E-box/T-box, and methylation ↔ scripts/pl/figures/Fig6.r, lines 47–127 · score 0.57 · IPC ATAC, high affinity, box, neighboring, proximal, CREs
- [15] § Materials and methods › Metacell UMAP and noise cleanup ↔ scripts/pl/figures/FigS2.r, lines 91–149 · score 0.54 · NSC Gene Module, cell cycle, S2, RNA, cluster, metacell
- [16] § Materials and methods › Single-cell cell cycle analysis ↔ scripts/pl/figures/FigS2.r, lines 91–149 · score 0.52 · NSC gene modules, cell cycle, stem, matrix, IPC
- [17] § Materials and methods › TSS enrichment score ↔ scripts/pl/figures/FigS3.r, lines 1–75 · score 0.51 · TSS enrichment score, RNA, metacell
Paper
Loaded from Europe PMC by your browser, not stored by OSCR: doi.org · Europe PMC
The paper is loaded when this pane is shown.
The authors' code
R · 331 lines · 16 KB · MIT · 4 matches
- library(metacell)
- # devtools::load_all('~/src/metacell.flow')
- library(metacell.flow)
- suppressPackageStartupMessages(library(ComplexHeatmap))
- library(matrixStats)
- # wd <- '/net//mraid20//export/tgdata/users/yonshap/proj/mmcortex/'
- wd <- '.'
- # setwd(wd)
- db_path <- file.path(wd, 'scdb')
- scdb_init(db_path, force_reinit = T)
- scdb_flow_init()
- SEED <- 1337
- K <- 16
- set.seed(SEED)
- scfigs_init("figs/")
- doMC::registerDoMC(60)
- nm <- 'pl_cort'
- source(file.path(wd,'scripts/util.r'))
- mc <- scdb_mc(nm)
- mat <- scdb_mat(nm)
- mcmd <- readr::read_tsv(file.path(wd, 'output/metacell_model/mcmd_pl_cort.tsv'))
- col_key <- tibble::deframe(unique(mcmd[,c('cell_type', 'color')]))
- color_key <- unique(mcmd[,c('cell_type', 'color')])
- cust_st_ord <- c('OPCs', 'Astrocytes', 'NSC', 'IPC','iCPN/CfuPN', 'iCPN_early','iCPN_late',
- 'CPN_L2-3','CPN_L5_6','iCfuPN','SCPN','CthPN')
- cust_mc_ord_st <- unlist(lapply(cust_st_ord, function(s) setNames(which(mcmd$cell_type == s)[order(mcmd$mean_day[which(mcmd$cell_type == s)])],
- rep(s, length(which(mcmd$cell_type == s)))
- )))
- cust_st_ord2 <- c('OPCs', 'Astrocytes', 'NSC', 'IPC_cyc', 'IPC', 'iCPN_early','iCPN_late',
- 'CPN_L2-3','CPN_L5_6','iCPN/CfuPN','iCfuPN','SCPN','CthPN')
- cust_mc_ord_st2 <- unlist(lapply(cust_st_ord2, function(s) setNames(which(mcmd$cell_type == s)[order(mcmd$mean_day[which(mcmd$cell_type == s)])],
- rep(s, length(which(mcmd$cell_type == s)))
- )
- )
- )
- goi <- c('Pou3f1', 'Pou3f2', 'Cux1', 'Cux2', 'Neurod1', 'Neurog2', 'Id4',
- 'Eomes', 'Hes1', 'Apoe', 'Sox5', 'Tbr1', 'Foxp2', 'Foxp1', 'Nfia', 'Islr2',
- 'Zbtb20', 'Bcl11b', 'Fezf2', 'Satb2', 'Mef2c', 'Nhlh1', 'Tle4',
- 'Rnd2', 'Runx1t1', 'Mapt', 'Mki67', 'Pcna',
- 'Fabp7', 'Olig1', 'Ldb2', 'Gadd45g', 'Syt4')
- marks_filt <- goi
- m_genes <- c("Mki67","Cenpf","Top2a","Smc4","Ube2c","Ccnb1","Cdk1","Arl6ip1","Ankrd11","Hmmr",
- "Cenpa","Tpx2","Aurka","Kif4", "Kif2c","Bub1b","Ccna2", "Kif23","Kif20a","Sgo2a",
- "Sgo2b","Smc2", "Kif11", "Cdca2","Incenp","Cenpe")
- s_genes <- c("Pcna", "Rrm2", "Mcm5", "Mcm6", "Mcm4", "Ung", "Mcm7", "Mcm2","Uhrf1", "Orc6", "Tipin")
- cc_genes <- union(m_genes, s_genes)
- col_annot <- mcmd[,c('metacell', 'cell_type', 'mean_day')]
- col_annot <- tibble::column_to_rownames(col_annot, 'metacell')
- clrmp <- colorRampPalette(c('red', 'orange', 'yellow', 'green', 'blue1', 'blue4', 'purple3'))(1000)
- clrmp_abs <- colorRampPalette(c('white', 'orange', 'red', 'purple', 'black'))(1000)
- brks_abs <- seq(-16.6,-10, l=1000)
- clrmp_rel <- colorRampPalette(c('blue3', 'white','red3'))(1000)
- brks_rel <- seq(-3,3, l=1000)
- ann_colors <- list('cell_type' = tibble::deframe(unique(mcmd[,c('cell_type', 'color')])),
- 'mean_day' = setNames(colorRampPalette(c('red', 'orange', 'yellow', 'green', 'blue', 'purple'))(100),
- seq(13,18,l=100)))
- legc <- log2(1e-05 + mc@e_gc)
- dir.create('./output/paper_figs/FigS2/')
- device <- 'pdf'
- fig_s2a_path <- glue::glue('./output/paper_figs/FigS2/FigS2A.{device}')
- fig_s2b_path <- glue::glue('./output/paper_figs/FigS2/FigS2B.{device}')
- fig_s2c_path <- glue::glue('./output/paper_figs/FigS2/FigS2C.{device}')
- fig_s2d_path <- glue::glue('./output/paper_figs/FigS2/FigS2D.{device}')
- fig_s2e_path <- glue::glue('./output/paper_figs/FigS2/FigS2E.{device}')
- fig_s2f_path <- glue::glue('./output/paper_figs/FigS2/FigS2F.{device}')
- fig_s2g_path <- glue::glue('./output/paper_figs/FigS2/FigS2G.{device}')
- fig_s2h_path <- glue::glue('./output/paper_figs/FigS2/FigS2H.{device}')
- fig_s2i_path <- glue::glue('./output/paper_figs/FigS2/FigS2I.{device}')
- fig_s2j_path <- glue::glue('./output/paper_figs/FigS2/FigS2J.{device}')
- astro_module <- readLines('./output/metacell_model/nsc_gene_modules/astro_module.txt')
- ipc_module <- readLines('./output/metacell_model/nsc_gene_modules/ipc_module.txt')
- stem_module <- readLines('./output/metacell_model/nsc_gene_modules/stem_module.txt')
- load('./output/metacell_model/nsc_gene_modules/figs2_data.rda')
- load('./output/metacell_model/nsc_gene_modules/phase_info.rda')
- ## Fig S2A
- st_legc <- as.data.frame(t(tgstat::tgs_matrix_tapply(legc, mcmd$cell_type, mean)))
- cluster_names <- setNames(c('Cell cycle 1',
- 'Temp. decreasing 1',
- 'Cell cycle 2',
- 'Temp. increasing 1',
- 'Temp. increasing 2',
- 'Cell cycle 3',
- 'Cell cycle 4',
- 'Temp. decreasing 2'), sort(unique(ct_hc_cor_nsc)))
- ## Gene module table for MCV and supp table 1
- all_genes_in_modules <- multunion(names(ct_hc_cor_nsc), astro_module, ipc_module, stem_module)
- gene_module_table <- tibble::enframe(ct_hc_cor_nsc, name = 'gene', value = 'nsc_gene_module')
- gene_module_table$nsc_gene_module_name <- cluster_names[gene_module_table$nsc_gene_module]
- gene_module_table[,c('IPC', 'astro', 'stem')] <- cbind(ifelse(gene_module_table$gene %in% ipc_module, TRUE, FALSE),
- ifelse(gene_module_table$gene %in% astro_module, TRUE, FALSE),
- ifelse(gene_module_table$gene %in% stem_module, TRUE, FALSE))
- gene_module_table[,colnames(legc_by_day_n)] <- legc_by_day_n[gene_module_table$gene,]
- gene_module_table <- gene_module_table %>% dplyr::arrange(nsc_gene_module_name, gene)
- readr::write_tsv(gene_module_table, './output/metacell_model/nsc_gene_modules/supp_table_1_nsc_gene_modules.tsv')
- pdf(fig_s2a_path, h = 500/71, w = 1000/71)
- EXPAND_FACTOR <- 3
- RATIO <- 1.3
- layout_mat = matrix(c(rep(1:4, EXPAND_FACTOR), rep(5:8, round(EXPAND_FACTOR*RATIO))),
- nrow = EXPAND_FACTOR + round(EXPAND_FACTOR*RATIO),
- ncol = 4,
- byrow = T)
- layout(layout_mat)
- mari <- c(9,6,3,0.5)
- par(las = 2, cex.main = 2, cex.lab = 2, cex.axis = 1.52, mar = mari)
- vvv <- lapply(sort(cluster_names), function(cnj) {
- clj <- as.numeric(names(cluster_names)[cluster_names == cnj])
- gnj <- names(ct_hc_cor_nsc)[ct_hc_cor_nsc == clj]
- if (grepl('cell', cnj, ign = T)) {
- xaxti <- 'n'
- mari[[1]] <- 0.5
- } else {
- xaxti <- 's'
- mari[[1]] <- 10
- }
- par(mar = mari)
- boxplot(st_legc[gnj,cust_st_ord2], col = col_key[cust_st_ord2],
- main = cluster_names[[clj]],
- ylab = '',
- xaxt = xaxti,
- ylim = quantile(unlist(st_legc[gnj,cust_st_ord2]), c(0.1,0.96)))
- title(ylab = 'Mean RNA', line = 4)
- })
- dev.off()
- cluster_names <- setNames(gsub(' ', '\n', cluster_names), names(cluster_names))
- ## Fig S2B
- ct_hc_cor_nsc_h <- setNames(cluster_names[ct_hc_cor_nsc], names(ct_hc_cor_nsc))
- ca <- columnAnnotation(df = tibble::column_to_rownames(tibble::enframe(ct_hc_cor_nsc_h[hc_cor_nsc$order], name = 'gene', value = 'cluster'), 'gene'),
- show_legend = c('cluster' = F),
- col = list(cluster = setNames(chameleon::distinct_colors(8)$name, cluster_names[1:8])))
- ra <- rowAnnotation(df = tibble::column_to_rownames(tibble::enframe(ct_hc_cor_nsc_h[hc_cor_nsc$order], name = 'gene', value = 'cluster'), 'gene'),
- show_legend = c('cluster' = F),
- col = list(cluster = setNames(chameleon::distinct_colors(8)$name, cluster_names[1:8])))
- ac <- list(cluster = setNames(chameleon::distinct_colors(8)$name, 1:8))
- ch_cor_dyn_genes_nsc <- ComplexHeatmap::Heatmap(cor_nsc_legc_dyn_genes[hc_cor_nsc$order,hc_cor_nsc$order], name = ' ',
- column_split = ct_hc_cor_nsc_h[hc_cor_nsc$order],
- row_split = ct_hc_cor_nsc_h[hc_cor_nsc$order],
- top_annotation = ca, left_annotation = ra,
- show_row_names = F, show_column_names = F,
- col = circlize::colorRamp2(colors = c('blue3', 'white', 'red3'), breaks = c(-1,0,1)),
- cluster_columns = F, cluster_rows = F)
- pdf(fig_s2b_path, h = 10, w = 10)
- draw(ch_cor_dyn_genes_nsc)
- dev.off()
- ## Fig S2C
- tbl_pba_by_ct <- t(table(sc_data_df$cell_type, sc_data_df$pba))
- tbl_pba_by_ct_norm <- t(t(tbl_pba_by_ct)/colSums(tbl_pba_by_ct))
- rownames(tbl_pba_by_ct_norm) <- gsub('\\d_', '', rownames(tbl_pba_by_ct_norm))
- p_pba_by_ct <- pheatmap::pheatmap(tbl_pba_by_ct_norm[,cust_st_ord], cluster_cols = F,
- annotation_legend = F, col = clrmp_abs, fontsize = 12,
- treeheight_row = 0, treeheight_col = 0)
- save_pheatmap_pdf(p_pba_by_ct, fig_s2c_path, h = 500/71, w = 800/71)
- ## Fig S2D
- nsc_sc <- intersect(names(mc@mc[mc@mc %in% which(mcmd$cell_type == 'NSC')]), colnames(mat_ds))
- nsc_sc_by_day <- lapply(tail(sort(unique(mat@cell_metadata$day)),-1), function(di) intersect(nsc_sc, rownames(mat@cell_metadata)[mat@cell_metadata$day == di]))
- names(nsc_sc_by_day) <- tail(sort(unique(mat@cell_metadata$day)),-1)
- nsc_sc_by_day_vec <- setNames(unlist(sapply(names(nsc_sc_by_day), function(x) rep(x, length(nsc_sc_by_day[[x]])))), do.call('c', nsc_sc_by_day))
- pdf(fig_s2d_path, h = 7, w = 28)
- par(mfrow = c(1,4), mar = c(6,7,4,1), cex.lab = 3, cex.axis = 3, cex.main = 5)
- NUM_PARTITION <- 13
- phase_qs <- seq(1-1e-2,max(phase),l=NUM_PARTITION)
- bin_borders <- setNames(phase_qs[c(1,2,4,5,8,10,12, 13)], c('G1', 'G1_0', 'G1', 'S', 'G2', 'M', 'G1'))
- heights_text <- c(1.5, 2.2, 2.2, 4.2)
- ttt <- sapply(1:nrow(mat_ds_cc_genes_select_ord_phase), function(i) {
- plot(sort(phase[nsc_sc]), mat_ds_cc_genes_select_ord_phase[i,],
- col = 'white',
- cex = 1, pch = 16, ylim = quantile(mat_ds_cc_genes_select_ord_phase[i,], c(0.05, 0.95)),
- xlab = '', ylab = ''
- )
- vvv <- sapply(head(seq_along(bin_borders), -1), function(j) {
- bj <- bin_borders[[j]]
- lines(rep(bj, 2), c(-1,10), lty = 2, lwd = 2)
- nmj <- names(bin_borders)[[j]]
- })
- lines(sort(phase[nsc_sc]), mat_ds_cc_genes_select_ord_phase_rm[i,], col = 'black', lwd = 3)
- if (i == 1) {legend('topleft', legend = glue::glue('Rollmean k = {K}'), lwd = 3, col = 'black', cex = 2, bg = 'white')}
- title(main = rownames(mat_ds_cc_genes_select_ord_phase)[[i]])
- title(xlab = 'phase', line = 4)
- title(ylab = 'Downsampled UMIs', line = 4)
- })
- dev.off()
- ## Fig S2E
- s_genes_sum <- Matrix::colSums(mat_ds[s_genes,])
- m_genes_sum <- Matrix::colSums(mat_ds[m_genes,])
- pdf(fig_s2e_path, h = 500/71, w = 1500/71)
- par(mfrow = c(1,3), cex.main = 2, cex.axis = 2, cex.lab = 2, mar = c(6,6,5,1), las = 2)
- boxplot(s_genes_sum[names(nsc_sc_by_day_vec)]/length(s_genes) ~ phase_cut[names(nsc_sc_by_day_vec)],
- main = 'UMIs per S gene per single NSC per bin\nn_{S genes} = 11', ylab = '', xlab = '')
- title(ylab = 'UMIs per gene', line = 4)
- boxplot(m_genes_sum[names(nsc_sc_by_day_vec)]/length(m_genes) ~ phase_cut[names(nsc_sc_by_day_vec)],
- main = 'UMIs per M gene per single NSC per bin\nn_{M genes} = 26', ylab = 'UMIs per gene', xlab = '')
- boxplot(s_genes_sum[names(nsc_sc_by_day_vec)]/length(s_genes) + m_genes_sum[names(nsc_sc_by_day_vec)]/length(m_genes) ~ phase_cut[names(nsc_sc_by_day_vec)],
- main = 'UMIs per S+M gene per cell per bin', ylab = 'UMIs per gene', xlab = '')
- dev.off()
- ## Fig S2F
- days <- unique(mat@cell_metadata[nsc_sc,'day'])
- nsc_inds <- which(sc_data_df$cell_type == 'NSC')
- lupc <- length(unique(phase_cut))
- bin_seq <- seq(lupc+0.5, 0.5+length(days)*lupc, 12)
- pdf(fig_s2f_path, h = 1050/71, w = 1600/71)
- par(mfrow = c(3,1), las = 2, cex.lab = 3, cex.axis = 1.5, mar = c(6,6,0.5,0.5))
- boxplot(ipc ~ ., data = sc_data_df[nsc_inds,c('ipc','phase_cut', 'day')], ylim = c(0,quantile(sc_data_df$ipc[nsc_inds], 0.94, na.rm = T)),
- col = rep(rainbow(lupc), length(days)), ylab = 'IPC module ds UMIs', xlab = '')
- vvv <- sapply(bin_seq, function(i) lines(rep(i,2), c(0,1000), lwd = 3))
- boxplot(astro ~ ., data = sc_data_df[nsc_inds,c('astro','phase_cut', 'day')], ylim = c(0,quantile(sc_data_df$astro[nsc_inds], 0.975, na.rm = T)),
- col = rep(rainbow(lupc), length(days)), ylab = 'Astro module ds UMIs', xlab = '')
- vvv <- sapply(bin_seq, function(i) lines(rep(i,2), c(0,1000), lwd = 3))
- boxplot(stem ~ ., data = sc_data_df[nsc_inds,c('stem','phase_cut', 'day')], ylim = c(0,quantile(sc_data_df$stem[nsc_inds], 0.95, na.rm = T)),
- col = rep(rainbow(lupc), length(days)), ylab = 'Stem module ds UMIs', xlab = '')
- vvv <- sapply(bin_seq, function(i) lines(rep(i,2), c(0,1000), lwd = 3))
- dev.off()
- ## Fig S2G
- nsc_late <- as.character(mcmd$metacell[mcmd$cell_type == 'NSC' & mcmd$mean_day > 16.5])
- nsc_early <- as.character(mcmd$metacell[mcmd$cell_type == 'NSC' & mcmd$mean_day < 14.5])
- nsc_late_rna <- rowMeans(legc[,as.numeric(nsc_late)])
- nsc_early_rna <- rowMeans(legc[,as.numeric(nsc_early)])
- astro_rna <- rowMeans(legc[,mcmd$metacell[mcmd$cell_type == 'Astrocytes']])
- pdf(fig_s2g_path, h = 500/71, w = 1000/71)
- par(mfrow = c(1,2), cex.lab = 1.52, cex.main = 1.5)
- plot(nsc_late_rna, astro_rna, pch = 16, cex = .15, xlab = 'NSC (mean day > 16.5) RNA', ylab = 'Astrocytes RNA', main = 'Astro vs late NSC - RNA')
- abline(a =-2,b = 1,col='red', lty= 2, lwd= 1)
- abline(a =+2,b = 1,col='red', lty= 2, lwd= 1)
- abline(a =-1,b = 1,col='green', lty= 2, lwd= 1)
- abline(a =+1,b = 1,col='green', lty= 2, lwd= 1)
- abline(a =+0,b = 1,col='blue', lty= 2, lwd= 1)
- legend('bottomright', legend = c('0 LFC', '1 LFC','2 LFC'), col = c('blue', 'green', 'red'), lty = 2, lwd =1)
- corh <- cor(nsc_late_rna, astro_rna, method = 'pearson')
- text(-13.5,-6, labels = paste0('R^2 = ', signif(corh**2, 2)), cex = 1.5)
- plot(nsc_late_rna, nsc_early_rna, pch = 16, cex = .15, xlab = 'NSC (mean day > 16.5) RNA', ylab = 'NSC (mean day < 14.5) RNA', main = 'Early vs late NSC - RNA')
- abline(a =-2,b = 1,col='red', lty= 2, lwd= 1)
- abline(a =+2,b = 1,col='red', lty= 2, lwd= 1)
- abline(a =-1,b = 1,col='green', lty= 2, lwd= 1)
- abline(a =+1,b = 1,col='green', lty= 2, lwd= 1)
- abline(a =+0,b = 1,col='blue', lty= 2, lwd= 1)
- legend('bottomright', legend = c('0 LFC', '1 LFC','2 LFC'), col = c('blue', 'green', 'red'), lty = 2, lwd =1)
- corh <- cor(nsc_late_rna, nsc_early_rna, method = 'pearson')
- text(-13.5,-9, labels = paste0('R^2 = ', signif(corh**2, 2)), cex = 1.5)
- dev.off()
- ## Fig S2H
- ### Plot IPC vs stem and astro vs stem signatures
- pdf(fig_s2h_path, w = 400/71, h = 400/71)
- par(mfrow = c(1,1), mar = c(5,5,1,1), cex.lab = 1, cex.axis = 1)
- plot(sc_data_df[names(matched_coords_bins_astro),'astro'], sc_data_df[names(matched_coords_bins_astro),'stem'], col = mcmd$color[mc@mc[names(matched_coords_bins_astro)]], ylab = 'Stem module UMIs', xlab = 'Astro module UMIs', pch =16, cex = 0.5)
- dev.off()
- ## Fig S2I
- astro_mcs <- which(mcmd$cell_type == 'Astrocytes')
- oligo_mcs <- which(mcmd$cell_type == 'OPCs')
- cpnl23_mcs <- which(mcmd$cell_type == 'CPN_L2-3')
- gh <- names(ct_hc_cor_nsc[ct_hc_cor_nsc == 4])
- pltmt <- cbind(legc_by_day_n[gh,], rowMeans(legc[gh,astro_mcs]),
- rowMeans(legc[gh,oligo_mcs]), rowMeans(legc[gh,cpnl23_mcs]))
- colnames(pltmt)[(ncol(pltmt)-2):ncol(pltmt)] <- c('Astrocytes', 'OPCs', 'CPN_L2-3')
- genes_hi <- rownames(pltmt)[which(rowMaxs(subset(pltmt, select = -c(Astrocytes, OPCs, `CPN_L2-3`))) > pltmt[,'Astrocytes'])]
- genes_norm <- setdiff(rownames(pltmt), genes_hi)
- pltmt2 <- rbind(pltmt[genes_hi[hclust(dist(pltmt[genes_hi,] - pltmt[genes_hi,'Astrocytes']), method = 'ward.D2')$order],],
- pltmt[genes_norm[hclust(dist(pltmt[genes_norm,] - pltmt[genes_norm,'Astrocytes']), method = 'ward.D2')$order],])
- p_nsc_cl4 <- pheatmap::pheatmap(pltmt2 - pltmt2[,'Astrocytes'],
- gaps_row = length(genes_hi),
- cluster_rows = F,
- cluster_cols = F,
- col = clrmp_rel, breaks = seq(-2,2,l=1000),
- clustering_method = 'ward.D2', treeheight_row = 0, fontsize_row = 4)
- save_pheatmap_pdf(p_nsc_cl4, fig_s2i_path, h= 1200/71, w = 300/71)
FigS2.r at commit 2f1658c, under MIT · at the source
Overview
- Department of Molecular Cell Biology, Weizmann Institute of Science, Rehovot 7610001, Israel
- Department of Computer Science and Applied Mathematics, Weizmann Institute of Science, Rehovot 7610001, Israel
- Research Unit Brain Epigenomics, Helmholtz Center Munich, Munich 81377, Germany
Abstract
During cortical development, neural stem cells (NSCs) combine self-renewal with the sequential production of different subtypes of projection neurons as well as glia cells. How the NSC epigenome accommodates this over time remains unresolved. Here, we address this gap by multimodal epigenomic profiling of mouse cortical development across six time points and five embryonic days. Single-cell gene expression and temporal modeling reveal that NSC self-renewal is not homeostatic, showing progressively stronger astrocytic preference over time. Chromosome accessibility, DNA methylation, and Hi-C show that this process involves major reorganization of the NSC epigenome. A model combining transcription factor motif affinities with epigenetic features, as well as integration of the results with a reporter assay in vivo, show that activation of the NSC neuronal fate regulatory program may be affected by a changing epigenome. Collectively, our findings uncover temporal epigenomic reprogramming that underlies the evolving differentiation potential of NSCs, providing insights into the intrinsic and extrinsic mechanisms that pattern cortical lineages.
Reproduced under the paper's license (CC BY-NC), from the paper cited above.
Repositories
Its files are read in the Code ↔ Paper reader above, with 17 matches between paragraphs and lines of code.
tanaylab/mmcortex
2f1658c07b65b2821e2be73a76938c5a6a360dca, 6 April 2025Availability: 1 check, the latest on 27 September 2026: the link answers
- 27 September 2026: the link answers
19 files
- scripts/
download_data.r , R, 17 lines - scripts/
install_requirements.r , R, 36 lines - scripts/
pl/ , R, 216 linesfigures/ Fig1.r - scripts/
pl/ , R, 270 lines, 2 matchesfigures/ Fig2.r - scripts/
pl/ , R, 352 linesfigures/ Fig3.r - scripts/
pl/ , R, 212 lines, 2 matchesfigures/ Fig4.r - scripts/
pl/ , R, 254 linesfigures/ Fig5.r - scripts/
pl/ , R, 127 lines, 2 matchesfigures/ Fig6.r - scripts/
pl/ , R, 166 linesfigures/ Fig7.r - scripts/
pl/ , R, 161 lines, 1 matchfigures/ FigS1.r - scripts/
pl/ , R, 331 lines, 4 matchesfigures/ FigS2.r - scripts/
pl/ , R, 109 lines, 1 matchfigures/ FigS3.r - scripts/
pl/ , R, 163 lines, 2 matchesfigures/ FigS4.r - scripts/
pl/ , R, 59 linesfigures/ FigS5.r - scripts/
pl/ , R, 179 lines, 3 matchesfigures/ FigS6.r - scripts/
pl/ , Shell, 23 linespl_figures.sh - scripts/
util.r , R, 1,019 lines - LICENSE, License, 21 lines
- README.md, Text, 20 lines
aidenlab/JuiceMe
597b364296547a396a91e2576cdd4d971f6554cf, 8 July 2021Availability: 1 check, the latest on 27 September 2026: the link answers
- 27 September 2026: the link answers
36 files
- Analysis/
make_a.py , Python, 31 lines - Analysis/
make_cometh_oe.py , Python, 38 lines - Analysis/
make_methylation_hic_fil , Shell, 26 linese.sh - Analysis/
make_oe.py , Python, 145 lines - Analysis/
make_oe.sh , Shell, 34 lines - CPU/
check.sh , Shell, 78 lines - CPU/
cleanup.sh , Shell, 51 lines - CPU/
countligations.sh , Shell, 37 lines - CPU/
fragment.pl , Perl, 112 lines - CPU/
juiceme.sh , Shell, 635 lines - CPU/
juicer_arrowhead.sh , Shell, 71 lines - CPU/
juicer_hiccups.sh , Shell, 96 lines - CPU/
juicer_postprocessing.sh , Shell, 104 lines - CPU/
relaunch_prep.sh , Shell, 55 lines - CPU/
statistics.pl , Perl, 505 lines - SLURM/
check.sh , Shell, 66 lines - SLURM/
cleanup.sh , Shell, 39 lines - SLURM/
conversion.sh , Shell, 7 lines - SLURM/
countligations.sh , Shell, 60 lines - SLURM/
juiceme.sh , Shell, 1,582 lines - SLURM/
juicer_arrowhead.sh , Shell, 87 lines - SLURM/
juicer_hiccups.sh , Shell, 114 lines - SLURM/
juicer_postprocessing.sh , Shell, 121 lines - SLURM/
relaunch_prep.sh , Shell, 50 lines - UGER/
check.sh , Shell, 78 lines - UGER/
cleanup.sh , Shell, 51 lines - UGER/
countligations.sh , Shell, 39 lines - UGER/
fragment.pl , Perl, 112 lines - UGER/
juiceme.sh , Shell, 992 lines - UGER/
juicer_arrowhead.sh , Shell, 71 lines - UGER/
juicer_hiccups.sh , Shell, 96 lines - UGER/
juicer_postprocessing.sh , Shell, 104 lines - UGER/
relaunch_prep.sh , Shell, 50 lines - UGER/
statistics.pl , Perl, 511 lines - LICENSE, License, 21 lines
- README.md, Text, 27 lines
tanaylab/shaman
5be5ce2f514c38f53cbda2497b73bca9bf3bd126, 23 March 2022Availability: 1 check, the latest on 27 September 2026: the link answers
- 27 September 2026: the link answers
29 files
- R/
RcppExports.R , R, 7 lines - R/
data.R , R, 11 lines - R/
params.R , R, 61 lines - R/
shaman-package.r , R, 8 lines - R/
shaman.R , R, 1,031 lines - R/
shaman_conf.R , R, 65 lines - R/
shaman_feature_grid.R , R, 250 lines - R/
shaman_plot_map.R , R, 381 lines - R/
zzz.R , R, 15 lines - README.Rmd, R, 65 lines
- inst/
doc/ , R, 31 linesshaman-package.R - inst/
doc/ , R, 108 linesshaman-package.Rmd - inst/
perl/ , Perl, 59 lineshic_merge_ks.pl - src/
ContactShuffler.cpp , C++, 472 lines - src/
ContactShuffler.h , C/C++, 84 lines - src/
GenomeGridLog.cpp , C++, 49 lines - src/
GenomeGridLog.h , C/C++, 32 lines - src/
MathUtils.h , C/C++, 111 lines - src/
Parser.cpp , C++, 86 lines - src/
Parser.h , C/C++, 23 lines - src/
Random.cpp , C++, 115 lines - src/
Random.h , C/C++, 54 lines - src/
RcppExports.cpp , C++, 50 lines - src/
VectorUtils.h , C/C++, 111 lines - src/
hic_matrix_shuffler.cpp , C++, 89 lines - src/
macro.h , C/C++, 31 lines - vignettes/
import.Rmd , R, 95 lines - vignettes/
shaman-package.Rmd , R, 93 lines - README.md, Text, 56 lines
Code availability
The code used for generating the analysis and all of the figures is available at https://
Reproduced under the paper's license (CC BY-NC), from the paper cited above.
Tracing map
Proposed by the machine: these links were found in the paper and verified at the source, without human review. The map will receive a Zenodo DOI once one of the paper's authors has validated it with their ORCID.
What the map holds:
- 3 repositories of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
- 79 scripts, each with its path and the digest of its content;
- 17 matches between paragraphs of the paper and lines of the code (method lexical-v1);
- neither the text of the paper nor the code itself.
Its JSON (tracing-map.json) is deposited on Zenodo with its DOI once the map is validated.
Data
Datasets cited
- geo:GSE155677, at NCBI GEO; found in “Data availability”
Data availability
The sequencing data generated in this study can be accessed at the GEO database with the accession numbers GSE292318, GSE292319, GSE292320, and GSE292321. The E14 data (scRNA, scATAC, and methyl-Hi-C) are available from GEO with accession number GSE155677 (https://
Reproduced under the paper's license (CC BY-NC), from the paper cited above.
Versions
The history of this record: each version stored by the harvester or made by a correction of its authors or of the maintainers of its code, and what changed in its facts. The texts of the paper (its abstract, its availability statements) are not part of it; versions that changed only those are not listed.
Version 1, 27 September 2026: the first record
Recorded: type, language, journal, volume, issue, pages, dates, 7 authors, 5 keywords, 12 MeSH terms, 3 funders, 64 references.
Cite
This paper
Shapira, Y., Noack, F., Vangelisti, S., Chong, F., Lifshitz, A., Tanay, A., & Bonev, B. (2026). Neural stem cell epigenomes and fate bias are temporally coordinated during mouse cortical development. Genes & development, 40(11-12), 956-977. https://
BibTeX
@article{shapira2026neur
author = {Shapira, Yonatan and Noack, Florian and Vangelisti, Silvia and Chong, Faye and Lifshitz, Aviezer and Tanay, Amos and Bonev, Boyan},
title = {{Neural stem cell epigenomes and fate bias are temporally coordinated during mouse cortical development}},
journal = {Genes \& development},
year = {2026},
month = jun,
volume = {40},
number = {11-12},
pages = {956--977},
publisher = {Cold Spring Harbor Laboratory Press},
issn = {0890-9369},
doi = {10.1101/
url = {https://
pmid = {42020311},
pmcid = {PMC13224856}
}
RIS
TY - JOUR
AU - Shapira, Yonatan
AU - Noack, Florian
AU - Vangelisti, Silvia
AU - Chong, Faye
AU - Lifshitz, Aviezer
AU - Tanay, Amos
AU - Bonev, Boyan
TI - Neural stem cell epigenomes and fate bias are temporally coordinated during mouse cortical development
T2 - Genes & development
J2 - Genes Dev
PY - 2026
DA - 2026/
VL - 40
IS - 11-12
SP - 956
EP - 977
SN - 0890-9369
PB - Cold Spring Harbor Laboratory Press
DO - 10.1101/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1101/
"type": "article-journal",
"title": "Neural stem cell epigenomes and fate bias are temporally coordinated during mouse cortical development",
"container-title": "Genes & development",
"author": [
{
"family": "Shapira",
"given": "Yonatan"
},
{
"family": "Noack",
"given": "Florian"
},
{
"family": "Vangelisti",
"given": "Silvia"
},
{
"family": "Chong",
"given": "Faye"
},
{
"family": "Lifshitz",
"given": "Aviezer"
},
{
"family": "Tanay",
"given": "Amos"
},
{
"family": "Bonev",
"given": "Boyan"
}
],
"container-title-short":
"volume": "40",
"issue": "11-12",
"page": "956-977",
"DOI": "10.1101/
"PMID": "42020311",
"PMCID": "PMC13224856",
"ISSN": "0890-9369",
"publisher": "Cold Spring Harbor Laboratory Press",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
6,
1
]
]
}
}
The tracing map gets a citation of its own once an author has validated it and it has a DOI.
Similar papers
The papers with a page that share the most with this one: the tools found in their code, their categories, datasets, cited references and authors, the rarest counting most.
- [1] doi:10.1038/s44318-026-00806-z [code]
- Interspecific diversity in the neuronal composition of the mammalian cortex arises from heterochrony in neurogenesis.Journal: The EMBO journalIn common: circlize, ComplexHeatmap, pheatmap, 6 other tools, developmental, 9 references
- [2] doi:10.1186/s13059-026-04177-w [code]
- Genomic sequence evolution underlying human neocortical interareal diversification.Journal: Genome biologyIn common: SAMtools, UMAP, circlize, 9 other tools, genetics / omics, mouse, 2 references
- [3] doi:10.1093/bioinformatics/btag592 [code]
- Network-based stratification of allele-specific expression reveals patient subgroups in Huntington's disease.Journal: Bioinformatics (Oxford, England)In common: SAMtools, UMAP, circlize, 11 other tools, genetics / omics
- [4] doi:10.1016/j.xcrm.2026.102766 [code]
- A longitudinal single-cell and spatial multiomic atlas of pediatric high-grade glioma.Journal: Cell reports. MedicineIn common: UMAP, circlize, ComplexHeatmap, 10 other tools, genetics / omics, 1 reference
- [5] doi:10.1038/s41467-026-71790-5 [code]
- Recurrent DNA break clusters drive replication-stress-induc
ed copy number variants and genome diversification. Journal: Nature communicationsIn common: SAMtools, UMAP, circlize, 10 other tools, genetics / omics, mouse - [6] doi:10.1038/s42003-026-10957-8 [code]
- Brain defence by the extracellular matrix protein Cochlin.Journal: Communications biologyIn common: SAMtools, UMAP, circlize, 10 other tools, mouse
- [7] doi:10.1038/s41593-026-02300-5 [code]
- Integrated single-cell and spatial transcriptomic profiling in ALS uncovers peripheral-to-central immune infiltration and reprogramming.Journal: Nature neuroscienceIn common: SAMtools, circlize, ComplexHeatmap, 10 other tools, genetics / omics
- [8] doi:10.1038/s41586-026-10214-2 [code]
- Multidimensional profiling of heterogeneity in supratentorial ependymomas.Journal: NatureIn common: circlize, ComplexHeatmap, pheatmap, 9 other tools, genetics / omics, mouse, 1 reference
- [9] doi:10.1016/j.cpblue.2026.100007 [code]
- An integrated single-cell and spatial proteotranscriptomics atlas of fibroblast-driven immunoregulation within the human adult oral cavity.Journal: Cell press blueIn common: SAMtools, UMAP, circlize, 10 other tools
- [10] doi:10.1038/s41586-026-10512-9 [code]
- Astrocyte glucocorticoid receptor signalling restricts neuronal plasticity.Journal: NatureIn common: SAMtools, circlize, ComplexHeatmap, 9 other tools, mouse, 1 reference
Contribute
The authors of this paper can claim it, correct its record and validate its tracing map, and the maintainers of its code (its owner, or a public member of its organization) correct what it says of their repository; anyone signed in can ask for its removal. Every request goes to OSCR's own machine, which answers it; your account page follows them.
Sign in with ORCID to claim this paper as one of its authors, correct its record or validate its tracing map: when the paper's metadata lists your ORCID iD, you are recognized at once. Maintainers of its code: sign in with GitHub, then claim the repository on your account page.
Claim this paper
Correct its record
Say what each link of this record is, remove the ones that are not the paper's, add the ones that are missing. The correction becomes a new version of the record, in its Versions section.
Validate its tracing map
You validate the map as this page shows it: 3 repositories of the authors' code, each at its verified commit and with its license, 79 scripts, and 17 matches between paragraphs and code (see the Code and Map sections). It then receives a DOI on Zenodo, with you (your ORCID iD) and OSCR as its creators; the code itself is not deposited.
The map's fingerprint: sha256:80cd61d94ca5ff2e…
Add the badge to its README
The badge links the code to this page. Copy one of these into the README of the paper's code: only you decide where it goes, and nothing is changed for you.
Markdown
[, paste the snippet at the top, then “Commit changes…” and, to review it first, “Create a new branch and start a pull request”. You open the pull request; OSCR asks for no permission.
Request its removal
To ask OSCR to remove this record, the copies of its authors' scripts or its tracing map, use the removal request page: signed in, you say who you are, what to remove and why, then review and confirm the request. Published rules decide every request (how).
Discussion, reproductions, activity
Discussion: questions and error reports about this paper and its code, from signed-in readers and its authors. It opens with sign-in.
Reproductions: reports from readers who ran the authors' code: what they reproduced, with which environment, commit and data. It opens with sign-in.
Activity: what happens around this paper: new versions of its record, its map's validation, discussions and reproductions. It opens with sign-in.
