mp_extract_abundance {MicrobiotaProcess}R Documentation

Extracting the abundance metric from MPSE or tbl_mpse object

Description

Extracting the abundance metric from the MPSE or tbl_mpse, the 'mp_cal_abundance' must have been run with action='add'.

Usage

mp_extract_abundance(x, taxa.class = "all", topn = NULL, ...)

## S4 method for signature 'MPSE'
mp_extract_abundance(x, taxa.class = "all", topn = NULL, ...)

## S4 method for signature 'tbl_mpse'
mp_extract_abundance(x, taxa.class = "all", topn = NULL, ...)

## S4 method for signature 'grouped_df_mpse'
mp_extract_abundance(x, taxa.class = "all", topn = NULL, ...)

Arguments

x

MPSE or tbl_mpse object

taxa.class

character the name of taxonomy class level what you want to extract

topn

integer the number of the top most abundant, default is NULL.

...

additional parameters

Author(s)

Shuangbin Xu


[Package MicrobiotaProcess version 1.6.5 Index]