| get_varct.pcoa {MicrobiotaProcess} | 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.
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)