View source: R/utility_functions.R
aggGroupExpression | R Documentation |
Get summary group expression in Seurat object. Can include mean, median, fraction (of expressing cells), sd, or cv. Calls scMiko::avgGroupExpression().
aggGroupExpression(
so,
which.data = "data",
which.assay = DefaultAssay(so),
which.center = "mean",
which.group = "seurat_clusters",
which.features = NULL,
do.parallel = F,
verbose = T
)
so |
Seurat Object |
which.data |
Character specfying which data slot. Default is "data". |
which.assay |
Character specigin which assay to use. |
which.center |
Character indicating which summary measure to use. Must be one of "mean", "median", "fraction", "sum", "sd", or "cv". If unspecified, default is "mean". |
which.group |
Character specfying group field in Seurat metadata. Default is "seurat_clusters". |
do.parallel |
Logical specifying whether to perform computations in parallel. Default is F. Uses future.apply package. |
data.frame (gene rows, group columns)
Nicholas Mikolajewicz
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.