Description Usage Arguments Value Examples
View source: R/microbiome_tools.R
Adds a lowest_rank
column to a taxonomy table in a phyloseq object.
1 | add_lowest_rank(ps)
|
ps |
A |
This function returns the input phyloseq
object with a lowest_rank
column in the tax_table()
.
If "Species" is present in the tax_table()
, then this function returns <Genus_species>.
If "Species" is NA, this function returns the next highest taxonomic level available.
If more than 1 "Species" is present, this function returns <Genus_species1/species2+nspecies>.
1 | ps <- add_lowest_rank(ps)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.