ssc.moduleScore | R Documentation |
Calculate the average expression levels of each program (cluster) on single cell level, subtracted by the aggregated expression of control feature sets. All analyzed features are binned based on averaged expression, and the control features are randomly selected from each bin.
ssc.moduleScore(
obj,
features,
pool = NULL,
nbin = 24,
ctrl = 100,
assay.name = "exprs",
adjB = NULL,
do.scale = T,
seed = 1
)
obj |
object of SingleCellExperiment |
features |
Feature expression programs in named list |
pool |
List of features to check expression levels agains, defaults to |
nbin |
Number of bins of aggregate expression levels for all analyzed features |
ctrl |
Number of control features selected from the same bin per analyzed feature |
assay.name |
Name of assay to use |
adjB |
character; batch column of the colData(obj). (default: NULL) |
do.scale |
logical; scale the data (default: TRUE) |
seed |
Set a random seed |
Returns a SingleCellExperiment object with module scores added to object meta data
Tirosh et al, Science (2016); Seurat's source code
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.