Returns tidy table with average relatively abundances of taxa, overall or per condition.

mean_rel_abundances(ta, condition = NULL)

Arguments

ta

a tidyamplicons object

condition

a string representing a categorical variable to compute the relative abundances in every option of the variable

Details

Condition should be a categorical variable present in the samples table. Supply condition as a string.