CalculateModuleScoreAvg | R Documentation |
This function calculates the module scores for each cell in a Seurat object based on the average expression of a given gene list.
CalculateModuleScoreAvg(
SerObj,
genes.list = NULL,
genes.pool = NULL,
n.bin = 25,
ctrl.size = 100,
assay = NULL,
seed.use = 1
)
SerObj |
A Seurat object. |
genes.list |
A character vector specifying the genes to calculate the module scores. |
genes.pool |
A character vector specifying the genes to use for calculating the average expression. |
n.bin |
An integer specifying the number of bins for partitioning the average expression values. |
ctrl.size |
An integer specifying the size of the control group for calculating module scores. |
assay |
The assay name to retrieve the data from. If NULL, the default assay of the Seurat object is used. |
seed.use |
An integer specifying the seed value for random number generation. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.