View source: R/doubletFinder_doubletDetection.R
runDoubletFinder | R Documentation |
Uses doubletFinder to determine cells within the dataset suspected to be doublets.
runDoubletFinder(
inSCE,
sample = NULL,
useAssay = "counts",
seed = 12345,
seuratNfeatures = 2000,
seuratPcs = seq(15),
seuratRes = 1.5,
formationRate = 0.075,
nCores = NULL,
verbose = FALSE
)
inSCE |
inSCE A SingleCellExperiment object. |
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
|
seed |
Seed for the random number generator, can be set to |
seuratNfeatures |
Integer. Number of highly variable genes to use.
Default |
seuratPcs |
Numeric vector. The PCs used in seurat function to
determine number of clusters. Default |
seuratRes |
Numeric vector. The resolution parameter used in Seurat,
which adjusts the number of clusters determined via the algorithm. Default
|
formationRate |
Doublet formation rate used within algorithm. Default
|
nCores |
Number of cores used for running the function. Default
|
verbose |
Boolean. Wheter to print messages from Seurat and
DoubletFinder. Default |
SingleCellExperiment object containing the
doublet_finder_doublet_score
variable in colData
slot.
runCellQC
, plotDoubletFinderResults
data(scExample, package = "singleCellTK")
sce <- subsetSCECols(sce, colData = "type != 'EmptyDroplet'")
sce <- runDoubletFinder(sce)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.