Description Usage Arguments Value See Also Examples
Computes PCA using one of the methods provided in the Bioconductor package
pcaMethods and plots the loadings of first principal components
CITATION: When using this function, cite the pcaMethods
package
1 2 3 |
object |
a MetaboSet object |
all_features |
logical, should all features be used? If FALSE (the default), flagged features are removed before visualization. |
center |
logical, should the data be centered prior to PCA? (usually yes) |
scale |
scaling used, as in pcaMethods::prep. Default is "uv" for unit variance |
npc1, npc2 |
number of top feature to plot for first and second principal component |
title, subtitle |
the titles of the plot |
... |
additional arguments passed to pcaMethods::pca |
a ggplot object.
1 | plot_pca_loadings(merged_sample, npc1 = 5, npc2 = 5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.