View source: R/plot-ggordpoint.R
get_varct.pcoa | R Documentation |
get the contribution of variables
## S3 method for class 'pcoa'
get_varct(obj, ...)
get_varct(obj, ...)
## S3 method for class 'prcomp'
get_varct(obj, ...)
## S3 method for class 'pcasample'
get_varct(obj, ...)
obj |
prcomp class or pcasample class |
... |
additional parameters. |
the VarContrib class, contained the contribution and coordinate of features.
## Not run:
library(phyloseq)
data(GlobalPatterns)
subGlobal <- subset_samples(GlobalPatterns,
SampleType %in% c("Feces", "Mock", "Ocean", "Skin"))
pcares <- get_pca(subGlobal, method="hellinger")
varres <- get_varct(pcares)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.