plot_pca.RdPlots either the first 2 or 3 principal components.
plot_pca(
pca,
num_components = 2,
col = NULL,
col_palette = NULL,
ggplot = FALSE
)output of pca_wsaf() function.
numeric for number of components used. Default = 2.
vector by which samples are coloured.
vector of colours for each group.
boolean for plotting using ggplot. Default = FALSE