get_top_taxa-deprecated | R Documentation |
This function subsets a phyloseq object to the top n
most abundant
taxa. Users can choose whether to select by absolute counts or relative
counts, and whether to discard or collapse remaining taxa.
get_top_taxa(physeq_obj, n, relative = T, discard_other, other_label)
physeq_obj |
A phyloseq object with an |
n |
The number of top taxa to subset to. |
relative |
Select taxa based on relative abundance?
(default = |
discard_other |
Discard remainig taxa? (default = |
other_label |
Label to give to collapsed taxa. |
A phyloseq object
fantaxtic-deprecated
data(GlobalPatterns)
get_top_taxa(GlobalPatterns, 10)
get_top_taxa(GlobalPatterns, 10, relative = FALSE)
get_top_taxa(GlobalPatterns, 10, relative = TRUE, discard_other = TRUE)
get_top_taxa(GlobalPatterns, 10, relative = TRUE, other_label = "Non-abundant taxa")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.