Name_to_RefSeq: Name to RefSeq

View source: R/namechange.R

Name_to_RefSeqR Documentation

Name to RefSeq

Description

Lookup a HGNC symbol and return an appropriate NM##.

Usage

Name_to_RefSeq(x)

Arguments

x

The HGNC symbol(s) you wish to convert.

Details

Not found gene symbols will return NA or the empty string.

Value

The NM_### id numbers corresponding to the input gene names (HGNC symbols.)

Note

This routine relies on bioconductor annotation package org.Hs.eg.db to ensure the most up to date mappings. A few years after writing this function, some gene names have had their primary transcript ID changed to a new one. It's not in the old bundled dataset, and some scripts are not running properly anymore. Will have to update the dataset or use a more modern version.

Examples


 Name_to_RefSeq("LSMEM2")
 #should return NM_153215

kstammits/rgsepd documentation built on Oct. 13, 2022, 6:43 p.m.