getCategoryList {GeneAnswers} | R Documentation

## Retrieve categories containing given genes

### Description

Function to retrieve specified category IDs containing given genes.

### Usage

    getCategoryList(geneVector, lib, categoryType)

### Arguments

`geneVector` | an Entrez gene IDs vector
`lib` | annotation library to be used to retrieve categories terms.
`categoryType` | type of category

### Details

The current version only supports Bioconductor team maintained annotation libraries, like 'org.Bt.eg.db', 'org.Ce.eg.db', 'org.Cf.eg.edu', 'org.Dm.eg.db', 'org.Dr.eg.db', 'org.EcK12.eg.db', 'org.EcSakai.eg.db', 'org.Gg.eg.db', 'org.Hs.eg.db', 'org.Mm.eg.db', 'org.Rn.eg.db' and 'org.Ss.eg.db'.

### Value

return a category list, names of the list are category IDs and elements are genes IDs.

### 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

    getCategoryList(c('56458', '16590'), 'org.Mm.eg.db', 'PATH')

[Package GeneAnswers version 2.22.0 Index]