powered by
Shows a 3D PCA scores plot of three principal componets.
pca_scoresplot3D(dataset, pca.result, column.class, pcas = c(1, 2, 3))
list representing the dataset from a metabolomics experiment.
prcomp object with the PCA results.
metadata's variable.
vector with the principal components to be plotted.
# NOT RUN { ### Example of a 3D PCA scores plot data(cachexia) pca.result = pca_analysis_dataset(cachexia) pca_scoresplot3D(cachexia, pca.result, "Muscle.loss", pcas = c(1,2,3)) # }
Run the code above in your browser using DataLab