Data and code associated with the paper
Developmental diversification of cortical inhibitory interneurons
by Christian Mayer#, Christoph Hafemeister#, Rachel C. Bandler#, Robert Machold, Renata Batista Brito, Xavier Jaglin, Kathryn Allaway, Andrew Butler, Gord Fishell* and Rahul Satija*
# Equal contribution
* Corresponding authors
Nature, Advanced Online Publication 05 March 2018, doi:10.1038/nature25999
Free read-only version of the full published article through Springer Nature SharedIt
There are individual scripts for the different parts of the analysis. Run them in this order:
- Rscript R/maturation_trajectory.R
- Rscript R/mitotic_cells.R
- Rscript R/branch_analysis.R CGE
- Rscript R/branch_analysis.R LGE
- Rscript R/branch_analysis.R MGE
- Rscript R/map_10x_E14_to_branches.R
- Rscript R/variance_explained.R
Code related to the integrated analysis linking heterogenity in our data to heterogeneity in adult cells (Figure 4) is provided by Christian Mayer in his repository.
this script performs the following steps:
- read in drop-seq digital expression and normalize using regularized NB regression
- cluster all cells and remove contaminating cell populations
- fit a maturation trajectory through the remaining cells
- identify maturation score cutoff to separate mitotic from post-mitotic cells
- visualize results
- create smooth expression (as function of maturation score) for visualization later on
these files are created in the results directory:
- all_samples_normalized_expression.Rds
- all_samples_maturation_trajectory_meta_data.Rds
- all_samples_maturation_trajectory.pdf
- all_samples_smooth_expression.Rds
running times on an Intel Xeon Processor E5-2697 v3 @ 2.6 to 3.6 GHz (using 6 cores for some of the steps)
- steps 1-5: ca. 75 minutes
- step 6: ca. 95 minutes
this script performs the following steps:
- run differential expression test of CGE vs MGE in early mitotic cells
- identify genes that are associated with maturation in all eminences and all mitotic cells
note that you need to run maturation_trajectory.R first
these files are created in results directory:
- all_samples_differential_expression_early_mitotic_TFs_CGE_vs_MGE.csv
- all_samples_temporal_mitotic_genes.pdf
running times on an Intel Xeon Processor E5-2697 v3 @ 2.6 to 3.6 GHz (using 6 cores for some of the steps)
- ca. 6 minutes
this script performs the following steps:
- load maturation trajectory results and keep only post-mitotic cells from one specific eminence (CGE by default, or first command line argument if present)
- re-normalize data and perform dimensionality reduction
- use bootstrapped minimum spanning trees to create new cell-to-cell distances
- use consensus tree to identify branches
- run differential expression tests between terminal branches to identify marker genes
these files are created in results directory (in the case of CGE):
- all_samples_CGE_branch_analysis.pdf
- all_samples_CGE_branch_analysis_meta_data.Rds
- all_samples_CGE_branch_analysis_top_de_genes.pdf
- all_samples_CGE_branch_analysis_top_marker_genes.csv
- all_samples_CGE_branch_analysis_de_genes.Rds
- all_samples_CGE_branch_analysis_expr_branch_avg.Rds
running times on an Intel Xeon Processor E5-2697 v3 @ 2.6 to 3.6 GHz (using 6 cores for some of the steps)
- CGE: ca. 10 minutes
- LGE: ca. 9 minutes
- MGE: ca. 6 minutes
this script performs the following steps:
- load 10x data and subset to E13.5 Lhx6neg (CGE)
- re-normalize data and run maturation trajectory analysis to isolate post-mitotic cells
- cluster cells and remove Lhx6 positive clusters (contamination)
- also load the 10x E13.5 Lhx6pos (MGE) cells
- map both set of cells to the branches identified in E13.5 dropseq data
Note that we use E13.5 and E14 to refer to these cells, but only the MGE cells are E13.5 and the CGE cells are actually E14.5.
these files are created in results directory:
- CGE_E13.5_Lhx6neg_maturation_trajectory.pdf
- CGE_E13.5_Lhx6neg_postmitotic_clusters_lhx6_detection_rate.pdf
- CGE_E13.5_Lhx6neg_mapped.Rds
- MGE_E13.5_Lhx6pos_mapped.Rds
- CGE_E13.5_Lhx6neg_mapped_single_cell_heatmap.pdf
- MGE_E13.5_Lhx6pos_mapped_single_cell_heatmap.pdf
running times on an Intel Xeon Processor E5-2697 v3 @ 2.6 to 3.6 GHz (using 6 cores for some of the steps)
- ca. 33 minutes
this script performs the following steps:
- load mitotic cells from CGE and MGE dropseq experiments
- quantify variance explained by individual factors
- load E13.5 10x data and subset to postmitotic cells
- quantify variance explained by individual factors
these files are created in results directory:
- variance_explained_dropseq_mitotic_CGE_MGE.pdf
- variance_explained_10x_E13.5_CGE_MGE.pdf
running times on an Intel Xeon Processor E5-2697 v3 @ 2.6 to 3.6 GHz (using 6 cores for some of the steps)
- ca. 40 minutes