Compute the mean counts per group of cells for a given assay

AverageCounts(object, assay = NULL, group.by = NULL, verbose = TRUE)

Arguments

object

A Seurat object

assay

Name of assay to use. Default is the active assay

group.by

Grouping variable to use. Default is the active identities

verbose

Display messages

Value

Returns a dataframe

Examples

AverageCounts(atac_small)
#> Summing counts per cell
#> Computing average counts per group
#> 0 1 #> 11.25455 10.71111