ent2sym: Gene ID mapper for entrez and symbol

View source: R/DEG_list_helper.R

ent2symR Documentation

Gene ID mapper for entrez and symbol

Description

Map Entrez ID to HGNC symbol and vice versa. Uses LazygeneInfo if no gene ID information is provided at geneMap. geneMap, if provided, should be a data frame with at least two columns named 'hgnc_symbol' and 'entrez'. ent2sym is meant for quick ID conversion and uses match, which does not handle many-to-one or many-to-many relationships.

Usage

ent2sym(genes, geneMap = NULL)

Arguments

genes

genes either in Entrez or Symbol (human)

geneMap

gene mapper data frame. Uses LazygeneInfo if null.

Value

genes in wanted IDs

Examples

ent2sym("TP53")

LittleHeronCodes/Lazy2 documentation built on Jan. 26, 2024, 2:01 p.m.