mp_extract_abundance {MicrobiotaProcess} | R Documentation |
Extracting the abundance metric from the MPSE or tbl_mpse, the 'mp_cal_abundance' must have been run with action='add'.
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, ...)
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 |
Shuangbin Xu