View source: R/summarizeSweep.R
summarizeSweep | R Documentation |
Summarizes results from doubletFinder_ParamSweep, computing the bimodality coefficient across pN and pK parameter space. If ground-truth doublet classifications are available, then ROC analysis is performed, enabling optimal DoubletFinder parameter selection.
sweep.stats <- summarizeSweep(sweep.list, GT = FALSE)
sweep.stats <- summarizeSweep(sweep.list, GT = TRUE, GT.calls = classifications)
sweep.list |
List of pANN vectors across pN-pK space, as produced by doubletFinder_ParamSweep. |
GT |
Logical set to TRUE when ground-truth doublet classifications are available for ROC analysis. Default set to FALSE. |
GT.calls |
An nCell-length character vector of ground-truth doublet classifications (e.g., "Singlet" or "Doublet") used to gauge performance of logistic regression models trained using pANN vectors during ROC analysis. |
Dataframe with bimodality coefficient values at each pN-pK parameter set. If GT = TRUE, dataframe also includes AUC for each pN-pK parameter set computed during ROC analysis.
sweep.list <- paramSweep(seu)
sweep.stats <- summarizeSweep(sweep.list, GT = FALSE)
bcmvn <- find.pK(sweep.stats)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.