plotRegulatoryGraph: This function layouts a regulatory graph and plots it using...

Description Usage Arguments Value Author(s) Examples

Description

This function takes a regulatory graph as generated by pathway2regulatoryGraph and plots it using standard layout options of layoutRegulatoryGraph. This function is a wrapper for layoutRegulatoryGraph with standard parameters. Subgraphs can be painted with different colors. This can be done by passing parameter subgraph a list of character vectors with node names.

Usage

1
plotRegulatoryGraph(mygraph, subgraphs = list(), layoutGraph = TRUE)

Arguments

mygraph

graphNEL, regulatory graph

subgraphs

list of character vectors with node names

layoutGraph

logical. If FALSE the graph is not laid out again but send directly to Rgraphviz::renderGraph.

Value

none

Author(s)

Frank Kramer

Examples

1
2
3
4
5
6
 # load data
 data(biopaxexample)
 pwid1 = "pid_p_100002_wntpathway"
 pwid2 = "pid_p_100146_hespathway"
 mygraph = pathway2RegulatoryGraph(biopax, pwid1)
 plotRegulatoryGraph(mygraph)


Search within the rBiopaxParser package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.