Description Usage Arguments Value Examples
View source: R/doubletThresholding.R
Sets the doublet scores threshold; typically called by
scDblFinder
.
1 | doubletThresholding(d, dbr = 0.025, dbr.sd = 0.015, local = FALSE)
|
d |
A data.frame of properties of real and artificial cells, as produced by 'scDblFinder(returnType="table")'. |
dbr |
The expected (mean) doublet rate. |
dbr.sd |
The standard deviation of the doublet rate, representing the uncertainty in the estimate. |
local |
Logical; whether to use local calibration (experimental feature!) |
A scaler indicating the decided threshold.
1 2 3 4 | sce <- mockDoubletSCE()
d <- scDblFinder(sce, verbose=FALSE, returnType="table")
th <- doubletThresholding(d, dbr=0.05)
th$th
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.