View source: R/plot_PC_loadings.R
plot_PC_loadings | R Documentation |
Plot the loadings of each variable on each principal component. Each variable is plotted as a colored line. In the future, I may expand this function to take prcomp and princomp objects, and to provide additional handles for manipulating the plots (e.g. number of variables and/or number of PCs to plot), outputting to pdf, etc.
plot_PC_loadings(rotation_matrix)
rotation_matrix |
a PCA rotation or loading matrix. Should have genes in rows and PCs in columns. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.