Returns a tidy table of occurrences: taxon presence counts in samples, overall or per condition.

occurrences(ta, condition = NULL, pres_abs = F)

Arguments

ta

a tidyamplicons object

condition

a string denoting a categorical variable in the sample table

pres_abs

wether to resort to presence/absense screening

Details

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