Get the NCBI ID of a species
getId(species, version = "11.5", cache = FALSE)
character, the species of your input data
character, the version of STRING you want to use, defaults to the current version of STRING
Logical value, defining whether to use the
BiocFileCache for retrieval of the files underlying
the STRINGdb object. Defaults to TRUE
.
A character of the NCBI ID of species
species <- "Homo sapiens"
id <- getId(species = species)
species <- "Mus musculus"
id <- getId(species = species)