What a connectome is
A connectome is a map of every neuron in a nervous system and the connections between them. Learn what such a map shows, and how scientists study it as a network.
In 60 seconds
What a connectome is
A connectome is a map of every neuron in a nervous system and the connections between them. Learn what such a map shows, and how scientists study it as a network.
Three kinds of neurons, in simple terms
| Kind | What it does | Everyday picture |
|---|---|---|
| Sensory neurons | Pick up information: light, smell, taste, touch | The shop's staff at the door who notice who comes in |
| Interneurons | Connect neurons to each other and combine signals | The office in the middle where decisions are made |
| Motor neurons | Send signals to muscles, so the body moves | The delivery staff who actually carry things out |
The first complete map: a tiny worm
A connectome is a network
- Hubs: which neurons have the most connections, like a busy railway junction?
- Pathways: what is the shortest route from a smell neuron to a leg muscle neuron?
- Groups: which neurons are tightly connected to each other, like a WhatsApp group?
import numpy as np
# MADE-UP example, only for practice. Not real data.
names = ["taste", "relay", "decide", "mouth_motor"]
# W[i][j] = number of synapses from neuron i to neuron j
W = np.array([
[0, 8, 0, 0], # taste -> relay
[0, 0, 6, 0], # relay -> decide
[0, 0, 0, 9], # decide -> mouth_motor
[0, 0, 0, 0],
])
for i, a in enumerate(names):
for j, b in enumerate(names):
if W[i, j] > 0:
print(f"{a:>7} -> {b:<12} {W[i, j]} synapses")
print("Total synapses:", W.sum())What the map tells you, and what it does not
- The signals moving right now, like traffic on the roads
- How the connections change when the animal learns
- Chemicals that wash over many neurons and change their mood
- Everything about each synapse, such as its exact strength
- Every neuron in the mapped brain, and its shape
- Which neurons can talk directly to which
- How many synapses link each pair, a hint of strength
- All possible pathways from senses to muscles
Watch and read more
Lab
A small made-up connectome in networkx, with its hub neurons, a shortest pathway, and a test of what happens when a hub is removed.
The problem
This runs in your browser. All data is made up for practice.
- Run the starter. It builds a small directed graph of made-up neurons.
- Finish
top_hubs(G, k): return the names of thekneurons with the most connections (incoming plus outgoing), most connected first. Hint:G.degree(). - Finish
shortest_route(G, source, target): return the list of neurons on a shortest path. Hint:nx.shortest_path. - Make a copy of the graph, remove
"hub_X"from the copy, and setstill_reachestoTrueorFalse: can"smell_1"still reach"motor_leg"? Hint:nx.has_path. - Write one sentence on what this tells you about hubs.
Practice lab
Edit the code and run it. Python runs in your browser — nothing is sent to our server.
No output. Add print(...) to see values.
You are done when
Hard questions
Try to answer before you reveal. If you can answer these, you understood the lesson.
Q1Counting connections treats a 2-synapse link the same as a 20-synapse link. How could you find hubs that take synapse counts into account?Reveal
Use a weighted degree: add up the synapse counts on each neuron's edges instead of counting edges. In networkx, G.degree(weight="weight") does this. The two measures can rank neurons differently, so it is worth checking both and thinking about which question you are asking.
Q2The shortest path uses the fewest steps. Why might a real signal not take the shortest path?Reveal
A path with fewer steps may pass through weak connections, or through inhibitory neurons that block the signal. Each neuron also needs enough input to fire. So the route a signal really takes depends on connection strengths, whether they excite or inhibit, and what else is active. The map lists possible routes; activity decides which are used.
Questions people ask
Is a connectome the same as a brain scan in a hospital?
No. A hospital MRI scan shows the brain's shape and large regions, in pieces far bigger than single neurons. A connectome maps single neurons and single synapses, which needs electron microscopes and, so far, has been done completely only for small animals.
Why start with worms and flies instead of humans?
Size. A small worm has a few hundred neurons and a fruit fly has about 140,000. The human brain has about 86 billion neurons, so mapping all of it at this level of detail is far beyond what anyone can do today. Small brains let scientists build the methods first.
If we know the whole map, do we understand the animal?
Not fully. The map shows the possible routes, but not the signals, learning or chemistry. It is a very strong starting point, and later lessons show how scientists use it together with experiments.
Are neurons in AI models the same as real neurons?
No. AI "neurons" are simple maths inspired by real ones. Lesson 5 compares them side by side.
Lesson test
5 questions. Get 3 right (60%) to pass and complete this lesson.