mm_pretty_pca | R Documentation |
Pretty PCA
mm_pretty_pca(PCA, xPC = 1, yPC = 2, clas_col = NULL, legend_cex = 0.8)
PCA |
Input data either prcomp or mmPCA. |
xPC |
The PC to plot on the x axis |
yPC |
The PC to plot on the y axis |
clas_col |
A character vector of groupings. Each level will be plotted as a different color. |
legend_cex |
A scaling factor to be applied specifically to the legend. Set to NULL for scatterplot only. |
A better PCA plot
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.