Skip to contents

Barcode ranks per sample

Usage

barcodeRanksPerSample(object, ...)

# S4 method for SingleCellExperiment
barcodeRanksPerSample(object, assay = 1L, ...)

Arguments

object

Object.

assay

vector(1). Assay name or index position.

...

Passthrough arguments to DropletUtils::barcodeRanks().

Value

DataFrameList.

Note

Requires DropletUtils package to be installed.

Updated 2022-03-02.

Examples

data(SingleCellExperiment_splatter, package = "AcidTest")

## SingleCellExperiment ====
if (requireNamespace("DropletUtils", quietly = TRUE)) {
    object <- SingleCellExperiment_splatter
    x <- barcodeRanksPerSample(object)
    names(x)
}
#> [1] "sample1" "sample2" "sample3" "sample4"