Last updated: 2024-09-05

Checks: 1 1

Knit directory: oxygen_eqtl/

This reproducible R Markdown analysis was created with workflowr (version 1.7.0). The Checks tab describes the reproducibility checks that were applied when the results were created. The Past versions tab lists the development history.


The R Markdown is untracked by Git. To know which version of the R Markdown file created these results, you’ll want to first commit it to the Git repo. If you’re still working on the analysis, you can ignore this warning. When you’re finished, you can run wflow_publish to commit the R Markdown file and build the HTML.

Great! You are using Git for version control. Tracking code development and connecting the code version to the results is critical for reproducibility.

Note that you need to be careful to ensure that all relevant files for the analysis have been committed to Git prior to generating the results (you can use wflow_publish or wflow_git_commit). workflowr only checks the R Markdown file, but you know if there are other scripts or data files that it depends on. Below is the status of the Git repository when the results were generated:


Untracked files:
    Untracked:  .DS_Store
    Untracked:  18519_calling.Rmd
    Untracked:  TOM/
    Untracked:  _site.yml
    Untracked:  about.Rmd
    Untracked:  batch_variability.Rmd
    Untracked:  batch_variability.knit.md
    Untracked:  batch_variability.nb.html
    Untracked:  cache/
    Untracked:  cellregmap.Rmd
    Untracked:  celltype.Rmd
    Untracked:  celltype2.Rmd
    Untracked:  celltype2.nb.html
    Untracked:  construct_seurat.Rmd
    Untracked:  construct_seurat2.Rmd
    Untracked:  cormotif_eqtl.Rmd
    Untracked:  de.Rmd
    Untracked:  de2.Rmd
    Untracked:  de2.nb.html
    Untracked:  de_finalized.Rmd
    Untracked:  de_finalized_reharmonized.Rmd
    Untracked:  disease_gene_overlap.Rmd
    Untracked:  disease_gene_overlap_EE.Rmd
    Untracked:  disease_gene_overlap_EE_reharmonized.Rmd
    Untracked:  disease_gene_overlap_EE_reharmonized_fine.Rmd
    Untracked:  disease_gene_overlap_EE_reharmonized_fine_filter10.Rmd
    Untracked:  docs/
    Untracked:  figure1.Rmd
    Untracked:  figure2.Rmd
    Untracked:  figure3.Rmd
    Untracked:  figure4.Rmd
    Untracked:  figures_for_poster.R
    Untracked:  for_yunqi_mash.rmd
    Untracked:  gsea.Rmd
    Untracked:  gsea.nb.html
    Untracked:  gsea_reharmonized.Rmd
    Untracked:  hgwgcna.Rmd
    Untracked:  hgwgcna.nb.html
    Untracked:  hippo_eqtl.Rmd
    Untracked:  index.Rmd
    Untracked:  index_old.Rmd
    Untracked:  license.Rmd
    Untracked:  mash_EE.R
    Untracked:  mash_EE_PC.R
    Untracked:  mash_de.Rmd
    Untracked:  mash_for_peter.r
    Untracked:  matrixEQTL.Rmd
    Untracked:  matrixEQTL.nb.html
    Untracked:  matrixEQTL_reharmonized.Rmd
    Untracked:  ncell_permtesting.R
    Untracked:  plot_eqtl.Rmd
    Untracked:  prep_apex.Rmd
    Untracked:  qtltools.Rmd
    Untracked:  seurat.export.library1.h5Seurat
    Untracked:  shared_functions_style_items.R
    Untracked:  test.rmd
    Untracked:  topics.R
    Untracked:  topics.Rmd
    Untracked:  topics_all.R
    Untracked:  topics_pseudocell.R
    Untracked:  topicsde.R
    Untracked:  voxhunt.Rmd

Note that any generated files, e.g. HTML, png, CSS, etc., are not included in this status report because it is ok for generated content to have uncommitted changes.


There are no past versions. Publish this analysis with wflow_publish() to start tracking its development.


The is a workflowr site outlining analyses performed on a single-cell RNA-seq dataset from human brain organoids under different oxygen stress treatment conditions. The goals of this work were to characterize cell type diversity in brain organoids derived from a panel of iPSC lines, identify differentially expressed genes in different developmental brain cell types in response to acute changes in oxygen, identify expression quantitative trait loci (eQTLs) in different cell types and environmental conditions, and evaluate the disease relevance of these eQTLs in the context of human complex trait genetics.

Details of data collection are provided in the accompanying manuscript. Briefly, dorsal brain organoids were grown from 21 parental cell lines drawn from the YRI iPSC panel. Organoids were assayed in two large batches, one of which included 16 lines and the other of which included 7 (2 lines replicated across batches). In each batch, organoids were adapted to 10% oxygen for 1 week prior to data collection. Then, pools of 5-6 organoids were either kept at 10% oxygen or moved to 1% or 21% incubators for 24 hours prior to dissociation and 10x collection. For additional comparison, organoids from a subset of cell lines were kept at 21% oxygen continuously (control 21% condition) in order to evaluate cell type composition changes induced by 1 week of 10% oxygen exposure. Organoids were dissociated to single cells by papain digestion and processed using the 10x Genomics HT 3’ gene expression kit.

Snakemake rules used to implement the cellranger pipeline and demultiplex samples using vireo are included in the code/ folder of this Github page.

Steps used to import cellranger output and construct a Seurat data object, annotate cells, and assess cell type proportions and abundances can be found here.

Steps used to identify differentially expressed genes from pseudobulk data, classify treatment-responsive cells, and plot cell data from immunostained organoid sections can be found here.

Steps used to map eQTLs using pseudobulk data, fit a topic model, and map topic-interacting eQTLs can be found here.

Steps used to compare eQTLs to results from human GWAS and rare variant studies can be found here.