get_genesymbols: Gets the official gene symbol for protein or gene aliases

Description Usage Arguments Value See Also Examples

View source: R/utils.R

Description

gets the aliases for a series of common gene names

Usage

1
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

1
2
3
4
5
6
7
8
9
get_genesymbols("ERK")
# $ERK
# [1] "EPHB2" "MAPK1"
get_genesymbols(c("SUPERFAKEGENE", "ERK"))
# $SUPERFAKEGENE
# [1] NA
#
# $ERK
# [1] "EPHB2" "MAPK1"

jspaezp/sctree documentation built on April 30, 2020, 10:36 p.m.