plotPcElbow | R Documentation |
Calculate the principal component (PC) cutoff using a heuristic approach.
plotPcElbow(object, ...)
## S4 method for signature 'Seurat'
plotPcElbow(object, minPct = 0.01, maxCumPct = 0.9)
object |
Object. |
minPct |
|
maxCumPct |
|
... |
Additional arguments. |
Automatically return the smallest number of PCs that match the minSD
,
minPct
, and maxCumPct
cutoffs.
ggplot
.
Elbow point is saved in attr(object, "elbow")
.
Updated 2023-08-16.
Seurat::PCElbowPlot()
.
monocle3::plot_pc_variance_explained()
.
data(Seurat, package = "AcidTest")
## Seurat ====
object <- Seurat
plotPcElbow(object)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.