Filter low presence taxa from a count matrix.
filter_counts(counts, abundance = 10, presence = 0.1)
A count matrix with samples as rows and taxa as columns.
Smallest acceptable mean abundance for a taxon.
A taxon has to be present in at least this percentage of samples to pass the filter.
Count matrix with some taxa removed.
NULL
#> NULL