Description Usage Arguments Value Author(s) Examples

View source: R/visualizeBiopax.R

This function returns a graph computed by the insection of supplied graph1 and graph2. Layout and weights of graph1 are kept.

1 | ```
intersectGraphs(graph1, graph2)
``` |

`graph1` |
graphNEL |

`graph2` |
graphNEL |

Returns the intersection of graph1 and graph2.

Frank Kramer

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(intersectGraphs(mygraph1,mygraph2))
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.