Description Usage Arguments Value
Functions for plotting pca results in score plot
1 2 3  | 
pca_data | 
 the PCA model output of prcomp()  | 
PCs | 
 numeric; vector of Principal Components to consider  | 
colour | 
 string; name of column to be used as the colour aesthetic  | 
shape | 
 string; name of column to be used as the shape aesthetic  | 
size | 
 string; name of column to be used as the size aesthetic  | 
label | 
 string; name of column to be used as the point labels  | 
title | 
 string; title of pca plot  | 
legend.ori | 
 string.   | 
pt.size | 
 numeric; default 3; size of points  | 
outline | 
 logic. Default   | 
CIgroup | 
 draws an ellipse based on covariance matrix at the 95 (one of the metadata columns) specifies the groupings around which ellipses should be drawn  | 
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.