Learn R Programming

taxize (version 0.0.6)

get_uid: Get the UID codes from NCBI for species names.

Description

Retrieve the Unique Identifier (UID) of a species from NCBI taxonomy browser.

Usage

get_uid(sciname, verbose = TRUE)

Arguments

sciname
character; scientific name.
verbose
logical; If TRUE the actual taxon queried is printed on the console.

Value

  • A vector of unique identifiers (UID). If a species is not found NA. If more than one UID is found the function asks for user input.

See Also

get_tsn, classification

Examples

Run this code
get_uid(c("Chironomus riparius", "Chaetopteryx"))
get_uid(c("Chironomus riparius", "aaa vva"))

Run the code above in your browser using DataLab