plotScree | R Documentation |
Plots the variance explained by the different principal components
plotScree(scCNA, ncomponents = 20)
scCNA |
The CopyKit object |
ncomponents |
Number of principal components to plot. |
A ggplot object with The variance explained per principal component.
set.seed(1000)
copykit_obj <- copykit_example_filtered()[,sample(400)]
copykit_obj <- runPca(copykit_obj)
plotScree(copykit_obj)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.