Description Usage Arguments Value Author(s) Examples
View source: R/reconstruction_error.R
Determines threshold for reconstruction errors computed from multiple resamples
1 2 3 4 5 6 7 8 9 | find_threshold(
object,
labels,
nfolds = 5,
fn_perc = 0.01,
seed = 66,
scaledata = FALSE,
verbose = FALSE
)
|
object |
Seurat object used as reference |
labels |
Response variable |
nfolds |
Number of resamples |
fn_perc |
TBD |
seed |
Numeric seed to create resamples |
verbose |
Display Seurat messages? |
A numeric value corresponding to the threshold for reconstruction error
Lieke Michielsen and Jose Alquicira-Hernandez
1 2 3 | library(scPred)
data(pbmc_1)
res <- find_threshold(pbmc_1, pbmc_1$cell_type)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.