⑥ Classify¶
Classification sorts cells into named classes with a classification tree that you build: threshold gates on a channel's intensity, and ML classifiers on the shape of the calcium trace. The tree is edited in the Cell States window's Classify tab; the ⑥ Classify step in the Pipeline panel is the shortcut to pick a template and run it.
Running¶
- Choose a starting template, or click Open Cell States → Classify to build or edit your own tree.
- Click Run classification.
Results go to the Cell Table and Track Table in the Cell States window, and can colour the cells on the viewer (Rendering panel, colour by Classification).
The tree¶
- Threshold gate
- Pick a channel, a normalisation and a threshold. Each of the two outcomes (for example Alive / Dead, or T cell / Target) becomes a branch that only sees the cells that landed in it.
- ML classifier
-
A 1-D convolutional neural network that reads each cell's normalised calcium trace and assigns a response class, applied only to the cells that reached it through the gates above. The default model's classes are:
Class Meaning Single peak One clear calcium transient during the movie. Oscillating Repeated calcium spikes. Non-triggering No detectable calcium response.
Your own models trained on the CalQTrace ML Service can be used in the tree instead (Training → CalQTrace ML Service…).
Manual overrides win
If you disagree with a class, set the Manual column in the Track Table. Manual annotations override ML predictions everywhere, including exports.
Signal normalization¶
The Signal Normalization section at the top of the Cell States window sets, per channel, how raw intensity is scaled before a gate or a plot sees it:
- Temporal Max (default)
- Divide by the channel's highest value in the whole workspace.
- Temporal Percentile
- Stretch between a low and a high percentile (for example 1st–99th).
- Constant
- Your own absolute minimum and maximum.
Normalisation never changes stored raw data, only how it is displayed and thresholded.
Interaction analysis¶
Some questions are about a relationship between two cells, for example whether a T cell's calcium activity is followed shortly by a response in a nearby target cell. These do not fit the tree, so Interaction analysis is a separate action: pick the two populations (from gates you have already run), a distance and a time window, and it lists the cell pairs that respond.