Retrieve NCBI Taxonomy IDs for a list of taxon names
Source:R/get_NCBI_sets.R
get_ncbi_taxon_ids.RdThis function takes a vector of taxon names and returns a vector of NCBI taxonomy IDs by querying the NCBI Entrez API.
Examples
taxon_names <- c("Escherichia coli", "Staphylococcus aureus")
taxon_ids <- get_ncbi_taxon_ids(taxon_names)