topCellsPerSample: Top cells per sample

topCellsPerSampleR Documentation

Top cells per sample

Description

Obtain the top cellular barcodes, based on counts.

Usage

topCellsPerSample(object, ...)

## S4 method for signature '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 sample identifier.

Note

Updated 2022-03-02.

Examples

data(SingleCellExperiment_splatter, package = "AcidTest")

## SingleCellExperiment ====
object <- SingleCellExperiment_splatter
x <- topCellsPerSample(object)
lapply(x, head)

acidgenomics/r-acidsinglecell documentation built on March 30, 2024, 5:39 a.m.