Skip to contents

Cell counts per cluster

Usage

cellCountsPerCluster(object, ...)

# S4 method for SingleCellExperiment
cellCountsPerCluster(object)

Arguments

object

Object.

...

Additional arguments.

Value

DFrame.

Note

Updated 2023-10-27.

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