Calculate alpha-diversity indices for each sample and combines with the metadata.
The Galaxy tool calls the amp_alpha_diversity function of the ampvis2 package.
The alpha-diversity indices are calculated per sample using the vegan function diversity, where the read abundances are first rarefied using rrarefy by the size of the rarefy argument. Refer to the vegan documentation for details about the different indices and how they are calculated.
An ampvis2 RDS dataset obtained by the ampvis2: load tool (or ampvis2: mergereplicates or one of the ampvis2: subset ... tools).
A tabular dataset containing the chosen alpha-diversity measures per sample.