Learn R Programming

GeneAnswers (version 2.14.0)

getCategoryList: 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

Value

return a category list, names of the list are category IDs and elements are genes 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'.

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

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

Run the code above in your browser using DataLab