Skip to contents

Ensembl identifiers of organisms

Usage

ensembl_name(name)

Arguments

name

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

Value

Character vector with Ensembl taxon names, NA if a name in the input could not be found.

Examples

ensembl_name(c(9606, "cat", "dog"))
#> [1] "hsapiens"     "fcatus"       "clfamiliaris"
# [1] "hsapiens" "fcatus" "clfamiliaris"
ensembl_name(c("human", "kitten", "cow"))
#> [1] "hsapiens" NA         "btaurus" 
# [1] "hsapiens" NA  "btaurus"