Extended Data Fig. 1: LC16 neurons detect visual threats and trigger defensive behaviours in male Drosophila.

A, Locomotion traces of solitary wild-type males before and after threat (n = 8). B, Change in walking speed of wild-type males before and after threat (n = 39). C, Percentage of wild-type males leaving the female (C1) and freezing index (C2) without (grey bar, n = 59) or with the threat (blue bars, n = 59). D, Defensive index of LC16 > TNT males and controls without (grey bars, n = 30,18,38) or with the threat (blue bars, n = 32,16,37). E, Defensive index after artificial activation of LC16>CsChrimson without the threat (nred light OFF = 17,16,15; nred light ON = 27,21,20) and controls. F, Change in walking speed of LC16 > TNT males and controls before and after threat (n = 28,23,28). G, Courtship indexes of wild type and transgenic males exposed to a mechanical threat (n = 13,17,17,14,14,27,28,17,15,18). H, Left: ∆F/F0% of LC16 > GCaMP7b signal pre and post exposure to a female fly. Right: mean ∆F/F0% comparing pre and post time windows (n = 5). The sample sizes represent biologically independent animals. Solid line and shaded area of live-imaging traces show mean ± s.e.m respectively. Boxes delimit the lower (25th) and upper interquartile (75th), and the horizontal line represents the median. Calcium imaging quantification plots are shown as min/max plots and median as horizontal line. Each dot represents a single fly. Significant differences are indicated by different letters at the level of p < 0.05 (e.g: a is different from b but not from ab). See Supplementary Table 1 for details on statistics.