phyloseq_filter_taxa_rel_abund: Remove taxa with small mean relative abundance.

View source: R/phyloseq_filter.R

phyloseq_filter_taxa_rel_abundR Documentation

Remove taxa with small mean relative abundance.

Description

Remove taxa with small mean relative abundance.

Usage

phyloseq_filter_taxa_rel_abund(physeq, frac = 1e-04)

Arguments

physeq

A phyloseq-class object

frac

The minimum cutoff for the relative OTU abundance

Details

This function searches for taxa with small mean relative abundance and removes them. Result will be returned with original counts in the abundance table.

Value

Phyloseq object with a subset of taxa.

Examples

data("esophagus")
phyloseq_filter_taxa_rel_abund(esophagus, frac = 0.01)
phyloseq_filter_taxa_rel_abund(esophagus, frac = 0.1)


vmikk/metagMisc documentation built on Feb. 14, 2024, 2:29 a.m.