This function computes pairwise logratio values between all taxa and adds these to the tidyamplicons object in the form of a table called logratios.

add_logratios(ta, max_taxa = 30)

Arguments

ta

A tidyamplicons object

max_taxa

The maximum number of taxa to use

Value

A tidyamplicons object with an extra table logratios

Details

If max_taxa is greater than the number of taxa, the taxa with the highest occurrence will be selected.

IMPORTANT: this function add pseudocounts of one to all abundances before calculating the logratios.