findPCs | R Documentation |
This function was adapted from https://hbctraining.github.io/scRNA-seq/lessons/elbow_plot_metric.html
findPCs(
seurat_object,
threshold_pct = 5,
threshold_cum_pct = 90,
threshold_diff_pct = 0.1,
elbow_plot = FALSE
)
seurat_object |
Seurat object |
threshold_pct |
Threshold for percent of variation associated with each PC |
threshold_cum_pct |
Threshold for cumulative percent of variation associated with each PC |
threshold_diff_pct |
Threshold for difference between variation of PC and subsequent PC |
elbow_plot |
Logical value to determine if an elbow plot should be generated |
Number of PCs to use for downstream analysis
## Not run:
findPCs(seurat_object,
threshold_pct = 5,
threshold_cum_pct = 90,
threshold_diff_pct = 0.1,
elbow_plot=TRUE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.