Description Usage Arguments Value
Biplot from a principal components analysis (PCA)
1 2 |
PC |
a prcomp object obtained by conducting a principal components analysis. |
d |
a data frame of metadata containing the sample identifiers and categorical classification of the samples. |
colors |
a character vector of same length as the number of levels in the classfication. |
legend_t |
the name of the column in d that gives the sample classification. |
varnames |
a character vector of names for the variables in the biplot. |
labels |
a logical indicating whether samples should be labelled. |
title |
a title for the biplot. |
x |
principal component to be plotted along the horizontal (x) axis or abcissa. |
y |
principal component to be plotted along the vertical (y) axis or ordinate. |
A ggplot2 object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.