ncbi_taxid: NCBI Taxonomy IDs of organisms

View source: R/taxonomy.R

ncbi_taxidR Documentation

NCBI Taxonomy IDs of organisms

Description

NCBI Taxonomy IDs of organisms

Usage

ncbi_taxid(name)

Arguments

name

Vector with any kind of organism name or identifier, can be also mixed type.

Value

Integer vector with NCBI Taxonomy IDs, NA if a name in the input could not be found.

See Also

  • latin_name

  • common_name

  • ensembl_name

Examples

ncbi_taxid(c("Homo sapiens", "cat", "dog"))
# [1] 9606 9685 9615
ncbi_taxid(c(9606, "cat", "doggy"))
# [1] 9606 9685   NA


saezlab/OmnipathR documentation built on Nov. 10, 2024, 11:02 p.m.