remove_taxa: Exclude Taxa

Description Usage Arguments Details Value Author(s) References See Also Examples

View source: R/remove_taxa.R

Description

Filter out selected taxa from a phyloseq object.

Usage

1

Arguments

taxa

Names of taxa to be removed.

x

phyloseq-class object

Details

This complements the phyloseq function prune_taxa by providing a way to exclude given groups from a phyloseq object.

Value

Filtered phyloseq object.

Author(s)

Contact: Leo Lahti microbiome-admin@googlegroups.com

References

To cite the microbiome R package, see citation('microbiome')

See Also

phyloseq::prune_taxa, phyloseq::subset_taxa

Examples

1
2
data(dietswap)
pseq <- remove_taxa(c("Akkermansia", "Dialister"), dietswap)

microbiome documentation built on Nov. 8, 2020, 5:08 p.m.