Cell counts per cluster
Source:R/AllGenerics.R
, R/cellCountsPerCluster-methods.R
cellCountsPerCluster.Rd
Cell counts per cluster
Usage
cellCountsPerCluster(object, ...)
# S4 method for SingleCellExperiment
cellCountsPerCluster(object)
Examples
data(SingleCellExperiment_Seurat, package = "AcidTest")
## SingleCellExperiment ====
object <- SingleCellExperiment_Seurat
x <- cellCountsPerCluster(object)
print(x)
#> DataFrame with 3 rows and 7 columns
#> ident sampleId sampleName interestingGroups n nPerIdent ratio
#> <factor> <factor> <factor> <factor> <integer> <integer> <numeric>
#> 1 0 unknown unknown unknown 36 36 1
#> 2 1 unknown unknown unknown 25 25 1
#> 3 2 unknown unknown unknown 19 19 1