I have two GR networks from which I extracted two subnetworks using the same list of genes (nodes). I want to be able to visually compare the topology of the resulting subnetworks. In other words, I want to be able to put the two subnetworks side by side and see which edges exist in one subnetwork but don't exist in the other.
So far, I have not been able to find a built-in functionality, nor a plugin, that would allow me to "freeze" a particular topology of nodes, and then add edges.
This is not a computational problem. I just want to be able to show a figure which will be easy to understand.
I could also calculate the union of edges in the two subnetworks and then color the resulting network's edges by "in subnetwork 1 only", "in subnetwork 2 only", and "common"; but I'd rather have a side by side figure.
Do any of you have any suggestions?
Brilliant solution. Thanks David.
Just to clarify - by BOTH you meant EITHER, right? To get the union/all edges? So I may need 4 categories: net1, net2, both (intersection), either (union). I'll try it out.
You can get the union by showing all edges and not masking anything. If you want to show the intersection of A and B, show only edges tagged with BOTH. Network A is "BOTH or A", and network B is "BOTH or B".