filter_otus: Filter OTUs by a threshold in percent

filter_otusR Documentation

Filter OTUs by a threshold in percent

Description

Removes all OTUs that are not found with a higher relative abundance than the set threshold in percent in at least one sample.

Usage

filter_otus(data, filter_otus = 0)

filter_species(data, filter_otus = 0)

Arguments

data

(required) Data list as loaded with amp_load.

filter_otus

Remove low abundant OTU's across all samples below this threshold in percent. (default: 0)

Value

An ampvis2 object

Examples

data("AalborgWWTPs")
AalborgWWTPs
filtered <- filter_otus(AalborgWWTPs, filter_otus = 0.1)
filtered

MadsAlbertsen/ampvis2 documentation built on Jan. 28, 2024, 7:12 a.m.