powered by
Shows a PCA biplot.
pca_biplot(dataset, pca.result, cex = 0.8, legend.cex = 0.8, x.colors = 1, inset = c(0, 0), legend.place = "topright", ...)
list representing the dataset from a metabolomics experiment.
prcomp object with the PCA results.
cex value.
cex value of the legend.
colors of a metadata's variable.
inset parameter of legend function.
legend place.
additional parameters passed to biplot function.
# NOT RUN { ## Example of a PCA biplot library(specmine.datasets) data(cachexia) pca.result = pca_analysis_dataset(cachexia) pca_biplot(cachexia, pca.result, cex = 0.8) # }
Run the code above in your browser using DataLab