ElbowCutoff | R Documentation |
This function unbiasedly calculates where the principal components start to elbow.
ElbowCutoff(seurat_object, return = "pc_cutoff")
seurat_object |
Seurat object |
return |
either 'pc_cutoff' or 'plot' based on whether the user would like to return a ggplot object or the principle component cutoff point |
First we take the larger value of the point where the principal components only contribute 5% of standard deviation and the point where the principal components cumulatively contribute 90% of the standard deviation. Next we take the point where the percent change in variation between the consecutive PCs is less than 0.1%.
The smaller out of these two values is determined at the elbow cutoff
ggplot object OR principle component cutoff
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.