Extended Data Fig. 7: Spatial clustering of neurons and activity comparison.
From: Causal evidence of a line attractor encoding an affective state

a. Support vector machine decoder trained to separate cell positions of x1 versus x2 neurons. Scenario 1 shows a cartoon where cells are perfectly separated by the SVM decoder and scenario 2 shows a cartoon where cells are inseparable based on their spatial location and shows low classifier accuracy. b. Accuracy of SVM decoder trained on data versus shuffled control (n=10 mice, p=0.156: Two-tailed Mann-Whitney U-test, error bars - sem). c. Classification width of SVM decoder trained on data versus shuffled control (n=10 mice, p=0.578: Two-tailed Mann-Whitney U-test). d. Neural activity of five x1 neurons selected for grouped optogenetic targeting during observation of aggression. e. Neural activity of the same five x1 neurons in panel d during grouped optogenetic activation. f. Comparison of peak z-score of x1 neurons selected for grouped optogenetic activation during observation of aggression and during optogenetic activation (n = 8 mice, p > 0.05: Two-tailed Mann-Whitney U-test, error bars - sem).