View source: R/clean_taxa_names.R
clean_taxa_names | R Documentation |
Renames taxa to have short human-readable names
clean_taxa_names(x, name = "OTU")
x |
Object of class |
name |
Character, defaults to |
The original taxa names are saved as the original_names
attribute. See the example for an example of how to access the original names.
Object of class phyloseq
, with taxa renamed (defaults to OTU1, OTU2, ...), with the original taxa names saved as an attribute.
data(soil_phylo)
x <- clean_taxa_names(soil_phylo)
# Use this line to see the original taxa names
attr(x, "original_names")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.