R/utilities.R
CellsPerGroup.Rd
Count the number of cells in each group
CellsPerGroup(object, group.by = NULL)
A Seurat object
A grouping variable. Default is the active identities
Returns a vector
CellsPerGroup(atac_small)#> 0 1 #> 55 45