getPATHList {GeneAnswers} | R Documentation

## Retrieve KEGG categories containing given genes

### Description

Function to retrieve KEGG category IDs containing given genes.

### Usage

    getPATHList(geneVector, lib)

### Arguments

`geneVector` | an Entrez gene IDs vector
`lib` | annotation library to be used to retrieve KEGG IDs.

### 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 KEGG genes ID list, names of the list are KEGG 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

### See Also

`getCategoryList`

### Examples

    a <- getPATHList(c('56458', '16590'), 'org.Mm.eg.db')
    length(a)

[Package GeneAnswers version 2.24.0 Index]