plotScree | R Documentation |
This function will generate a line plot of eigenvalues of PCs. These plots can be used to determine the number of factors to retain for downstream analyses (e.g GWAS).
plotScree(
pcaObj,
nComp = 10,
interactive = FALSE,
lineColor = "grey",
pointColor = "black"
)
pcaObj |
A |
nComp |
Total number of principal components to plot. Defaults to
|
interactive |
Do you want to produce an interactive visualization?
Defaults to |
lineColor |
Color of scree line. |
pointColor |
Color of scree points. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.