Description Usage Arguments Value
View source: R/taxonomy_level_functions.r
This function translates a vector of given identifiers to the specified taxonomy rank. The lookup table required is generated by 'create_taxonomy_lookup()'.
1 | translate_ID(ID, tax_rank, lookup_table, na.rm = TRUE)
|
ID |
a string with the ID name you want to translate |
tax_rank |
a string with the desired taxonomic rank for translation |
lookup_table |
the list with all the lookup vectors created by create_taxonomy_lookup(). |
na.rm |
a logical, default is TRUE. All IDs that were assigned as NA on the specified taxonomic rank will be removed. Use FALSE if same length as input vector is required |
A character vector of taxonomic annotations on the corresponding taxonomic rank per provided ID
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.