This repository...
-
go_prep.R
prepares an expanded GO term library with ancestor GO terms populated for each child term. -
10x_PBMC_addingGOterms.R
loads data into CellRangerR and subsets by a specified GO term. -
10x_PBMC_dataAnalysis_Seurat.R
and10x_PBMC_dataAnalysis_CellRangerR.R
reflect example scripts from tutorials for Seurat and CellRangerR packages, respectively. They are not to be run. -
GO_Search.R
will return a vector of ENSEMBL IDs associated with a GO term. This function is now included in10x_PBMC_addingGOterms.R
.
Download or clone the repsoitory from https://github.com/zrlewis/10x
Install the following dependencies:
CellrangerR
, follow the installation instructions at https://support.10xgenomics.com/single-cell/software/pipelines/latest/rkit . Tested with version 1.1.0.seurat
, run the following in R:devtools::install_url("https://github.com/satijalab/seurat/releases/download/v1.4.0/Seurat_1.4.0.9.tgz", binary = TRUE)
Data were obtained from https://support.10xgenomics.com/single-cell/software/pipelines/latest/rkit
Before running analyses, you will need to generate a local gene ontology map by running go_prep.R
.
Each time you want to execute an analysis:
cd
to the root of the repository, egcd 10x
- Run the code, eg lanch
R
and runsource("10x_PBMC_addingGOterms.R")