Sir_UnMixALot: Sir_UnMixALot

Description Usage Arguments Value Examples

Description

This function uses Microarray or RNAseq data derived from heterogeneous brain cortical samples to estimate the relative balance of each cell type across samples. To do this, we use a database(CellTypeSpecificGenes_Master3) of genes that have been previously-indicated to have cell type specific expression in either the forebrain or cortex of humans or mice.

Usage

1
Sir_UnMixALot(userInput, dataColumns, geneColumn, species)

Arguments

userInput

A dataframe containing the gene expression data for the samples (RNAseq or microarray data that has already been variance stabilized and received appropriate quality control to remove outlier samples and large-scale technical artifacts), including one column of gene symbols. Defaults to Error.

dataColumns

A vector containing the column numbers for the gene expression data in the dataframe. Defaults to Error.

geneColumn

A single integer indicating the column number for the column that includes the gene symbols. Defaults to Error.

species

A single character string indicating the species from which the data were derived, currently allows the values "mouse", "Mouse", "human", or "Human". Defaults to "mouse".

Value

A list containing two data frames: PublicationSpecific_CellTypeIndex and AveragePrimary_CellTypeIndex. These data frames provide estimates for the relative balance of each cell type across samples. The first data frame provides estimates based on the cell type specific gene lists provided by particular publications ("cell type indices"), the second data frame averages each of the publication-specific cell type indices to create an average cell type index for each primary cell type.

Examples

1
Sir_UnMixALot(userInput=ZhangRNAseqData, dataColumns=c(2:18), geneColumn=1, species="mouse")

hagenaue/BrainInABlender documentation built on May 17, 2019, 2:25 p.m.