diffGraphs: This function returns the different nodes and edges between...

Description Usage Arguments Value Author(s) Examples

Description

This function returns the different nodes and edges between graph1 and graph2. Layout options of graph1 are kept. Coloring currently not implemented.

Usage

1
2
diffGraphs(graph1, graph2, colorNodes = TRUE, colors = c("#B3E2CD",
  "#FDCDAC"))

Arguments

graph1

graphNEL

graph2

graphNEL

colorNodes

logical

colors

character vector of colors. If colorNodes==TRUE these colors are used for graph1 and graph2 respectivley.

Value

Return the diff between the graphs.

Author(s)

Frank Kramer

Examples

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


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.