Filter taxa recorded at less than x percent of visits
filter_prop(df, context = "cell", min_sites = 15, keep = NULL, default_per = 1)
Dataframe with taxa and context
Character. Column names that define context, usually a 'visit' to a 'cell'.
Absolute minimum sites at which a taxa should be recorded.
Character. taxa that should not be dropped. Used to set x percent of sites.
If keeptaxa is NULL, what is the minimum percent of sites at which a taxa should be recorded.
df filtered to exclude taxa recorded at less than x percent of visits.