Learn R Programming

pathRender (version 1.36.0)

rendercMAPPathway: Render pathways from cMAP

Description

Build graphs based on pathway or interaction data from cMAP database, render them using Rgraphviz.

Usage

rendercMAPPathway(pname, ino=0)

Arguments

pname
name of the pathway to render
ino
index of the interaction in the given pathway to render

Value

None. A graphical output is presented.

Details

For a given pathway in cMAP database, we build a subgraph for each interaction in the pathway, join them together to form the graph for the complete pathway. The subgraphs for interactions and the graph for the pathway include info for rendering, such as labels/shapes/fillcolors for nodes, colors/styles/weights for edges. If user specifies an index of interaction, only the interaction is rendered. Otherwise, the complete pathway is rendered.

Examples

Run this code
   rendercMAPPathway("plateletapppathway")
   rendercMAPPathway("plateletapppathway", 5)
   rendercMAPPathway("hsa00601")
   rendercMAPPathway("hsa00601", 10)

Run the code above in your browser using DataLab