remove_taxa {microbiome} | R Documentation |
Filter out selected taxa from a phyloseq object.
remove_taxa(taxa = NULL, x)
taxa |
Names of taxa to be removed. |
x |
|
This complements the phyloseq function prune_taxa by providing a way to exclude given groups from a phyloseq object.
Filtered phyloseq object.
Contact: Leo Lahti microbiome-admin@googlegroups.com
To cite the microbiome R package, see citation('microbiome')
phyloseq::prune_taxa, phyloseq::subset_taxa
data(dietswap) pseq <- remove_taxa(c("Akkermansia", "Dialister"), dietswap)