ensembl2HGNC: Maps Ensembl transcript and gene ids to HGNC-approved gene...

Description Usage Arguments Value Examples

View source: R/map_gene_names.R

Description

Maps Ensembl transcript and gene ids to HGNC-approved gene symbols

Usage

1
ensembl2HGNC(ids, untranslatable.na = F)

Arguments

ids

a character vector of ensembl ids

untranslatable.na

boolean, default is false. If an id does not have an HGNC mapping, then the function will return an NA for that gene

Value

a character vector with all ids mapped to approved HGNC symbols

Examples

1
2
ids = genesetr::ensembl_ids$ensembl_gene_id[1:10]
HGNC_symbols = ensembl2HGNC(ids, untranslatable.na = T)

MaayanLab/genesetr documentation built on Aug. 14, 2019, 12:20 p.m.