LAPP.plot.PCA.con()
takes in a modified PCA object returned by LAPP.PCA() and plots the
variable contributions of two principal components.
Uses ggplot2 and ggrepel.
1 | LAPP.plot.PCA.con(pca, dim1 = 1, dim2 = 2, top.n = 10)
|
pca |
Modified PCA object returned by LAPP.PCA(). |
dim1 |
Index of PC to plot along the x-axis. Defaults to 1 |
dim2 |
Index of PC to plot along the y-axis. Defaults to 2 |
top.n |
Number of top contributions to highlight on the plot. Defaults to 10. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.