powered by
Shows a PCA pairs plot.
pca_pairs_plot(dataset, pca.result, column.class = NULL, pcas = c(1, 2, 3, 4, 5), ...)
list representing the dataset from a metabolomics experiment.
prcomp object with the PCA results.
metadata's variable.
the principal components to be shown.
additional parameters to ggpairs function from GGally package.
# NOT RUN { ## Example of a PCA pairs plot data(cachexia) pca.result = pca_analysis_dataset(cachexia) pca_pairs_plot(cachexia, pca.result, "Muscle.loss", pcas = c(1,2,3)) # }
Run the code above in your browser using DataLab