Barcode ranks per sample
Source:R/AllGenerics.R
, R/barcodeRanksPerSample-methods.R
barcodeRanksPerSample.Rd
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()
.
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"