Obtain the top cellular barcodes, based on counts.

topCellsPerSample(object, ...)

# S4 method for SingleCellExperiment
topCellsPerSample(object, n = 100L)

Arguments

object

Object.

n

integer(1). Number of barcodes to return per sample.

...

Additional arguments.

Value

list. Top barcodes as character, split by sampleID.

Note

Updated 2019-08-14.

Examples

data(SingleCellExperiment, package = "acidtest") ## SingleCellExperiment ==== object <- SingleCellExperiment x <- topCellsPerSample(object) lapply(x, head)
#> $sample1 #> [1] "cell022" "cell005" "cell067" "cell050" "cell062" "cell008" #> #> $sample2 #> [1] "cell094" "cell010" "cell054" "cell034" "cell076" "cell039" #>