Open the teaching deck, worksheet, and editable slide source.
Interactive Lab
Practice in short loops: checkpoint quiz, microtask decision, and competency progress tracking.
Checkpoint Quiz
NeuroAI Analysis Microtask
Before reporting a motif result, include:
Progress Tracker
State is saved locally in your browser for this module.
0% complete
NeuroAI Pattern Annotation
Select the hotspot most relevant to motif evidence before model claim reporting.
Selected hotspot: none
Capability target
Produce a skeleton-based morphology summary with at least three descriptors and one explicit limitation.
Concept set
1) What is skeletonization and why do we need it?
A segmented neuron occupies millions of voxels in the EM volume. To analyze its morphology efficiently, we reduce it to a skeleton: a tree graph where nodes represent points along the neurite centerline and edges represent the path between them. Skeletons compress a neuron’s 3D structure from gigabytes to kilobytes while preserving topology (branching pattern, path lengths, connectivity).
Skeletonization algorithms (e.g., TEASAR — Sato et al. 2000) work by finding the medial axis of the volumetric segment. The result is a set of nodes with (x, y, z, radius) attributes connected in a parent-child tree rooted at the soma. The standard file format is SWC (Stockley-Wheal-Cole), where each line records: node ID, compartment type, x, y, z, radius, parent ID.
2) Core morphological descriptors
From a skeleton, you can compute a rich set of descriptors that characterize neuron morphology:
Descriptor
Definition
Biological meaning
Total cable length
Sum of all edge lengths (μm)
Extent of the neuron’s arbor; correlates with total input capacity
Number of branch points
Nodes with >1 child
Arbor complexity; more branches = more distributed connectivity
Branch order
Distance (in branches) from soma
Proximal vs distal structure
Strahler number
Hierarchical ordering of branches (terminal = 1, increases at confluences of equal order)
Tree complexity metric from hydrology, useful for comparing neuron types
Sholl analysis
Number of intersections with concentric spheres centered on soma
Spatial distribution of arbor; peaks indicate regions of maximum branching
Tortuosity
Path length / Euclidean distance between endpoints
How “winding” a process is; axons tend to be more tortuous than dendrites
Spine density
Spines per μm of dendritic length
Input density; excitatory neurons have 0.5-3 spines/μm, inhibitory neurons ~0
Arbor volume
Convex hull of all skeleton nodes
Spatial territory covered by the neuron
Bifurcation angles
Angle between daughter branches at each branch point
Distinguishes cell types (pyramidal cells have characteristic apical bifurcation)
3) Morphology for cell-type classification
Neuronal cell types have characteristic morphological signatures. A layer 5 thick-tufted pyramidal cell has a distinctive apical dendrite reaching L1 with a prominent terminal tuft, thick axon, and large soma. A parvalbumin+ basket cell has smooth dendrites and a dense local axonal arbor. By computing morphological descriptors and comparing to reference databases, you can classify neurons from their shape alone.
Key tools: NeuroM (Blue Brain Project) for morphology analysis in Python. NBLAST (Costa et al. 2016) for morphological similarity search — compare a neuron’s shape to a library of typed neurons and find the best match.
Volume boundary effects truncate neurons that extend beyond the imaged region, biasing measurements toward smaller/simpler morphologies.
Skeletonization artifacts can create false branches (from noisy segmentation boundaries) or miss thin processes.
Always report: reconstruction completeness (estimated fraction of arbor within volume), known errors, and how these might affect the measured descriptors.
Core workflow
Build skeleton from volumetric segmentation using TEASAR or equivalent algorithm.
Quality-check the skeleton: prune spurious branches, verify branch points, check for disconnected fragments.
Compare against reference patterns: does this neuron match the expected morphology for its putative cell type?
Report interpretation confidence: which descriptors are robust, which are affected by reconstruction quality?
60-minute tutorial run-of-show
Pre-class preparation (10 min async)
Review the data formats content library entry (skeletons section)
Install/check NeuroM or equivalent morphology analysis package
Minute-by-minute plan
**00:00-10:00
Morphology overview**
“Why do we care about neuron shape?” — Shape constrains function: a neuron’s dendritic arbor determines what inputs it can receive; its axonal arbor determines where it can send output.
Show 3 neuron types (pyramidal, basket, Martinotti) and their characteristic morphologies.
“Today you’ll learn to quantify these shapes from EM data.”
**10:00-24:00
Skeleton extraction demo**
Live demo: take a segmented neuron, run skeletonization, visualize result in Neuroglancer.
Walk through SWC format: “Each line is a node. Parent ID tells you the tree structure.”
Common pitfall: show a skeleton with spurious branches from noisy segmentation. Demonstrate pruning.
**24:00-38:00
Descriptor calculation**
Hands-on: learners compute 5 descriptors for one neuron using NeuroM or provided scripts.
Compare results across the group: did everyone get the same numbers? Discuss sources of variation.
Introduce Sholl analysis with live visualization.
**38:00-50:00
Interpretation and caveats**
“Your neuron has total cable length of 2,100 μm and 47 branch points. Is that a lot?” — Compare to published values for the putative cell type.
Discussion: which descriptors are robust to reconstruction errors? (Cable length is sensitive to splits; branch count is sensitive to both splits and spurious branches; spine density is robust if the segmentation boundary is accurate.)
“What if 30% of the arbor is outside the volume? How does that change your interpretation?”
**50:00-60:00
Competency check**
Each learner submits their morphology descriptor table with:
At least 3 descriptors with values
Putative cell-type classification based on morphology
One explicit limitation of the measurement
Exit ticket: “Name one morphology feature that could be confounded by reconstruction quality.”
Studio activity: comparative morphometry (60-75 minutes)
Scenario: You have skeletons for 10 neurons in L2/3 of mouse visual cortex. Your task is to classify them as pyramidal vs interneuron based on morphology alone, then validate against synapse-based classification (excitatory vs inhibitory output synapses).
Task sequence:
Compute morphological descriptors for all 10 neurons (cable length, branch points, spine density, Strahler number, arbor volume).
Create a summary table and scatter plot (e.g., spine density vs cable length).
Classify each neuron as pyramidal or interneuron based on morphological criteria.
Compare your morphological classification to the synapse-based classification (provided). Do they agree?
For any mismatches, investigate: was the morphological measurement affected by reconstruction quality?
Costa M et al. (2016) “NBLAST: rapid, sensitive comparison of neuronal structure and construction of neuron family databases.” Neuron 91(2):293-311.
Sato M et al. (2000) “TEASAR: Tree-structure extraction algorithm for accurate and robust skeletons.” Pacific Conference on Computer Graphics and Applications.
Scorcioni R, Polavaram S, Bhatt GA (2008) “L-Measure: a web-accessible tool for the analysis, comparison and search of digital reconstructions of neuronal morphologies.” Nature Protocols 3(5):866-876.
Ascoli GA et al. (2007) “Petilla terminology: nomenclature of features of GABAergic interneurons of the cerebral cortex.” Nature Reviews Neuroscience 8(7):557-568.
Quick practice prompt
Explain one morphology feature that could be confounded by reconstruction quality.
Teaching Materials
Slide Deck
Classroom-ready deck links for teaching and delivery.