Get a unique vector of the observed taxa at a particular taxonomic rank
This is a simple accessor function to make it more convenient to determine
the different taxa present for a particular taxonomic rank
in a given phyloseq-class
object.
get_taxa_unique(physeq, taxonomic.rank=rank_names(physeq)[1], errorIfNULL=TRUE)
physeq |
(Required). |
taxonomic.rank |
(Optional). Character. The taxonomic rank to use. Must select
from the set indicated by |
errorIfNULL |
(Optional). Logical. Should the accessor stop with
an error if the slot is empty ( |
Character vector. Unique vector of the observed taxa at a particular taxonomic rank
data(enterotype) get_taxa_unique(enterotype) data(GlobalPatterns) get_taxa_unique(GlobalPatterns, "Family")
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.