This function creates the necessary annotation object of class
ipDataSource containing the pathway and InterPro ID
mappings.
Usage
dataSource(mapping, type = "generic")
Arguments
mapping
A named list providing a mapping between enterzgene
identifiers and arbitrary groupings of genes or pathways.
type
The type of pathway. A character skalar.
Value
Object of class ipDataSource
Details
For genes without pathway membership, NA list items need to be
included in mapping. The names of the list comprise the gene
universe to test against. The function will access the ensembl
biomaRt database in order to retrieve the necessary InterPro domain
information.