GENE.to.ENS: Convert gene ids to ensembl ids

Description Usage Arguments Value Author(s) See Also Examples

View source: R/humarray.R

Description

Retrieve the ensembl IDs corresponding to a list of common gene names (HGNC format).

Usage

1
GENE.to.ENS(genes, dir = NULL, ...)

Arguments

genes

character, gene labels, e.g, "APOE"

dir

character, 'dir' is the location to download gene and cytoband information; if left as NULL, depending on the value of getOption("save.annot.in.current"), the annotation will either be saved in the working directory to speed-up subsequent lookups, or deleted after use.

...

further arguments to get.gene.annot()

Value

Returns a vector of HGNC gene ids corresponding to the 'ens' ensembl ids entered, any ids not found will be returned as NA.

Author(s)

Nicholas Cooper nick.cooper@cimr.cam.ac.uk

See Also

GENE.to.ENS, rs.to.id, id.to.rs; eg2sym, sym2eg from package 'gage'

Examples

1
2
3
setwd(tempdir())
gene.ids <- c("MYC","PTPN2","IL2RA","APOE")
GENE.to.ENS(gene.ids)

humarray documentation built on Nov. 20, 2017, 1:05 a.m.