Translate identifiers into scientific names
get_names( id, db = getOption("taxadb_default_provider", "itis"), version = latest_version(), format = c("guess", "prefix", "bare", "uri"), taxadb_db = td_connect() )
a list of taxonomic identifiers.
abbreviation code for the provider. See details.
Which version of the taxadb provider database should we use? defaults to latest. see [avialable_releases()] for details.
[avialable_releases()]
Format for the returned identifier, one of
prefix (e.g. NCBI:9606, the default), or
prefix
NCBI:9606
bare (e.g. 9606, used in taxize::get_ids()),
bare
9606
taxize::get_ids()
uri (e.g. http://ncbi.nlm.nih.gov/taxonomy/9606).
uri
http://ncbi.nlm.nih.gov/taxonomy/9606
Connection to from [td_connect()].
[td_connect()]
a vector of names, of the same length as the input ids. Any unmatched IDs will return as NAs.
Like all taxadb functions, this function will run fastest if a local copy of the provider is installed in advance using [td_create()].
[td_create()]
Other get: get_ids()
get_ids()
# NOT RUN { get_names(180092) get_names(c("ITIS:180092", "ITIS:179913")) get_names(c("ITIS:180092", "ITIS:179913"), format = "prefix") # }
Run the code above in your browser using DataLab