Description Usage Arguments Value
Plotting PCA Loading Plot
| 1 | pca_loading(pca_data, PCs = 1:4, label = NULL, title = NULL)
 | 
| pca_data | the PCA model output of prcomp() | 
| PCs | vector of Principal Components to consider | 
| label | vector of compounds that should be labelled on the score plot; to label all compounds (or bins), set label = 'all' | 
| title | string; title of loading plot | 
list of: p ggplot object with generated plot
collected_data all the data used to plot pca data
using ggplot2. can use collected_data for
further customization using ggplot
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.