avgGroupExpression.Rd
Get summary group expression in Seurat object. Can include mean, median, fraction (of expressing cells), sd, or cv.
avgGroupExpression(
so,
which.data = "data",
which.assay = DefaultAssay(so),
which.center = "mean",
which.group = "seurat_clusters",
which.features = NULL,
do.parallel = F,
verbose = T
)
Seurat Object
Character specifying which data slot. Default is "data".
Character specifying which assay to use.
Character specifying which summary measure to use. Must be one of "mean", "median", "fraction", "sum", "sd", or "cv". If unspecified, default is "mean".
Character specifying group field in Seurat metadata. Default is "seurat_clusters".
Character specifying which genes to include. All if unspecified.
Logical specifying whether to perform computations in parallel. Default is F. Uses future.apply package.
Logical
data.frame (gene rows, group columns)