Cluster cell counts per sample

clusterCellCountsPerSample(object, ...)

# S4 method for SingleCellExperiment
clusterCellCountsPerSample(object)

# S4 method for Seurat
clusterCellCountsPerSample(object)

Arguments

object

Object.

...

Additional arguments.

Value

grouped_df. Grouped by sampleName column, arranged by abundance.

Examples

data(seurat) x <- clusterCellCountsPerSample(seurat) print(x)
#> # A tibble: 3 x 4 #> # Groups: sampleName [1] #> sampleName ident n ratio #> <fct> <fct> <int> <dbl> #> 1 unknown 0 36 0.45 #> 2 unknown 1 25 0.312 #> 3 unknown 2 19 0.238