R/utilities.R
AverageCounts.Rd
Compute the mean counts per group of cells for a given assay
AverageCounts(object, assay = NULL, group.by = NULL, verbose = TRUE)
A Seurat object
Name of assay to use. Default is the active assay
Grouping variable to use. Default is the active identities
Display messages
Returns a dataframe
AverageCounts(atac_small) #> Computing average counts per group #> 1 0 #> 162.80 118.74