Lesson 17 of 20

Network graphs — position carries no meaning

Figs. 2E and 3C · the 1,105-gene DDX54 regulon

Network graphs — position carries no meaning
In a network graph the position of a node was invented by an algorithm. It is not data. The only data is the edges.

Fig. 2E draws the gene regulatory network ARACNe found. DDX54 alone regulates 1,105 genes.

A network graph is made of two things — nodes and edges. But only the edges are in the data. The data says “A and B are connected”; it says nothing about where A belongs on screen.

Node positions are decided by a layout algorithm, usually a force-directed one that pretends connected nodes attract and unconnected ones repel. And that algorithm gives a different answer every time you run it.

Re-lay out the same network several times. The shape changes; the connections do not.
Loading…
The three look nothing alike. And yet not one connected pair changed. Only the seed did.
Python Runs in your browser

So is a network graph useless? No. It just answers a different question.

What a network graph answers
how tangled the whole thing is. Roughly how many blobs there are. Whether edges pile onto one node. Fig. 2E is really showing “DDX54 has a lot of edges”
What it cannot answer
how many edges each node has. Which node is more central. That is a bar chart's job
The same data. But now you can read how many. The graph was not bad — the question was different.
Python Runs in your browser
🤔 Check yourself
Two nodes sit close together in a network graph. What does that mean?
🤔 Check yourself
You want to show which gene connects to the most others. How?