Calculate empty droplet statistics for each cell.
Source:R/single_sample_input_qc.R
empty_droplets_fn.RdSee DropletUtils::emptyDrops() for implementation details.
Usage
empty_droplets_fn(
sce_raw,
empty_droplets_lower,
empty_droplets_enabled = TRUE,
BPPARAM = BiocParallel::SerialParam()
)Arguments
- sce_raw
(input target) A
SingleCellExperimentobject.- empty_droplets_lower
An integer scalar: lower bound on the total UMI count at or below which all barcodes are assumed to correspond to empty droplets. Passed to
DropletUtils::emptyDrops().- empty_droplets_enabled
A logical scalar: if
TRUE, skip empty droplets calculation and returnNULL.- BPPARAM
A BiocParallel::BiocParallelParam object.
Value
A DataFrame object (value returned from DropletUtils::emptyDrops()) if empty_droplets_enabled
is TRUE, NULL otherwise. Output target: empty_droplets