Learn R Programming

domainsignatures (version 1.32.0)

dataSource: Contructor for annotation object

Description

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.

See Also

gseDomain, getKEGGdata

Examples

Run this code
if(interactive())
{
grouping <- list("653361"=c("pw1", "pw2"), "729230"="pw1",
                 "415117"="pw3") 
dataSource(grouping)
}

Run the code above in your browser using DataLab