View source: R/dropletUtils_emptyDrops.R
runEmptyDrops | R Documentation |
Run emptyDrops on the count matrix in the provided \linkS4classSingleCellExperiment object. Distinguish between droplets containing cells and ambient RNA in a droplet-based single-cell RNA sequencing experiment.
runEmptyDrops(
inSCE,
sample = NULL,
useAssay = "counts",
lower = 100,
niters = 10000,
testAmbient = FALSE,
ignore = NULL,
alpha = NULL,
retain = NULL,
barcodeArgs = list(),
BPPARAM = BiocParallel::SerialParam()
)
inSCE |
A SingleCellExperiment object. Must contain a raw counts matrix before empty droplets have been removed. |
sample |
Character vector or colData variable name. Indicates which
sample each cell belongs to. Default |
useAssay |
A string specifying which assay in the SCE to use. Default
|
lower |
See emptyDrops for more information.
Default |
niters |
See emptyDrops for more information.
Default |
testAmbient |
See emptyDrops for more information.
Default |
ignore |
See emptyDrops for more information.
Default |
alpha |
See emptyDrops for more information.
Default |
retain |
See emptyDrops for more information.
Default |
barcodeArgs |
See emptyDrops for more information.
Default |
BPPARAM |
See emptyDrops for more information.
Default |
A SingleCellExperiment object with the
emptyDrops output table appended to the
colData slot. The columns include
emptyDrops_total
, emptyDrops_logprob
,
emptyDrops_pvalue
, emptyDrops_limited
, emptyDrops_fdr
.
Please refer to the documentation of emptyDrops for
details.
runDropletQC
, plotEmptyDropsResults
,
plotEmptyDropsScatter
data(scExample, package = "singleCellTK")
sce <- runEmptyDrops(inSCE = sce)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.