getSymbols {GeneAnswers} | R Documentation

## Convert entrez gene IDs to gene symbols

### Description

function to convert given entrez gene IDs to gene symbols.

### Usage

    getSymbols(geneIDs, data, strict = FALSE, missing=c('name', 'keep', 'remove'))

### Arguments

`geneIDs` | an Entrez gene IDs vector
`data` | annotation library
`strict` | logic value to stop conversion if NA is introduced.
`missing` | type of handling NA mapping.

### Value

return a gene symbols vector of given gene IDs. There are three types of parameters for variable 'missing'. 'name' means the NA mapping values are replaced by their names. 'keep' means all of NA values are kept. 'remove' means all of NA values are removed.

### Author(s)

Gang Feng, Pan Du and Simon Lin

### References

Feng, G., Du, P., Krett, N., Tessel, M., Rosen, S., Kibbe, W.A. and Lin, S.M., 'A collection of bioconductor methods to visualize gene-list annotations', BMC Research Notes 2010, 3:10

### Examples

    require('org.Mm.eg.db')
    getSymbols(c('11651', '11836'), 'org.Mm.eg.db')

[Package GeneAnswers version 2.24.0 Index]