calculate_module_scores | R Documentation |
Calculate gene module score per cell clusters.
calculate_module_scores(x, ...)
## S3 method for class 'Seurat'
calculate_module_scores(
x,
gene_modules,
group.by = "seurat_clusters",
assay = NULL,
slot = "data",
scale = TRUE,
...
)
x |
object with gene expression levels per cell. |
... |
arguments passed down to methods. |
gene_modules |
data.frame with columns gene and module. |
group.by |
identity to use for grouping cells (default: seurat_clusters). |
assay |
assay to use for Seurat objects. |
slot |
slot to use for Seurat objects. |
scale |
whether to scale the expression data. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.