addDiseaseLayer: Add OMIM Layer with its respective Nodes

View source: R/OMIM.R

addDiseaseLayerR Documentation

Add OMIM Layer with its respective Nodes

Description

Add OMIM Layer with its respective Nodes

Usage

addDiseaseLayer(g, biopax, addGenesLayer = FALSE)

Arguments

g

A Mully graph

biopax

A Biopax object

Value

g A Mully graph including OMIM nodes and possible edges

Note

should be preceded by calling romim::set_key('KEY'). The KEY could be requested via omim's official website.

Author(s)

Mohammad Al Maaz

Examples

biopax=readBiopax("wnt.owl") #This is a mully graph that contains a protein layer
pathwayID=listPathways(biopax)$id[1]
g=Multipath::pathway2Mully(biopax,pathwayID)
g=addGenesLayer(g,biopax)
g=addDiseaseLayer(g,biopax)

frankkramer-lab/Multipath documentation built on April 30, 2023, 6:08 p.m.