gets the aliases for a series of common gene names

get_genesymbols(gene_aliases, db = org.Hs.eg.db::org.Hs.eg.db)

Arguments

gene_aliases

a character vector of gene aliases zb: ERK

db

a database that inherits the select property. defaults to org.Hs.eg.db

Value

a named list whose names are the provided aliases and the elements are the character vectors with the gene names

See also

get_aliases

Examples

get_genesymbols("ERK")
#> Warning: All elements of `...` must be named. #> Did you want `data = c(SYMBOL)`?
#> $ERK #> [1] "EPHB2" "MAPK1" #>
# $ERK # [1] "EPHB2" "MAPK1" get_genesymbols(c("SUPERFAKEGENE", "ERK"))
#> Warning: All elements of `...` must be named. #> Did you want `data = c(SYMBOL)`?
#> $SUPERFAKEGENE #> [1] NA #> #> $ERK #> [1] "EPHB2" "MAPK1" #>
# $SUPERFAKEGENE # [1] NA # # $ERK # [1] "EPHB2" "MAPK1"