View source: R/almostAllAccessors.R
get_taxa_unique | R Documentation |
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
get_taxa
taxa_names
sample_names
data(enterotype) get_taxa_unique(enterotype) data(GlobalPatterns) get_taxa_unique(GlobalPatterns, "Family")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.