This function calculates the overlap of 2 graphs

Description

This function calculates the overlap of supplied graph1 with graph2. Layout and weights of graph1 are kept.

Usage

1
calcGraphOverlap(graph1, graph2)

Arguments

graph1

graphNEL

graph2

graphNEL

Value

Returns a list containing the compared graphs and edge- and node-wise overlap between them.

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

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.