Skip to contents

Cluster identifiers

Usage

clusters(object, ...)

# S4 method for SingleCellExperiment
clusters(object)

Arguments

object

Object.

...

Additional arguments.

Value

factor.

Note

Updated 2021-10-14..

See also

Examples

data(SingleCellExperiment_Seurat, package = "AcidTest")

## SingleCellExperiment ====
object <- SingleCellExperiment_Seurat
x <- clusters(object)
head(x)
#> ATGCCAGAACGACT CATGGCCTGTGCAT GAACCTGATGAACC TGACTGGATTCTCA AGTCAGACTGCACA 
#>              0              0              0              0              0 
#> TCTGATACACGTGT 
#>              0 
#> Levels: 0 1 2
table(x)
#> x
#>  0  1  2 
#> 36 25 19