Description Usage Arguments Examples
Shows a PCA biplot.
1 2 | pca_biplot(dataset, pca.result, cex = 0.8, legend.cex = 0.8,
x.colors = 1, inset = c(0, 0), legend.place = "topright", ...)
|
dataset |
list representing the dataset from a metabolomics experiment. |
pca.result |
prcomp object with the PCA results. |
cex |
cex value. |
legend.cex |
cex value of the legend. |
x.colors |
colors of a metadata's variable. |
inset |
inset parameter of legend function. |
legend.place |
legend place. |
... |
additional parameters passed to biplot function. |
1 2 3 4 5 | ## Example of a PCA biplot
library(specmine.datasets)
data(cachexia)
pca.result = pca_analysis_dataset(cachexia)
pca_biplot(cachexia, pca.result, cex = 0.8)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.