getSpeciesInfo.Rd
Get the scientific species name, the common name and the taxonomic ID for
any of the species supported by einprot
(see
getSupportedSpecies()
for a list of supported species).
getSpeciesInfo(species)
A list with three elements: the scientific species name, the common name and the taxonomic ID.
getSpeciesInfo("mouse")
#> $species
#> [1] "Mus musculus"
#>
#> $speciesCommon
#> [1] "mouse"
#>
#> $taxId
#> [1] 10090
#>
getSpeciesInfo(6239)
#> $species
#> [1] "Caenorhabditis elegans"
#>
#> $speciesCommon
#> [1] "roundworm"
#>
#> $taxId
#> [1] 6239
#>
getSpeciesInfo("Homo sapiens")
#> $species
#> [1] "Homo sapiens"
#>
#> $speciesCommon
#> [1] "human"
#>
#> $taxId
#> [1] 9606
#>
## unsupported species
getSpeciesInfo("E.coli")
#> Warning: Unknown species E.coli
#> $species
#> [1] "E.coli"
#>
#> $speciesCommon
#> [1] ""
#>
#> $taxId
#> [1] NA
#>