Description Usage Arguments Value
View source: R/seurat_wrappers.R
Calculate heuristic metrics to determine optimal number of principal components for downstream analyses
1 2 3 4 5 6 7 8 | CalcPCHeuristics(
seurat.obj,
reduction = "pca",
store.name = "pca_metrics",
percent.stdev.range = 0.05,
set.pcs = NA,
force_tp = FALSE
)
|
seurat.obj |
Seurat object |
percent.stdev.range |
Percent of PCA standard deviation range to use for |
set.pcs |
Number of PCs to use for maximum distance and derivative calculations |
derivs.change.threshold |
Threshold used for second derivative changes |
Returns object
with optimal PC information within the object@misc
slot
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.