Description Usage Arguments Value Examples
Performs a classical PCA analysis over the dataset.
1 2 |
dataset |
list representing the dataset from a metabolomics experiment. |
scale |
boolean value indicating if the variables are going to be scaled or not. |
center |
booleam value indicating if the variables are going to be centered or not. |
write.file |
boolean value that indicates if the results from PCA analysis are going to be written on a file. |
file.out |
name of the file that will store the results. |
... |
additional parameters to ggplot function. |
object of class 'prcomp' with the results from the PCA analysis.
1 2 3 4 | ## Example of performing a classical PCA analysis
library(specmine.datasets)
data(cachexia)
pca.results = pca_analysis_dataset(cachexia)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.