Get the NCBI ID of a species

getId(species, version = "11.5", cache = FALSE)

Arguments

species

character, the species of your input data

version

character, the version of STRING you want to use, defaults to the current version of STRING

cache

Logical value, defining whether to use the BiocFileCache for retrieval of the files underlying the STRINGdb object. Defaults to TRUE.

Value

A character of the NCBI ID of species

Examples

species <- "Homo sapiens"
id <- getId(species = species)

species <- "Mus musculus"
id <- getId(species = species)