get_varct.pcoa {MicrobiotaProcess} | R Documentation

## get the contribution of variables

### Description

get the contribution of variables

### Usage

    ## 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, ...)

### Arguments

`obj` | prcomp class or pcasample class
`...` | additional parameters.

### Value

the VarContrib class, contained the contribution and coordinate of features.

### Examples

    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)

[Package MicrobiotaProcess version 1.2.2 Index]