Description Usage Arguments Details Value Author(s) Examples
View source: R/General_Utils.R
converts taxon names of common taxa (superkingdom and phylum level) to it's NCBI taxID using an internal library. For taxa not in the internal library, please see https://www.ncbi.nlm.nih.gov/Taxonomy/TaxIdentifier/tax_identifier.cgi
1 | commonTax.to.NCBI.TaxID(taxon, fill.unknown = "12908")
|
taxon |
character or character vector. The taxon names to be converted to NCBI tax IDs. |
fill.unknown |
character. The string to return when a taxon was not found in the list with common taxa. Default is NCBI:txid12908 (the ID for "unknown sequences"), other options include NA or "" |
This function makes use of a limited internal library, not all the taxIDs are present
a character or character vector with the matching taxon IDs, with fill.unknown for those not found.
Maxime Sweetlove
1 | OmicsMetaData:::commonTax.to.NCBI.TaxID("soil metagenome", fill.unknown="12908")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.