Description Usage Arguments Value Author(s)
: Returns an exploratory PCA analysis, along with a score plot and a scree plot
1 | protein_pca(tidyData, components = 4, center = FALSE, scale = FALSE)
|
tidyData |
Normalized data to perform the PCA analysis on |
components |
The number of components |
center |
Whether the data is centered or not |
scale |
Whether the data is scaled or not |
A list containing the principal components and the ggplots of the score plot and the scree plot
Matthew Huang
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.