View source: R/GlowwormScale.R
GlowwormScale | R Documentation |
GlowwormScale(SeuFile, MetaData, GeneList, PercentCutoff = 0.1)
SeuFile |
Seurat file |
MetaData |
A dataframe with barcodes as row names, and either one column of assignments, or two columns of assignments (First column for granular assignments (i.e. Neuro_1), second column for broad assignments (i.e. Neurons)) |
GeneList |
A vector of genes you wish to analyze |
PercentCutoff |
To remove background signal, clusters which express a candidate gene in less than a percentage of cells will be reduced to zero. Default is 0.1 (10 |
This function takes a Seurat file, extracts data and merges with metadata.
This data is scaled and has background correction
Exports a list containing:
MetaData - A copy of the metadata
GlowwormScaleOutput - A scaled data frame of n genes by n populations in metadata
SumStatsGlobal - A data frame containing Total enrichment score (abundance), SD enrichment score (specificity) and
the rank score.
Output list can be used to generate a Scatter plot via GlowwormOutputScatter, a stacked bar plot via GlowwormOutputStacked,
or can be used as input for GlowwormSubpopulation
Extract data from Seurat file and scale
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.