Skip to main content
eLife logoLink to eLife
. 2023 Apr 17;12:e85202. doi: 10.7554/eLife.85202

Global change in brain state during spontaneous and forced walk in Drosophila is composed of combined activity patterns of different neuron classes

Sophie Aimon 1,, Karen Y Cheng 1,2, Julijana Gjorgjieva 1,3, Ilona C Grunwald Kadow 1,2,
Editors: Damon A Clark4, Claude Desplan5
PMCID: PMC10168698  PMID: 37067152

Abstract

Movement-correlated brain activity has been found across species and brain regions. Here, we used fast whole brain lightfield imaging in adult Drosophila to investigate the relationship between walk and brain-wide neuronal activity. We observed a global change in activity that tightly correlated with spontaneous bouts of walk. While imaging specific sets of excitatory, inhibitory, and neuromodulatory neurons highlighted their joint contribution, spatial heterogeneity in walk- and turning-induced activity allowed parsing unique responses from subregions and sometimes individual candidate neurons. For example, previously uncharacterized serotonergic neurons were inhibited during walk. While activity onset in some areas preceded walk onset exclusively in spontaneously walking animals, spontaneous and forced walk elicited similar activity in most brain regions. These data suggest a major contribution of walk and walk-related sensory or proprioceptive information to global activity of all major neuronal classes.

Research organism: D. melanogaster

Introduction

Growing evidence from nematodes to mammals shows that ongoing behavior affects brain activity globally (Kaplan and Zimmer, 2020; Parker et al., 2020). Using a combination of imaging and neuropixel recordings in awake, behaving mice, recent work showed that multiple dimensions of (spontaneous) behavior, including facial or body movements, are represented brain-wide, allowing the integration of external or internal stimuli with the current behavioral state (Macé et al., 2018; Musall et al., 2019; Stringer et al., 2019). Brain-wide imaging at single cell resolution of calcium activity in C. elegans and larval zebrafish indicated that as in mammals, multiple aspects of behavior and motor activity are represented across the brain including areas thought to be dedicated to primary sensory information processing (Kato et al., 2015; Marques et al., 2020; Vladimirov et al., 2014). Importantly, such brain-wide representations of motor states are observed independently of visual or olfactory inputs.

Previous studies suggested a similar phenomenon in insects. For example, in Drosophila melanogaster, active flight modulates visual motion processing (Maimon et al., 2010). Similarly, visual horizontal system cells encode quantitative information about the fly’s walking behavior independently of visual input (Fujiwara et al., 2017). Beyond primary sensory brain areas, several types of dopaminergic neurons innervating the fly’s higher brain center, the mushroom body (MB), show activity highly correlated with bouts of walking (Siju et al., 2020; Zolin et al., 2021). Importantly, whole brain imaging revealed that behavior-related activity occurred in most brain regions and was independent of visual or olfactory input (Aimon et al., 2019; Mann et al., 2021; Schaffer et al., 2021).

These and other studies provide convincing evidence for brain-wide signatures of behavior across species. However, the identity of the specific neuron types and neurotransmitters involved as well as where and how behavior-related information is relayed to the brain remain largely unanswered questions. Complementary to other animal models, the fly provides opportunities to study adult, global brain states associated with behavior at high temporal and spatial resolution due to its small brain size (Aimon and Grunwald Kadow, 2019). In addition, recent electron microscopy (EM) connectomics highlighted that neural networks spread across the entire brain with many pathways unrevealed by traditional single neuron manipulation experiments (Scheffer et al., 2020). Adult Drosophila behavior has been studied in detail for many years (Berman et al., 2016; Calhoun et al., 2019; DeAngelis et al., 2019; Geurten et al., 2014; Katsov et al., 2017; Mendes et al., 2014; Mueller et al., 2019; Tao et al., 2019; Tsai and Chou, 2019), but the resulting or underlying brain-wide activity for even just roughly defined behavioral states such as resting or walking remains mostly unknown.

Movement in adult Drosophila is thought to be controlled by descending neurons connecting the brain to the ventral nerve cord (VNC), which contains local pattern generators responsible for movement (Bidaye et al., 2020; Bidaye et al., 2014; Emanuel et al., 2020; von Philipsborn et al., 2011; Zacarias et al., 2018). This top-down view is challenged by other studies suggesting that behavioral control is decentralized with feedback loops involving the brain (Schilling and Cruse, 2020; Sims et al., 2019), or even that many behaviors could be locally controlled by neurons in the VNC without involving the brain (e.g., decapitated grooming Hirsh, 1997).

Here, we build on our previous work (Aimon et al., 2019) using fast whole brain imaging during ongoing behavior to more comprehensively unravel the spatial and temporal relationship among movement, brain state, and neural network activity across multiple brain structures and neuronal subtypes. We first look at which regions and neurons expressing different neuromodulators are correlated to walk and turn. We next characterize the timing of activation at behavior transitions between rest and walk and find that walk-related activity in most brain regions starts at or after the transition. Nevertheless, several activity components, for example, in the posterior slope, show increased activity before walk onset. This is consistent with the hypothesis that brain activity in most regions originates primarily from efferent or proprioceptive feedback, and that few brain regions are directly involved in top-down movement control. To test this hypothesis, we compare global brain activity during forced and spontaneous walk and find them to be similar in most brain regions with select areas preceding exclusively spontaneous walk. Our results suggest that walk elicits a global change in brain state composed of the activity of all brain regions and major neuron types.

Results

Whole brain imaging reveals broad activation during walk

To image whole brain activity during spontaneous behavior, we fixed the fly’s head to a holder, opened the posterior head capsule for optical access while leaving the legs free to move (Woller et al., 2021; Figure 1A), and used a ball as a walkable surface (Seelig et al., 2010; Figure 1A). We expressed GCaMP pan-neuronally and imaged calcium transients in the neuropil as a proxy of neuronal activity in the whole brain using fast light field microscopy (LFM) as described previously (Aimon et al., 2019). Briefly, a multilens array captures an image of the entire brain. These raw images were subsequently processed to reconstruct the brain volume, corrected for movement artifacts, and aligned to a template to identify the brain regions or activity components with behavior-correlated calcium changes (Figure 1A). This resulted in recordings of neuropil at a typical scale of 5 µm (Aimon et al., 2019). To characterize the relationship between neuropil activity and behavior, we used linear models (FF=f(behavior)), generating a coefficient and R2, which have complementary properties. The R2, representing the fraction of variance explained by the behavior, will decrease with noisier signals (such as those from flies with low GCaMP expression levels). By contrast, the coefficient, representing the intensity and sign of the relationship between activity and behavior, will not have the same dependance to noise (its value will be less precise with higher noise). While LFM allows for very fast imaging frame rates (up to 200 Hz for the whole brain), signal-to-noise ratio decreases with imaging speed. We used a variety of GCaMP sensors (UAS-GCaMP6s/6m/6f/7s/7f) and frame rates to capture both high speed and low signal-to-noise transients. With our data (N = 12 flies), we found no significant difference between the R2 at different frame rates (5–98 Hz) for flies expressing GCaMP pan-neuronally (Figure 1—figure supplement 1A), and thus pooled these data for the analysis below regarding global brain state.

Figure 1. Global brain activation during walk.

(A) Schematic overview of the preparation and analysis method. Please see methods for details. (B) Raster plot of the activity of regions. Top panels depict walking bouts in green and rest or grooming in magenta. Lower panel shows calcium activity elicited throughout the experiment. The brighter the higher the calcium transients. Mean forward speed: 5.6 mm/s, mean angular velocity: 0.4 rad/s. Bar is 60 μm. (C) Sample traces (ΔF/F) for different brain regions relative to walk (green). (D) First two principal components from whole brain activity color coded with behavior (see additional examples in Figure 1—figure supplement 1). (E) R2 for regression of single regions with single behaviors (all regions were pooled, but p-values are obtained after averaging regions for each fly. Walk: N = 16, Flail: N = 7, Groom: N = 6). Mann–Whitney U-test Bonferroni adjusted p-values: Walk vs. Flail: 0.085, Walk vs. Groom: 0.011, Flail vs. Groom: 0.26. Center line, median; box limits, upper and lower quartiles; whiskers, ×1.5 interquartile range; points, outliers. (F) R2 of single region activity regression with walk, walk onset and walk offset (all regions were pooled, nsyb-Gal4: N = 16, GMR57C10-Gal4: N = 4). Regressors for walk onset or offset are Dirac functions convolved with the GCaMP response (see Methods). Box plots show: center line, median; box limits, upper and lower quartiles; whiskers, ×1.5 interquartile range; points, outliers. Mann–Whitney U-test for the two genotypes grouped (comparison of fly-wise averages): walk vs. walk onset: p = 3 × 10−5, walk vs. walk offset: p = 6 × 10−5. (G) Z-stack map of R2 median (Walk: N (flies) = 16, Flail: N = 7, Groom: N = 6) for regression between single region activity and walk, flail or groom (see values in Figure 1—figure supplement 1D-F). (H) Coefficient of single region’ activity regression with walk. All regions’ 95% CI ( bars) are above zero and all adjusted p-values <0.001 (Benjamini–Hochberg correction). N = 16.

Figure 1.

Figure 1—figure supplement 1. Correlation of regional activity with walk.

Figure 1—figure supplement 1.

(A) R2 during walk at different recording frequencies for pan-neuronally expressed GCaMP6f or GCaMP6m (all regions were pooled). No significant difference was found for walk between the different frequencies. Box plots show: center line, median; box limits, upper and lower quartiles; whiskers, ×1.5 interquartile range; points, outliers. (B) R2 for walking with eyes free (not painted, N = 5) and eyes covered (painted, N = 5, p-value: 0.34). Box plots show: center line, median; box limits, upper and lower quartiles; whiskers, ×1.5 interquartile range; points, outliers. (C) Additional examples (two different flies) of whole brain activity reduced to the two first principal component space. (D) R2 obtained with regressing activity of individual regions with walk (pan-Gal4;UAS-GCaMP). Adjusted p-values (Benjamini–Hochberg correction) were all <0.01. Bars are 95% CI. (E) R2 obtained with regressing activity of individual regions with flail (pan-Gal4;UAS-GCaMP). Empty markers correspond to adjusted (Benjamini–Hochberg correction) p-value >0.05 for comparison to 0. Bars are 95% CI. (F) R2 obtained with regressing activity of individual regions with groom (pan-Gal4;UAS-GCaMP). Bars are 95% CI. (G) Correlation coefficient obtained with regressing activity of individual regions with flail (pan-Gal4;UAS-GCaMP). Bars are 95% CI. (H) Correlation coefficient obtained with regressing activity of individual regions with grooming behavior (pan-Gal4;UAS-GCaMP). Bars are 95% CI. (I) R2 obtained with regressing activity of individual regions with walking on an air-supported (N = 19) vs. a styrofoam ball (N = 13), p-value = 0.02. Box plots show: center line, median; box limits, upper and lower quartiles; whiskers, ×1.5 interquartile range; points, outliers. (J) R2 obtained with regressing activity of individual regions with walking on an air-supported (N = 19) vs. a Styrofoam ball (N = 13). Box plots show: center line, median; box limits, upper and lower quartiles; whiskers, ×1.5 interquartile range; points, outliers. (K) Top: Examples of brain activity maps (R2 as z-stacks) and names of individual brain regions. Bottom: Schematic showing brain regions in adult fly brain adapted from Ito et al., 2014.

We observed a strong increase in neuronal activity across the brain during bouts of walking compared to during resting or grooming (Video 1, Figure 1B, C). Accordingly, in experiments where the fly was both walking and resting, the first principal component (PC1) of the whole brain activity data was strongly correlated to walk (Figure 1D). By aligning whole brain imaging data to the JFR2018 fly brain template using landmark registration, and by averaging activity in each large anatomically defined region (see Methods), we also found that the global activity of individual brain regions correlated with walk (Figure 1B, C). Neuronal activation followed movement bouts at high temporal precision (limited by the temporal resolution of the calcium reporter) inconsistent with activity generated by slower general arousal such as wake and sleep (Figure 1B, C). However, calcium responses were still a little slower than some of the fast changes in walking, even after convolution of walking with the GCaMP impulse response, which suggests that faster probes could capture finer dynamics in further studies (Figure 1C). Nevertheless, using walking behavior we were able to explain ~20% of all variances observed in the experiments (R2 median = 0.194, Figure 1E). Moreover, the global activity correlated primarily with walk and not with the start or end of walk (Figure 1F).

Video 1. Movie of pan-neuronal activation during walk and groom (accelerated).

Download video file (526.2KB, mp4)

We next mapped the differences in activity during different behaviors to smaller brain regions to understand their spatial organization. Strikingly, unlike grooming, which resulted in local activation of ventral brain areas consistent with (Hampel et al., 2015 and Robie et al., 2017), all brain regions were significantly positively correlated with walking (Figure 1E, G). To compare walk- vs. flailing-related neural activity, we also carried out experiments without a walking substrate, so that the fly moves its legs freely in the air. While we still observed an increase in activity during bouts of flailing, the brain was not as consistently globally activated as during walking in our hands (Figure 1E, G, see also Schaffer et al., 2021). We used one linear model to characterize the correlation of brain activity with walking (FF=f(walk)), generating a coefficient and (R2) and an additional linear model to determine how this correlation depended on the brain region (R2=f(region) and Coefficient=f(region)). To ensure our results were not biased by heterogeneous expression in the pan-neuronal transgenic driver line, we used two different pan-neuronal lines (nsyb-Gal4 and GMR57C10-Gal4). The linear model (Table 1) showed that there was no significant effect of the Gal4-driver. We found a small but significant effect of the GCaMP version used, likely reflecting the higher signal to noise ratio for GCaMP6s and GCaMP7s, and thus kept using the model to take this effect into account for the rest of the study. Using this model, we quantified the effect of the distinct brain regions on both the normalized coefficient and the R2 of the regression of regionally averaged activity with the behavior regressor (Figure 1H, Figure 1—figure supplement 1 D-J). While all brain areas were significantly activated during walk (Figure 1G, H, Figure 1—figure supplement 1C), only the ventral regions (AMMC, GNG, IPS, IVLP, and SAD; see Table 2 and Ito et al., 2014 for meaning of acronyms) showed significant correlation with grooming (Figure 1—figure supplement 1F,H). Flailing represents an intermediate state with many brain regions activated but less consistently as compared to walk (Figure 1G, Figure 1—figure supplement 1E,G ).

Table 1. Summary statistics of R2 dependence on different factors where R2 is obtained from regressing a single regionally averaged brain activity with a single behavior.

sum_sq PR(>F)
GAL4 0.002197 7.58E−01
Behavior 12.215185 1.64E−106
RegionNames 10.372902 4.13E−65
UAS 2.083138 2.13E−18
Behavior:RegionNames 1.45213 9.17E−01
Residual 67.904784 NaN

Table 2. List of components with potential underlying candidate neurons.

Most matches are speculative except those in bold that correspond to high confidence matches due to the lack of other Gal4-positive neurons in the region.

Short name Description Examples of matching (Flycircuit) neurons Present in Gal4 line (detected in ≥5 flies)
Antennal lobe and mushroom body
AL Whole antennal lobe Gad1-F-000394; Gad1-F-100601; Gad1-F-800129; VGlut-F-900126 Nsyb, GMR57C10, Vglut, Gad
PN Antennal lobe projection neuron VGlut-F-500486 Nsyb, GMR57C10, Cha, Vglut, Gad
MultiGl Whole antennal lobe and PN-like projections Trh-F-600017 TH, Trh, TDC
PNv Antennal lobe projection neuron, ventral tract of the lateral horn VFB_00101133 Nsyb, GMR57C10, Cha, Vglut, Gad
PN-KC Antennal lobe projection neuron and kenyon cell in the same component Nsyb, GMR57C10, Cha, Vglut
KCab Alpha-Beta Kenyon cell Cha-F-300226; Cha-F-100049; fru-F-000026; Vglut-F-100284; Gad1-F-100014; Nsyb, GMR57C10
KCapbp Alpha’-Beta’; Kenyon cell Gad1-F-100024; Trh-F-200069; Nsyb, GMR57C10
KCg Gamma kenyon cells fru-F-000006; Vglut-F-100359; Gad1-F-100021; Nsyb, GMR57C10
Beta1Betap1 Beta1 and/or Beta’1 mushroom body compartment PAM10(B1)_L (FlyEM-HB:1328522741) [VFB_jrchk385] TH
Beta2Betap2 Beta2 and/or Beta’2 mushroom body compartment PAM02(B’2a)_L (FlyEM-HB:1295566429) Nsyb, Gad, TH
Gamma1 Gamma1 mushroom body compartment PPL1-gamma1-pedc TH
Gamma2 Gamma2 mushroom body compartment PPL1-gamma2-alpha’1 TH
Gamma3 Gamma3 mushroom body compartment MBON-γ3, PAM-γ3 Gad, TH
Gamma4 Gamma4 mushroom body compartment PAM-γ4 TH
Gamma5 Gamma5 mushroom body compartment PAM-γ5 TH
SLP-Alpha Alpha or Alpha’ lobe with projection through the superior lateral neuropil VGlut-F-500002 Vglut
Alpha1 Alpha1 mushroom body compartment PAM-alpha1 TH
Alpha2 Alpha2 mushroom body compartment PPL1-alpha’2alpha2 TH
Alpha3 Alpha3 mushroom body compartment PPL1-alpha3 TH
Alphap3 Alpha’3 mushroom body compartment PPL1-alpha’3 TH
Superior neuropil
SCLtract Tract linking both superior clamp Trh-F-200082,Trh-F-100051 Trh
CLvert Lateral part of the superior clamp TH-F-000023 Nsyb, TH
CL? Interrogation point surrounding the pedonculus, Trh-F-300074,Trh-M-700081, DNp32 TH, Trh
CL-LH Surrounds the lateral horn from the medial and ventral directions Trh-F-200047 Trh, TDC
CL Other shapes at the level of the clamp Gad1-F-700550,Gad1-F-800055 Nsyb, GMR57C10, Gad, TH, TDC
SMPm Medial part of the superior medial protocerebrum TH-F-000021; VGlut-F-700286, Cha-F-300251 Nsyb, GMR57C10, Cha, Vglut, Gad, TH, TDC
PPL-SMP Ventral lateral part of the superior medial protocerebrum, with tracts coming from a posterior lateral cell cluster TH-F-000019,TH-F-000018,TH-F-000046 TH
SMPl-SIP Superior intermediate protocerebrum and lateral part of the superior medial protocerebrum Cha-F-000221,Cha-F-300154, TH-F-300056 Nsyb, GMR57C10, Cha, Gad, TH, TDC
SIP-SMPd Superior intermediate protocerebrum and dorsal part of the superior medial protocerebrum fru-F-800063 Nsyb
SIP-FB Superior intermediate protocerebrum and dorsal layer of the fan-shaped body Trh-F-100015 Nsyb, GMR57C10, TH, Trh
FB-SN Broad innervaion of the superior neuropil, and fan-shaped body OA-VMP3, OA-VPM4 TDC
SLP-SMPproj Large SMP neuron projecting to ventral regions Trh-F-700011,Trh-F-000083 Nsyb, GMR57C10, TH, Trh
SLP-SMP Superior lateral protocerebrum and superior medial protocerebrum Trh-F-500176, DNp25 Trh
SLP Superior lateral protocerebrum only TH-F-100046 Nsyb, GMR57C10, TH, TDC
LH-SLP Lateral horn and superior lateral protocerebrum Gad1-F-900346,Gad1-F-600340 Nsyb, Gad
Central complex
FBcol Fan-shaped body columns Tdc2-F-100009; Tdc2-F-300026; Tdc2-F-300001; Tdc2-F-200011; Tdc2-F-100062; Tdc2-F-100016; Gad1-F-900245; Gad1-F-800329; Gad1-F-500513; Gad1-100157 Nsyb, GMR57C10, Vglut, Gad, TDC
FBlayv Ventral layer of the fan-shaped body TH-M-300065 Nsyb, TH
FBlaym Medial layer of the fan-shaped body TH-F-200055 Nsyb, TH
FBlayd Dorsal layer of the fan-shaped body TH-F-200054; Trh-F-300036; Trh-F-400062 Nsyb, TH, Trh
NO Nodulus or noduli Cha-F-100429 Nsyb
PB Protocerebral bridge only Vglut-F-800282; Vglut-F-600784; Vglut-F-600229; Gad1-F-600267; Gad1-F-100361; Gad1-F-100593; Vglut-F-000156; Vglut-F-100064 Nsyb, Vglut, Gad
PBfull Components with full protocerebral bridge Cha-F-900016, Cha-F-200148 Nsyb, GMR57C10, Cha
PB-DA Protocerebral bridge and two dots (maybe cell bodies) at the top of the trachea TH-F-000048 TH
BU-PBl-EB Bulb, ellipsoid body and lateral part of the protocerebral bridge Gad1-F-900445 Nsyb, Gad
PB-EB EB-radial and PB glomeruli Cha-F-500009 Nsyb, GMR57C10, Cha, Gad
EB Ellipsoid body rings Trh-F-300095; Cha-F-800146 Nsyb, GMR57C10, Cha, Vglut, Trh
EB-DA Ellipsoid body and lateral accessory lobe TH-F-100001 TH
AOTU-BU Anterior optic tubercule and bulb Gad1-F-200712, VGlut-F-400630 Nsyb, GMR57C10, Cha, Vglut, Gad
Posterior neuropil
IB Inferior bridge Nsyb, Gad
ATL Antler Adult antler neuron 031 TH, Trh
M-Omega Posterior ensemble forming an M dorsally and an omega ventrally TH-F-300078 TH
SPS Superior posterior slope VGlut-F-900089, VGlut-F-800136,Cha-F-800003,Gad1-F-900039 Nsyb, GMR57C10, Cha, Vglut, Gad
IPS-Y Inverse Y shape in the posterior slope DNb02? Nsyb, GMR57C10, Cha, Vglut, Gad
LAL-PS Lateral accessory lobe and posterior slope DNb01? Nsyb, GMR57C10, Cha, Vglut, Gad
PPM2-LW PPM2-LAL-We L,R TH-F-000000,TH-F-000015,TH-F-000016 TH
PPM2-VI PPM2-VMNP-INP L,R TH-F-000007,TH-F-300058 TH
Lateral neuropil
WPENb Antennal mechanosensory and motor center and/or Wedge, in the posterior lateral protocerebrum and posterior connection to opposite side VGlut-F-200005,WPNb, WPNB3#5 (FAFB:4271367) [VFB_001011lp] Vglut, Gad
AMMC-PLP Antennal mechanosensory and motor center and/or Wedge and branch in the posterior lateral protocerebrum VGlut-F-400269 Nsyb, Cha, Vglut, Gad
AMMC-WE Antennal mechanosensory and motor center and/or Wedge VGlut-F-000138, VGlut-F-400586 Nsyb, GMR57C10, Vglut, Gad
WE-DA Wedge with two branches forming a large V TH-F-200127,TH-F-000024 TH
AVLPonlyproj Lowest medial part of the anterior ventral lateral protocerebrum projecting ventrally Cha-F-700097
AVLPprojm Lowest medial part of the anterior ventral lateral protocerebrum projecting ventrally Gad1-F-500762, Cha-F-400059; Gad1-F-000013 Nsyb, GMR57C10, Gad
AVLPprojl Lowest lateral part of the anterior ventral lateral protocerebrum projecting ventrally Cha-F-800125 Cha
AVLPm Anterior ventral lateral protocerebrum medial part Gad1-F-900529, Cha-F-800062,Trh-F-400039,Trh-F-400070; Vglut-F-200405*; Vglut-F-900122; Cha-F-400237; Cha-F-200299; Gad1-F-500279 Nsyb, GMR57C10, Vglut, Gad, TH, Trh, TDC
AVLPd Anterior ventral lateral protocerebrum dorsal part Cha-F-000424 Nsyb
AVLPshell Anterior ventral lateral protocerebrum surface Trh-F-100082 TH, Trh
AVLPsmear Anterior ventral lateral protocerebrum anterior part Nsyb
VLPl Ventro-lateral protocerebrum most lateral part Gad1-F-900096, Vglut-F-500616,Cha-F-800087 Nsyb, GMR57C10, Cha, Vglut, Gad
PLP-LH Posterior lateral protocerebrum to the basis of the lateral horn Gad1-F-500325 Nsyb
PLP Posterior lateral protocerebrum Gad1-F-800092 Nsyb, Gad
Ventral neuropil
PI Pars intercerebralis Trh-F-100040, Trh-M-000056 Nsyb, GMR57C10, TH, Trh
PI-PRW Pars intercerebralis connected to Prow VGlut-F-600158 Nsyb, GMR57C10, Gad
PRW Prow TH-M-000037 Nsyb, GMR57C10, Vglut, Gad, TH
PRW-SLP Prow and superior lateral protocerebrum Gad1-F-600213, Cha-F-200258; fru-F-000133; Gad1-F-600213; Trh-F-100091 Nsyb, GMR57C10
PENP-CL Periesophageal neuropils and clamp mALD3_L (FlyEM-HB:822708945) Nsyb, GMR57C10, Cha, Gad
GNGvw Gnathal ganglia medial and lateral Cha-F-400186 Cha
GNGm Gnathal ganglia medial Cha-F-300235 Nsyb, GMR57C10
GNGml Gnathal ganglia medial–lateral Cha-F-400159 Nsyb, GMR57C10, Cha, Gad
GNGl Gnathal ganglia lateral Cha-F-400146 Nsyb, Cha
GNG-AMMC Gnathal ganglia and on the opposite side antennal mechanosensory and motor center and posterior lateral protocebrum VGlut-F-600685 Nsyb, Vglut
GNGva Ventral anterior part of the gnathal ganglia Nsyb
vaCells Ventral anterior cells TH-F-100049 TH, Trh
Optic lobe
OL Optic lobe; mostly medulla and lobulla Nsyb, GMR57C10, Cha, Vglut, Gad
LOP Lobulla plate Cha-F-600161 Cha, TDC
OL-FB Optic lobe to central regions including the fan-shaped body TH
OL-PENP Optic lobe and periesophageal neuropils Tdc2-F-200056 Nsyb, Gad, Trh, TDC
OL-PLP Optic lobe and posterior lateral protocerebrum Cha-F-000316 Nsyb, Cha, Gad
OL-WE Optic lobe and wedge TH-F-300030 TH

To test whether part of the observed global brain activity could be due to visual input coupled to behavior, for example, by the fly seeing the optic flow from the ball (Borst et al., 2020; Suver et al., 2016), or unexpectedly fixed reflections from the environment (Creamer et al., 2018), and to use an acute approach complementary to developmentally blind norpA mutant flies (Aimon et al., 2019), we performed the same experiments but covered the fly’s eyes with black nail polish to prevent outside light from activating the fly's photoreceptors. With this strongly limited visual input, we still observed a similar, global activity pattern indicating that visual input is at best a minor contributor to our observed wide brain activity (Figure 1—figure supplement 1B). This result also suggests that the global increase in activity during walk is not due to a mismatch between an actual and a predicted visual stimulus.

Given that air-supported balls can show erratic movements due to air turbulences that could cue the fly to change its behavior (DeAngelis et al., 2019; Sen et al., 2019), or impose constraints on the animal’s posture, we performed parallel experiments usin an unsupported styrofoam ball held by the fly (see Methods). The comparison of the two datasets revealed a significant difference in R2 for global brain activity (Figure 1—figure supplement 1I), possibly reflecting differences in surface material, or erratic movements of the air-supported ball unrelated to the fly’s movements confounding the walk regressor. While the R2 was globally different, distribution across brain regions was similar between the two substrate types (cosine similarity = 0.98, Figure 1—figure supplement 1J). We thus combined the datasets for most analysis below.

Together these data confirm that walking behavior induces a change in global brain activity (Aimon et al., 2019) with most brain regions showing highly temporally correlated activity during bouts of spontaneous walk.

Inhibitory and excitatory neurons, as well as aminergic neurons are recruited during walk

We next asked what major neuron types underlie this global change. We expressed GCaMP6 exclusively in GABAergic inhibitory neurons (GAD1-Gal4; UAS-GCaMP6m), glutamatergic neurons (Vglut-Gal4;UAS-GCaMP6m), and excitatory cholinergic neurons (Cha-Gal4;UAS-GCaMP6m or f). Using the same approach and analysis as described above, we detected an increase in global brain activity for excitatory and inhibitory types of neurons (Figure 2A,B), closely following individual walk bouts (Figure 2B). As in pan-neuronal data, we mapped neural activity to brain regions using a linear model of regional average activity as a function of walk (Figure 2C, D). All regions significantly responded to walk for all genotypes (Figure 2C, D , Figure 2—figure supplement 1), with high similarity in the distribution across regions (cosine similarity: Cha vs. Vglut: 0.98, Cha vs. Gad: 0.99, Vglut vs. Gad: 0.98) (Figure 2D, Figure 2—figure supplement 1A–C). Together these data show that both inhibitory neurons and excitatory neurons are activated in most brain regions during walk. Future work will be necessary to determine whether such patterns are driven by all neurons expressing a specific neurotransmitter or a subset of neurons in each region.

Figure 2. Activity of neurons releasing the three major neurotransmitters, glutamate, GABA, and acetylcholine, during walk.

N = 5 flies for each genotype. (A) R2 for regression of single region activity with walk for different genotypes (all regions were pooled). No pairwise comparison of fly-wise averages is significantly different (Mann–Whitney U-test). Box plot: center line, median; box limits, upper and lower quartiles; whiskers, ×1.5 interquartile range; points, outliers. (B) Maps of activation during walk (regression coefficient of single region activity with walk) for Cha-Gal4, GAD-Gal4, and Vglut-Gal4 expressing neurons. See Figure 2—figure supplement 1 for values and statistical tests. Cosine similarity: Cha vs. Vglut: 0.98, Vglut vs. GAD: 0.98, Cha vs. GAD: 0.99. (C) Sample traces (ΔF/F) for different brain regions relative to forward walk (green). See Figure 2—figure supplement 1 for values. (D) R2 for regression of single region activity with walk for Cha-Gal4, GAD-Gal4, and Vglut-Gal4. 95% CI is shown. All values are significantly above zero (Benjamini–Hochberg adjusted t-test p-values <0.001).

Figure 2.

Figure 2—figure supplement 1. Correlation coefficients for regression of single region activity with walk.

Figure 2—figure supplement 1.

N = 5 flies for each genotype. Empty markers correspond to adjusted (Benjamini–Hochberg correction) p-value >0.05 for comparison to 0. Right, expression pattern for three example flies per genotype (baseline fluorescence at z = −60, −18, 24, and 66 µm). (A) Cholinergic neurons (Cha-Gal4;UAS-GCaMP6). (B) Glutamatergic neurons (Vglut-Gal4;UAS-GCaMP6). (C) GABAergic neurons (GAD-Gal4;UAS-GCaMP6). 95% CI. Bar is 60 µm.

We also assessed the role of aminergic neurons in walk, specifically focusing on dopaminergic, octopaminergic, and serotonergic neurons. While we observed an increase in activity for all neuromodulatory neuron types, serotonergic neurons (Trh-GAL4;UAS-GCaMP6) were significantly less globally activated than dopaminergic (TH, DDC or GMR58E02-GAL4; UAS-GCaMP) and octopaminergic (Tdc-GAL4; UAS-GCaMP6) neurons during spontaneous bouts of walk (Figure 3A,D, Videos 24). When we mapped activity to brain regions (Figure 3B), we found that contrary to the pan-neuronal and broad neurotransmitter line results, maps for individual aminergic lines were distinctly patterned (cosine similarity: TH-DDC vs. Trh: 0.69, Tdc vs. Trh: 0.69, Tdc vs. TH-DDC: 0.93, Figure 3B, C). Nevertheless, most regions were significantly correlated with walk for all three aminergic types (Figure 3F and Figure 3—figure supplement 1A,B). Interestingly, the strongest correlation for serotoninergic neurons was negative and mapped to the anterior ventrolateral protocerebrum (AVLP) region (Figure 3B (blue area), Figure 3E, F).

Figure 3. Neuromodulatory neurons are strongly and differentially activated during walk.

TH/DDC-Gal4: N = 9, Tdc2-Gal4: N = 7, Trh-Gal4: N = 6 flies. (A) R2 for regression of single region activity with walk for different genotypes (all regions were pooled). Mann–Whitney U-test Bonferroni adjusted p-values: TH vs. Trh: 0.032, TH vs. TDC: ns, Trh vs. TDC: 0.040. Box plot: center line, median; box limits, upper and lower quartiles; whiskers, ×1.5 interquartile range; points, outliers. (B) Maps of activation during walk (regression coefficient of single region activity with walk) for TH-Gal4 and DDC-Gal4 or GMR58E04-Gal4 (dopaminergic neurons), TDC2-Gal4 (octopaminergic neurons), and Trh-Gal4 (serotonergic neurons) expressing neurons. Blue indicates inhibition. (C) Overlay of activity maps of two neuromodulators in each panel. Cosine similarity: TH vs. Trh: 0.69, TH vs. TDC: 0.93, TDC vs. Trh: 0.69. (D) Sample traces (ΔF/F) for different brain regions relative to forward walk (green). (E) Coefficient during walk for different brain regions for Trh-Gal4 expressing serotonergic neurons. All regions are significantly correlated. (F) R2 of regression of fluorescence vs. walk for TH/DDC(58E02)-Gal4, Tdc2-Gal4, and Trh-Gal4 expressing neurons. Bars are 95% CI.

Figure 3.

Figure 3—figure supplement 1. Correlation coefficients for regression of single region activity with walk.

Figure 3—figure supplement 1.

Empty markers correspond to adjusted (Benjamini–Hochberg correction) p-value >0.05 (null hypothesis is 0). TH/DDC-Gal4: N = 9, Tdc2-Gal4: N = 7. (A) Dopaminergic neurons (TH/DDC-Gal4 or GMR58E04-Gal4;UAS-GCaMP6). (B) Octopaminergic neurons (Tdc2-Gal4;UAS-GCaMP6). Bars are 95% CI. (C) Expression pattern for three example flies per genotype (baseline fluorescence at z = −60, −18, 24, and 66 µm).

Video 2. Movie of TH/DDC-neuronal activation during walk (accelerated).

Download video file (1.3MB, mp4)

Video 3. Movie of TDC2-neuronal activation during walk (accelerated).

Download video file (802.9KB, mp4)

Video 4. Movie of Trh-neuronal activation during walk (accelerated).

Download video file (9.2MB, mp4)

Unsupervised method extracts functional maps matching anatomical structures

We used global brain activity to generate functional maps of the brain and matched their specific shape and location to anatomical maps of subregions and in some cases to single candidate neuron types (Chiang et al., 2011; Ito et al., 2014; Table 2). To this end, we extracted functional components using PCA (principal component analysis) followed by ICA (independent component analysis) to spatially separate PCA maps (see Methods) (Figure 4A, Figure 4—figure supplement 1A, B). We grouped smaller functional components within a larger brain region (e.g., different antennal and protocerebral bridge glomeruli), if the precision of the alignment of the template did not allow for a clear assignment of individual regions. Interestingly, almost all functional components derived from recorded neuronal activity matches anatomical structures without further subdivisions or blurring of anatomical boundaries. This suggests that the activity within brain regions was more homogenous as compared to the activity in neighboring regions. In one exception, our functional data separated a larger region in the lateral neuropil, the AVLP (anterior ventro-lateral protocerebrum), into smaller subregions (Figure 4—figure supplement 1A, B, orange box) suggesting that subregions of the AVLP had different activity signatures. Of note, some components also identified more than one brain region (i.e., PENP-SLP) indicating a strong functional connection between these regions. For example, among the components correlated with spontaneous walk, the PENP-SLP (periesophageal neuropils and superior lateral protocerebrum) and PENP-CL (periesophageal neuropils and clamp) and WPNb-like (bilateral wedge projection neuron-like Coates et al., 2020) components connected ventral neuropils (e.g., GNG) to higher areas or vice versa.

Figure 4. Whole brain analysis pinpoints specific subregions responding to walk.

(A) Images of example components that are significantly correlated with walk (coefficient or R2 95% CI above zero). Upper left: Components derived from imaging with a pan-neuronal driver. Upper right: Components derived with Tdc2-Gal4. Lower left: Components derived with TH/DDC or GMR58E02-Gal4. Lower right: Components derived with Trh-Gal4. (B) Correlation coefficient for component activity vs. walk. N = 58 flies of different genotypes, see table in methods for details. Empty markers correspond to adjusted (Benjamini–Hochberg correction) p-value >0.05 for comparison to 0. Bars are 95% CI.

Figure 4.

Figure 4—figure supplement 1. Component maps and correlation with walk.

Figure 4—figure supplement 1.

(A) Z-stacks of functional components for walk mapped onto the adult fly brain. (B) Functional components for walk and their names or acronyms. See Table 2 for definition of acronyms. (C) R2 for regression of components activity with walk. See Table 2 for definition of acronyms. N = 58 flies of different genotypes; see table in methods for details. Bars are 95% CI.

As some of the data used to extract maps were from flies expressing GCaMP specifically in inhibitory, excitatory, and neuromodulatory neurons (Figure 4A), components could be matched to candidate neurons of the same types (Table 2). For dopaminergic neurons, walk-correlated neuronal activity was found, for instance, for components in and around the MB (i.e., γ3 compartment as previously observed; Cohn et al., 2015; Siju et al., 2020; Zolin et al., 2021), in the central complex (CX; protocerebral bridge [B-DA] and ellipsoid body [EB-DA-like; Kong et al., 2010]), but also in ventral neuropil such as the wedge (WED-DA-like; Liu et al., 2017) and neuropil connecting central regions to the optic lobes (Figure 4A). For octopamine, one particular component connecting the optic lobe and the periesophageal neuropil (OL-PENP) was strongly correlated with walk, while for serotoninergic neurons the highest R2 was detected for the AVLP and components within (Figure 4A). Most components with significant R2 were positively correlated with walk (Figure 4B, C), with few exceptions: a specific component within the AVLP mostly detected in the experiment using Trh-Gal4, which we named the AVLPshell due to its shape, was negatively correlated (i.e., inhibited) with walk (Figure 4B, Figure 4—figure supplement 1A–C).

Turning modulates activity in specific brain regions and potential neurons

Some functional components activated during walk were mirrored by components in the other half of the brain (Figure 5A). We next asked whether these components had differential activity when turning left or right (Figure 5—figure supplement 1). To quantify turning, we extracted rotational ball movements (left and right) using its optic flow. The components that were differentially activated during turning were reproducibly found across different flies based on similar position and morphology (Figure 5A, B). These included the IPS-Y (inverse Y shape in the posterior slope) and LAL-PS (lateral accessory lobe and posterior slope) as previously mentioned in Aimon et al., 2019. For dopaminergic neurons, the components most correlated with turning had a shape closely matching the dopaminergic neuron type known to project to the LAL and WED areas: neurons of the PPM2 cluster, that is, PPM2-LW (PPM2-LAL-WED: PPM2-lateral accessory lobe-wedge; Mao and Davis, 2009; Figure 5A, right panels; Video 5).

Figure 5. Turning activates specific components and candidate neurons.

(A) Examples of components present in both the left and right hemispheres labeled in different colors (magenta and green). Panels on the right present an example component that could be mapped to a single neuron. Upper right panel: Turning-correlated component, lower right panel: reconstruction of neuron that this functional component was mapped to. (B) Difference between the correlation coefficient (normalized ∆F/F) for turning on the ipsilateral side and the coefficient on the contralateral side is displayed as a function of the identified components. Positive and negative correlations correspond to components being active more during turn on the ipsilateral side than the contralateral side and the reverse, respectively. See Table 2 for definition of acronyms. N = 58 flies of different genotypes, see table in methods for details. Empty markers correspond to adjusted (Benjamini–Hochberg correction) p-value >0.05 for comparison to 0. Bars are 95% CI.

Figure 5.

Figure 5—figure supplement 1. Turning activates specific components and candidate neurons.

Figure 5—figure supplement 1.

(A) Examples of components present in both the left and right hemispheres labeled in different colors (magenta and green). (B) R2 of regression coefficients during turn for all genotypes. The value for the contralateral side was subtracted from the ipsilateral side and plotted for every component. N = 58 flies of different genotypes, see table in methods for details. Empty markers correspond to adjusted (Benjamini–Hochberg correction) p-value >0.05 for comparison to 0. Bars are 95% CI.

Video 5. Video sequence showing activation of the PPM2-LW neurons during turning.

Download video file (2.2MB, mp4)

Brain dynamics at transitions between rest and walk

Thus far, we have analyzed neuronal activity during walk, turn, flail, groom, or rest. Next, we analyzed whole brain activity at the transition between rest and walk. Importantly, different GCaMP versions showed similar onset dynamics under our experimental conditions. For improved temporal resolution, we only included datasets recorded at 30 Hz (with a maximum of ±30 ms error between behavior and brain activity) or faster for the entire brain in Figure 6 (see all individual trials including data recorded at less than 30 Hz in Figure 6—figure supplement 1). We normalized activity at the onset of walk and averaged trials. This analysis revealed a more complex picture of neuronal activity with some components being activated before walk onset (Figure 6). In particular, we found that regions around the esophagus, such as the posterior slope (IPS-Y, SPS) and the dopaminergic M-Omega component (corresponding to two posterior neuropil regions), as well as the WED-DA-like component showed activity that began to increase significantly before walk onset. In addition, several compartments of the MB and regions in the superior neuropil regions (e.g., SMP and SLP) showed trials with some increase preceding walk (Figure 6, Figure 6—figure supplement 1). The OL-PLP-WED component was also activated significantly before walk. Most components that mapped to the CX (comprising the protocerebral bridge (PB), fan-shaped body (FB), ellipsoid body (EB), and noduli (NO)) were activated at walk onset but not before (Figure 6, Figure 6—figure supplement 1A). In particular, the components PB–EB (connecting the PB and the EB) and EB–DA (comprising neurons in the EB and the lateral accessory lobe) became activated once the fly started to walk (Figure 6, Figure 6—figure supplement 1), consistent with an increase at walk onset of dopaminergic activity in the EB and LAL (Figure 6—figure supplement 2). Distinct components mapped to the AVLP displayed very different activities related to walk. While anterior and medial components of AVLP increased in activity at walk onset, the AVLP component that resembled the shape of a shell (AVLPshell) displayed a very clear decrease in neuronal activity as soon as the fly started to walk (Figure 6, Figure 6—figure supplement 1, Figure 6—figure supplement 2). Several other components displayed more variable, and at times too variable, dynamics among flies to detect a clear direction (i.e., FBlayv in Figure 6—figure supplement 1).

Figure 6. Onset dynamics of activity in multiple functional components across the brain at start of walk.

Walk-onset triggered average activity for pan-neuronal data in individual active components at 30 Hz or higher temporal resolution. Trials were normalized individually before averaging (see Figure 6—figure supplement 1 for non-normalized traces and all recording frame rates). Red band indicates walk onset. Note that while most components are activated after walk onset, several components show activity before start of walk. Stars correspond to an above zero significance for integrated traces from −0.5 s to start of walk (Wilcoxon one-sided test). Multiple comparison adjusted p-values (Benjamini–Hochberg): *p < 0.05, **p < 0.01, ***p < 0.001. See Table 2 for definition of acronyms. N = 30 flies of different genotypes, see table in methods for details.

Figure 6.

Figure 6—figure supplement 1. Graphs show onset of walk trials for all flies and all transgenic lines at all recording speeds.

Figure 6—figure supplement 1.

The gray band represents the uncertainty of walk-onset time due to lower temporal resolution in some recordings. A corrective factor based on regression coefficient with walk (fluorescence response to walk = coeff × UAS-GCaMP version: GCaMP7f: 0.6, GCaMP6f: 1, GCaMP6M: 1.1, GCaMP7s: 1.2, GCaMP6s: 1.4) was applied for direct comparison between experiments with different reporter versions. The average value for the first 50 ms was taken as baseline and subtracted. Gray shaded area represents walk onset.
Figure 6—figure supplement 2. Normalized trials ∆F/F GCaMP fluorescence in brain regions 1 s before to 1 s after walk onset for different anatomically defined brain regions: (A) dopaminergic neurons (TH/DDC-Gal4;UAS-GCaMP), (B) octopaminergic neurons (Tdc2-Gal4;UAS-GCaMP), and (C) serotonergic neurons (Trh-Gal4;UAS-GCaMP).

Figure 6—figure supplement 2.

Gray shading corresponds to the standard deviation. Red band is the onset of walk.

Forced walk recapitulates most activity while forced turning reveals differences

Our data suggest that walking induces a change of activity in most of the brain. But where does this activity come from? We hypothesized that in the extreme case, activity could originate from two opposite sites. First, the activity could arise initially in superior decision-making areas and then spreads across the brain (top-down) or, second, activity is initiated by motor activity and proprioception (bottom-up) and then distributes to higher brain areas. In the latter case, activity would originate in the VNC and move to basal regions of the brain, i.e., the GNG, via ascending neurons (ANs) (Chen et al., 2023; Tsubouchi et al., 2017). While our component analysis of data recorded at 30 Hz identified several putative ‘top-down’ components active before walk onset, most activity was more consistent with a ‘bottom-up’ scenario (Figures 1 and 6 and Figure 6—figure supplements 1 and 2). In some trials, we observed that the activity detected during walk appeared to progress from areas at the base of the brain, that is from GNG to more dorsal areas (Figure 7—figure supplement 1F, see Video 6 for an example trial).

Video 6. Video showing neuronal activation moving from ventral to dorsal brain areas.

Download video file (161.2KB, mp4)

Note that a clear progression of activation was observed only in a fraction of trials.

We thus asked whether walk-induced activity could be contributed by axon terminals of ANs. To this end, we expressed a synaptically tethered GCaMP, sytGCaMP6, under the control of a pan-neuronal driver and imaged whole brain activity during walk (Figure 7A). Compared to cellular-GCaMP, sytGCaMP activity was very strong in the GNG, AMMC, and AVLP, regions receiving inputs from the VNC (Figure 7A; Tsubouchi et al., 2017).

Figure 7. Forced and spontaneous walk elicit highly similar global brain activity.

(A) Z-stacks of map of brain regions activated by walk in flies expressing cytosolic GCaMP (pan-Gal4;UAS-GCaMP6m) or synaptically tagged GCaMP (pan-Gal4;UAS-sytGCaMP6m) (R2 of FF=f(walk)). (B) Time series of components during spontaneous walk (green) or rest (magenta). Box plots show: center line, median; box limits, upper and lower quartiles; whiskers, ×1.5 interquartile range; points, outliers. (C) Time series of active components during forced walk (green) or forced rest (magenta). (D) R2 for behavior regression at different conditions (all regions were pooled, spontaneous, forced, forced with severed connection between ventral nerve cord (VNC) and brain). (E) R2 for behavior regression for different active components for forced (red) vs. spontaneous (green) walk. Empty markers correspond to adjusted (Benjamini–Hochberg correction) p-value >0.05 for comparison to 0. Bars are 95% CI. (F) R2 difference between brain region activity during forced turn on the ipsilateral side and forced turn on the contralateral side (orange). Forced turning speeds ranged from 0.3 to 2 rad/s. Only data with N ≥ 4 components were analyzed. Lilac shows the difference for spontaneous turns. N = 58 flies for spontaneous walk/turn of different genotypes and N = 26 flies for forced walk/turn, see table in methods for details. Empty markers correspond to adjusted (Benjamini–Hochberg correction) p-value >0.05 for comparison to 0. Star corresponds to a significant difference between spontaneous and forced turns: Mann–Whitney U-test adjusted p-value <0.05 (Benjamini–Hochberg correction). Box plots show: center line, median; box limits, upper and lower quartiles; whiskers, ×1.5 interquartile range; points, outliers. Bars are 95% CI. (G) Comparison between activity at walk onset for spontaneous (green) and forced (red) walk for additional components. Individual trials were normalized and averaged for each component. Shaded regions represent the trial SEM (standard error of the mean), nf: number of flies, nt: total number of trials. Gray shaded area indicate walk onset. Stars show the significance of difference in the integral between −0.5 s and the start of walk, and is corrected for multiple comparison (Benjamini–Hochberg): *p < 0.05, ***p < 0.001.

Figure 7.

Figure 7—figure supplement 1. Additional evidence for most activity being induced by walk.

Figure 7—figure supplement 1.

(A) Comparison of activity during walk for cytosolic and synaptically tagged GCaMP. Left: expression patterns (baseline fluorescence), Right: Coefficient in linear models of regional activity as a function of walk. (B) Regression coefficients with forced or spontaneous walk for components. Bar is 60 µm. (C) R2 and coefficient for ∆F/F regression with forced and spontaneous walk for different brain regions for dopaminergic neurons. (D) R2 and coefficient for ∆F/F regression with forced and spontaneous walk for different brain regions for octopaminergic neurons. (E) R2 and coefficient for ∆F/F regression with forced and spontaneous walk for different brain regions for serotonergic neurons. TH/DDC-Gal4: spontaneous, N = 9, forced, N = 5; Tdc2-Gal4: spontaneous, N = 7, forced, N = 6; Trh-Gal4: spontaneous, N = 6, forced, N = 6 flies. (B-E): Empty markers correspond to adjusted (Benjamini–Hochberg correction) p-value >0.05 for comparison to 0. Bars are 95% CI. (F) Panel showing GCaMP-fluorescence relative to onset of walk for pan-neuronally expressed GCaMPs in different regions relative to the GNG. Piece-wise linear curves were fitted to fluorescence traces 0.5 s before to 0.5 s after the onset of walk. The onset time was determined as the point of change from one linear piece to the next. Note that all medians are positive. Inset: Fit of activity onset. TH/DDC-Gal4: N = 9, Tdc2-Gal4: N = 7, Trh-Gal4: N = 6 flies. (G) Comparison between activity at walk onset for spontaneous (green) and forced (red) walk for additional components. Individual trials were normalized and averaged for each component. Shaded regions represent the trial SEM, nf: number of flies, nt: total number of trials. Stars show the significance of difference in the integral between −500 ms to start of walk, and is corrected for multiple comparison (Benjamini–Hochberg): **p < 0.01, ***p < 0.01.

Since such axonal activity, or a fraction of it, could also originate from top-down projections, we performed another experiment to compare neural activity from spontaneous, self-induced walk to that of forced walk. We argued that if global neural activation indeed comes from proprioception of walking or related sensory input from the legs, then we should also observe similar global activation when the fly is forced to walk, without having the possibility to decide to do so as in spontaneous walk. To test this idea, we placed a treadmill controlled by a motor under the fly legs (see Video 7 and methods). We forced the flies to walk by turning this motor on and off at speeds ranging between 1.5 and 6 mm/s. Similarly to spontaneous walk (Figure 7B, D), forced walk induced a change in brain state, with brain-wide activity increases across regions (Figure 7C, D, Video 7, cosine similarity: 0.993 for R2 and 0.985 for the coefficients), and across components (Figure 7E, cosine similarity: 0.87 for R2 and 0.85 for the coefficients). In addition, flies with a surgically severed connection between the brain and VNC walked on the treadmill while showing hardly any activity in the brain (Figure 7D, Video 8), consistent with the hypothesis that the brain is not necessary for forced walk and walking signals driving whole brain state change originate in the VNC. Importantly, these observations were not only true for pan-neuronal data but also for dopaminergic, octopaminergic, and serotonergic neuronal subsets (Figure 7—figure supplement 1C–E). While we did observe some variation between forced and spontaneous walk in the R2 for regression of activity traces with walk, confidence intervals were overlapping for all brain regions (Figure 7—figure supplement 1C-E) and cosine similarity was high (TH-DDC: 0.985 for R2, 0.978 for coefficients, Tdc: 0.96 for R2, 0.93 for coefficients, Trh: 0.84 for R2, 0.62 for coefficients) further suggesting that walking, whether spontaneous or forced, elicits a similar global state change of the brain.

Video 7. Video showing whole brain activity of a fly being forced to walk on a rotating rod.

Download video file (281.7KB, mp4)

Video 8. Video showing whole brain activity of a fly with a severed connection between the brain and ventral nerve cord (VNC) being forced to walk on a treadmill.

Download video file (278.6KB, mp4)

Note that the fly is still capable of walking on the rod when being forced. We did not, however, observe spontaneous walking activity.

By contrast, forced turns elicited different activity signatures from spontaneous turns (Figure 7F). We subtracted the R2 for turn of the contralateral side of the brain from the corresponding value of the ipsilateral side and compared these values for individual components. We found that some components switched sign (i.e., IPS-Y) while other components that showed little lateralization during spontaneous turns showed differences for forced turns (i.e., PPM2-VI, GNGm, FBcol) (Figure 7F). The PPM2-LW component that showed lateralized activity during spontaneous walk was not lateralized during forced walk.

Given our observation that certain brain regions appear to be activated shortly before walk onset (Figure 6), we next compared the activity around walk onset in spontaneous and forced walk more carefully (Figure 7G, Figure 7—figure supplement 1G). Most components detected in both types of experiments appeared very similar as expected based on the analysis above (Figure 7E). Importantly, components with activity prior to spontaneous walk were either activated after walk had been triggered and/or their activity before walk was significantly different between spontaneous and forced walk (e.g., in areas around the esophagus, and in dorsal areas such as the γ3 compartment of the MB and the superior medial neuropil; Figure 7G, Figure 7—figure supplement 1G).

Discussion

Work over recent years has revealed that locomotion and movement influence neural activity in many brain areas and many organisms (Busse et al., 2017; Kaplan and Zimmer, 2020). Importantly, motor activity modulates not only local activity in specific brain regions, but also the global state of the brain. Which neurons and neurotransmitters and neuromodulators underly this activity, how it spreads, and what it means for the animal are still largely unknown (Kaplan and Zimmer, 2020). Using fast in vivo whole brain calcium imaging in head-tethered behaving flies, we show that movement elicits a global change in brain activity during spontaneous as well as forced walk. Walk activates several classes of neurons including excitatory, inhibitory, and aminergic, modulatory neurons. Except for serotonergic neurons which are inhibited during walk in some brain areas, we observed neuronal activation across all brain regions at the start of and during walking, but not during grooming or resting. Using PCA/ICA, we mapped neuronal activities to discrete functional components, which we assigned to specific smaller subregions and in some cases even to single candidate neuron types by aligning the activity maps to anatomical data. For instance, we found that maps of dopaminergic activity during turning matched the spatial distribution of specific dopaminergic neurons. Based on the timing of activation and similarity between spontaneous and forced walk-induced brain activity, we propose that locomotion activates the brain by sending movement and proprioceptive information to specific regions (e.g., GNG) from where it activates all brain regions and neuron classes.

Advantages and limitations of the method

Our approach, using LFM (Levoy et al., 2006) to image neuropile activity, has several advantages and limitations, which complement other existing methods. First, the light field speed – significantly higher temporal resolution as compared to sequential scanning methods – allowed us to record whole brain activity at the same time as fast behavior such as walk. Even though GCaMP dynamics and limitations in signal-to-noise ratio rarely permitted us to resolve single action potentials, it helped us detect differences in temporal dynamics and pinpoint brain areas potentially involved in triggering spontaneous walk as opposed to merely responding to it. Second, the spatial resolution of light field imaging is inferior to that of confocal or volumetric multiphoton imaging. Although these methods also do not allow resolving single neurites with pan-neuronally expressed sensors, light field could in principle make it even more difficult to detect their activity. On the other hand, capturing the whole volume simultaneously makes it easier to unmix signals as we showed with our PCA/ICA approach, which partially compensates for the lower spatial resolution. Importantly, however, averaging the activity in neuropile regions could hide information, and reflect different activity patterns across single neurons. Third, our data are based on observations without genetic or functional manipulation of neurons or circuits. Excitation and inhibition of single neurons or neuron groups are performed frequently in Drosophila thanks to its unique genetic tools. We believe that our data complements previous and future functional studies as imaging or manipulation of individual neurons provides only limited insights into the role and effect of a neuron in the complex and brain-wide dynamic neural network in which they are embedded. In the future, a combination of single neuron manipulation and whole brain imaging will likely lead to unexpected insights into the relationship between a neuron, global brain state, and a specific behavior. Fourth, we have observed subtler differences between flies that are obvious from individual experiments but difficult to capture quantitatively across a population of animals. These differences might be resolvable by greatly increasing the number of experiments. Given the technical difficulty of the preparation method, reaching high animal numbers will be extremely challenging but perhaps possible in the future. Finally, together with the now available whole brain EM connectome, our data provide a timely resource for the community of fly neuroscientists interested in linking neuronal activity to behavior.

Using PCA/ICA as an unsupervised approach gave us insights into the organization of whole brain activity underlying brain states. This technique groups voxels that are correlated and thus misses more complex relationships. Furthermore, our method would not detect signals strongly corrupted by noise or different signals with the same spatial patterns. Nevertheless, it allowed us to extract components and compare their shape and localization to known structures. Based on these, we were able to propose a correspondence with specific candidate neurons (Table 2). Although some of these correspondences are very speculative, some components matched precisely the shape of known neurons (e.g., Figure 5), or reproduced the shape of the only neuron types present in the same region for specific Gal4 lines (e.g., MB compartments for dopamine Aso et al., 2014). Several of these neurons were previously implicated in walking or its modulation. For instance, EB–DA, found in data from dopaminergic neurons, shows among the strongest and most reliable activity during walk. These neurons were shown to be involved in ethanol-induced locomotion (Kong et al., 2010), are involved in sleep regulation (Liang et al., 2016), and were shown more recently to be involved in walk (Fisher et al., 2022), with a timing relative to walk onset consistent with Figure 6. Dopaminergic components in the MB also recapitulate previous studies (Cohn et al., 2015; Siju et al., 2020). Some correspondences between component and neurons are more speculative, such as IPS-Y and LAL-PS matching the shape of DNb02 and DNb01 neurons (Table 2). These neurons were found to project to the VNC (Namiki et al., 2018), and optogenetic activation of DNb01-induced twitching of the fly’s front legs consistent with a role in turning (Cande et al., 2018). The component PB–EB is consistent with neurons in the previously described head direction cells circuit shown to receive movement-related information during navigation (Lu et al., 2022; Lyu et al., 2022; Seelig and Jayaraman, 2015). Among patterns not yet reported, the AVLPshell might be generated by a serotonergic neuron type of unknown function (e.g., Trh-F-100082; Chiang et al., 2011). Additional patterns such as the M-Omega pattern in datasets from dopaminergic cells might correspond to unknown neurons or a combination of tightly coupled neurons. Although most components were correlated with walk, others had an R2 indistinguishable from zero thus likely representing ongoing activity unrelated to walk (Schaffer et al., 2021) or not captured by a linear model with a binary regressor for walk.

Our data provide an entry point to relate anatomical connectivity to brain states and activity in brain-wide neural networks (Aimon and Grunwald Kadow, 2019). Whole brain connectomics in several small organisms including Drosophila has shown that neural networks extend across the entire brain with many pathways not predicted by single neuron or small motif imaging or manipulation of individual neurons (Li et al., 2020; Scheffer et al., 2020; Zheng et al., 2018). Whole brain imaging, as previously demonstrated in other model animals such as larval zebrafish, is a powerful method for observing these brain-wide networks to study their contribution to behavior and ultimately to local activities within specific neurons or brain regions. Whole brain data can be used to build functional connectomes allowing speculations about how information underpinning behavior travels throughout a whole brain. While such data can be generated for other animals including humans, the fly (along with C. elegans and in the near future zebrafish) currently provides the important advantage of being able to combine such activity maps with highly detailed anatomical maps from light microscopy with cellular resolution and whole brain EM connectomics with synaptic resolution. Ultimately, such data could be used to generate precise models of how recorded neural activity spreads through a brain. For instance, DNs receive input from regions of the brain that are innervated by outputs from higher brain regions such as the MB and CC (Hsu and Bhandawat, 2016). DN and AN innervation of the GNG is consistent with an important role of the GNG in motor control and motor feedback integration (Chen et al., 2023; Tsubouchi et al., 2017). How anatomical connectivity relates to activity in widespread neural networks is not clear. Our method and data complement some of the ongoing efforts to fill this significant gap in our knowledge.

Walk elicits differential activities in neuromodulatory neurons

Perhaps not surprisingly, neuromodulatory systems participate and show signatures of ongoing behavior in the adult fly brain (see Figure 3). Dopaminergic and octopaminergic neurons are broadly activated when the fly walks compared to rest or groom (see Figure 3; Aimon et al., 2019; Siju et al., 2020), while serotonergic neurons show more complex activation patterns and timing with areas such as the AVLP being inhibited during walk (see Figure 3 and Figure 6—figure supplement 2).

Our data are consistent with data from other species and suggest that relationships between the activity of neuromodulatory neurons and locomotion are broadly conserved across species. Dopaminergic neurons are activated during locomotion in mammals, with some neurons reporting ongoing behavior (Howe and Dombeck, 2016) while others show activity increase preceding behavior onset (Coddington and Dudman, 2019). We find that although the majority of fly dopamine neurons are activated during ongoing behavior, some dopaminergic neurons are activated hundreds of milliseconds before the onset of walk in some trials (e.g., WE-DA, M-Omega pattern, and γ1–3 compartments of the MB in some trials, Figure 6). Norepinephrine/octopamine is also a key neuromodulatory system involved in arousal in a variety of species (Berridge, 2008), with reports of an increase in activity of these neurons during locomotion in mammals (Gray et al., 2021; Kaufman et al., 2020; Xiang et al., 2019). In vertebrates, basal ganglia and brainstem aminergic neurons affect the cortico-basal ganglia–thalamic loops. A disruption of these loops can result in a loss of motor control (Vicente et al., 2020). Such loops likely exist in insects, too. For example, several octopaminergic neurons in the SEZ connect lower brain regions to the MB (Busch et al., 2009). Interestingly, serotonergic neurons show mixed roles in the control of motor behavior in different vertebrate species (Dayan and Huys, 2015; Flaive et al., 2020; Vitrac and Benoit-Marand, 2017), as well as in insect, where it regulates various types of motor behaviors including feeding, aggression and larval locomotion (e.g., Aonuma, 2020; Helfrich-Förster, 2018; Ngai et al., 2019; Schoofs et al., 2018; Schoofs et al., 2014). In particular, serotonin has been implicated in behavioral inhibition (e.g., patience; Doya et al., 2021) and as an opposing system to dopamine (Dayan, 2012). This is consistent with our observation that serotonergic neurons in some brain regions such as the AVLP are inhibited during walk (see also Howard et al., 2019 for serotonin in the VNC). The AVLP receives input from ANs from the VNC conveying somatosensory information from the legs (Tsubouchi et al., 2017). Furthermore, calcium imaging revealed a spatial map for the AVLP and WED with neurons responding primarily to movement of fore-, mid-, or hindlegs (Chen et al., 2023; Tsubouchi et al., 2017), and the AVLP contains several descending neurons projecting toward the VNC (Namiki et al., 2022; Namiki et al., 2018). Serotonin inhibition in the AVLP could thus also be affecting a sensorimotor loop. However, we also found some serotoninergic neurons activated during walk, suggesting that, as for mammals, serotonin neurons are strongly heterogeneous (Dayan and Huys, 2015). Our study thus suggests that key aspects of activity of neuromodulatory neurons during locomotion are conserved between mammals and insects despite their evolutionary distance.

Origin of broad activation during ongoing behavior

Our results are most consistent with a model where proprioceptive, walking and leg sensory information are sent from the VNC into the GNG at the base of the fly’s brain. Then, how is walk-related information relayed to the brain? Tuthill and colleagues recently identified some of the presumably many neural substrates in the VNC that receive, process and relay proprioceptive sensory information from the legs to the CNS (Agrawal et al., 2020; Mamiya et al., 2018). Their findings provide strong support for an important role of proprioception in movement and locomotion control in the adult fly. This information is transmitted by ANs from the VNC to the central brain. Less was known regarding the type, connectivity and function of the likely dozens or more AN in Drosophila, but screening approaches and advanced imaging techniques have shed light on some of them (Allen et al., 2020; Sen et al., 2019). In particular, a very recent study analyzed behavior-related activity of dozens of ANs labeled with specific Gal4 lines (Chen et al., 2023) and came to the complementary conclusion that ANs innervating regions such as the AVLP and GNG are poised to convey behavioral state and self-motion to several brain regions.

While grooming or forced walk on a treadmill does not require an active brain, lesions of the neck connectives as we have carried out dramatically decrease spontaneous walking in locusts (Kien, 1990a; Kien, 1990b), indicating that at least initiation of walk can be dependent on the brain. On the other hand, a cat with a severed spinal cord, like our fly with a severed VNC, maintains a highly coordinated walk pattern when forced to walk on a treadmill (Afelt, 1974). Thus, coordinated walk appears to mainly depend on central pattern generators in the spinal cord or VNC and is largely independent of brain input. Surprisingly, whole brain activity induced by spontaneous walking was similar to the activity we observed by forcing the animal to walk on a rotating rod (Figure 7). This result and our finding that the activity induced by walk in the GNG stems in a large part from axons are consistent with the interpretation that walk itself and not top-down motor control is responsible for the majority of activity observed in actively moving animals’ brains. In the future, imaging whole brain activity while activating or silencing specific leg proprioceptive neurons or other ANs would confirm these findings and help dissect their contributions.

Once the walk signals reach the brain, neurons connecting lower to higher areas (e.g., neurons underlying the PENP-CL, GNG-SLP, and WPNb components, as well as octopaminergic neurons) could relay this information to higher areas. Interestingly, our data that inhibitory neurons are also broadly activated is inconsistent with the idea that broad brain activation arises due to a global disinhibition during periods of walking (Benjamin et al., 2010), although additional experiments will be necessary to ensure that activity in individual regions is not dominated by a small subset of activated neurons in a sea of inhibited neurons.

Importantly, however, we identified several brain components and small subregions, for instance in the posterior slope, that were activated hundreds of milliseconds before the fly started to walk (see Figure 7). This activity was delayed in forced walk and started only when the fly had started to move. This suggests a potential role of these areas in initiating walk. Activity before walk onset could also be due to preparatory movements that were not detected as walk (Ache et al., 2019), or represent the activity of neurons downstream of neurons responsible for triggering walk.

Role of broad activation during ongoing behavior

One important concept to explain the role of behavioral state-dependent neural modulation is ‘active sensation’ (Busse et al., 2017). Essentially, ongoing movement can shape how neurons respond to visual, somatosensory, and possibly other sensory stimuli (Chapman et al., 2018; Cruz et al., 2021; Fenk et al., 2021; Henschke et al., 2021; Wolpert et al., 2011). For example, extracellular recordings from mouse V1 neurons walking on a ball showed that evoked visual responses differ in neurons of moving animals and those of still animals (Dadarlat and Stryker, 2017). Similarly, fly visual neurons respond more strongly to stimuli during walk or flight (Chiappe et al., 2010; Maimon et al., 2010; Suver et al., 2016). Our data indicate that the increase whole brain activity is elicited at walk onset and maintained afterwards (Figure 6). Since the overall increase in brain activity is not larger during forced walk as compared to spontaneous walk, our data also suggest that global brain activity does not generally represent a mismatch, or error signal, between actual and predicted proprioceptive feedback during walk. These observations support the conclusion that movement specific information reach the brain and modulate brain activity widely. Such information could serve multiple purposes from uncoupling of sensory-to-motor information, that is own movement vs. movement of environment, to learning of complex movements (Lu et al., 2022).

Conclusions

We provide an overview of global brain activity during simple behaviors in Drosophila. As for other animals, Drosophila brain activity is globally correlated with locomotion representing a global change in brain state. However, our results challenge the assumption that most of the activity is related to decision-making, top-down motor control, or prediction error detection from sensory feedback and instead suggest that walk itself and somatosensory bottom-up stimuli are largely responsible. By using a combination of pan-neuronal and specific neuron subtype imaging, we shed light on the brain location and nature of neurons that respond so strongly to behavior. Altogether, our data provide a novel resource for generating new hypotheses regarding the brain-behavior loop and for dissecting the neural circuits and computations underpinning it.

Materials and methods

Key resources table.

Reagent type (species) or resource Designation Source or reference Identifiers Additional information
Genetic reagent (D. melanogaster) UAS-GCaMP6s Bloomington Drosophila Stock Center BDSC_42749
Genetic reagent (D. melanogaster) UAS-GCaMP6m Bloomington Drosophila Stock Center BDSC_42750
Genetic reagent (D. melanogaster) UAS-GCaMP7s Bloomington Drosophila Stock Center BDSC_79032
Genetic reagent (D. melanogaster) UAS-GCaMP6f Bloomington Drosophila Stock Center BDSC_42747
Genetic reagent (D. melanogaster) UAS-GCaMP7f Bloomington Drosophila Stock Center BDSC_79031
Genetic reagent (D. melanogaster) UAS-syt-GCaMP6s Vanessa Ruta N/A
Genetic reagent (D. melanogaster) GMR58E04-Gal4 Bloomington Drosophila Stock Center BDSC_41347
Genetic reagent (D. melanogaster) TH-Gal4 Bloomington Drosophila Stock Center BDSC_8848
Genetic reagent (D. melanogaster) Tdc2-Gal4 Bloomington Drosophila Stock Center BDSC_9313
Genetic reagent (D. melanogaster) Trh-Gal4 Bloomington Drosophila Stock Center BDSC_38388
Genetic reagent (D. melanogaster) Ddc-Gal4 Bloomington Drosophila Stock Center BDSC_7009
Genetic reagent (D. melanogaster) TH, 58E02-Gal4 Siju et al. N/A
Genetic reagent (D. melanogaster) TH, DDC-Gal4 This paper N/A
Genetic reagent (D. melanogaster) Vglut-Gal4 Bloomington Drosophila Stock Center BDSC_24635
Genetic reagent (D. melanogaster) Cha-Gal4 Bloomington Drosophila Stock Center BDSC_6798
Genetic reagent (D. melanogaster) Nsyb-Gal4 Bloomington Drosophila Stock Center BDSC_51635
Genetic reagent (D. melanogaster) GMR57C10-Gal4 Bloomington Drosophila Stock Center BDSC_39171
Genetic reagent (D. melanogaster) Gad1-Gal4 Bloomington Drosophila Stock Center BDSC_51630
Software, algorithm Python 3 Python Software Foundation https://www.python.org
Software, algorithm ImageJ/FIJI Schindelin et al., 2012 https://fiji.sc/
Software, algorithm MATLAB MATLAB mathworks.com
Software, algorithm Analysis code GitHub https://github.com/sophie63/Aimon2022

Fly preparation for imaging

We used 1- to 4-day-old female flies raised at 25°C. Most flies were starved 24 or 48 hr with a water only environment, and we clipped their wings at least 1 day in advance. Experiments were performed in the evening peak of circadian activity (ZT0 or ZT11) and we heated the room to ~28°C during the experiment. In total, we recorded brain activity and behavior from 84 adult female flies.

We prepared the flies as described in detail in Woller et al., 2021. Briefly, we fixed a fly to a custom-designed 3D printed holder, so as to allow access to the whole posterior side of the head while the legs were free to move. We added saline (103 mM NaCl, 3 mM KCl, 5 mM TES (N-Tris(hydroxymethyl)methyl-2-aminoethanesulfonic acid)).

Walk substrates

For studying spontaneous walk, we used two types of small balls. One was an air-supported ball as previously described (Sayin et al., 2019). As we wanted to make sure the walk was initiated by the fly rather than erratic movement of the ball, we also used small Styrofoam balls that were held by the fly. The speed of the rotational flow, which is proportional to the degree of turning, was 0.4–2 rad/s.

For the treadmill to study forced walk and turn, we used small motors (DC 6V gear motor with long M3 × 55 mm lead screw thread output shaft speed reducer Walfront Store, https://www.amazon.de/), covered with self-curing rubber (Sugru by tesa) to provide a smoother surface. The speed for forced walk was between 1.5 and 6 mm/s. The rotational speed for forced turn was 0.3–2 rad/s.

In vivo light field imaging

Fast volumetric imaging was performed using light field imaging – in which a microlens array separates rays from different angles to give information on depth – and was carried out as previously described in detail by Aimon et al., 2019. A few datasets were previously published in Aimon et al., 2019 and source data (http://dx.doi.org/10.6080/K01J97ZN), with a microscope equipped with a ×20 NA1.0 objective. Most data were obtained with a light field microscope constituted of a Thorlabs Cerna system with a Leica HC FLUOTAR L ×25/0.95 objective and an MLA-S125-f12 microlens array (Viavi). The microlens array was placed on the image plane, while the camera imaged the microlens array through 50 mm f/1.4 NIKKOR-S Nikon relay lenses. The light field images were recorded with a scientific CMOS camera (Hamamatsu ORCA-Flash 4.0). The volumes were reconstructed offline, using a python program developed by Broxton et al., 2013 and available on github: https://github.com/sophie63/FlyLFM (copy archived at Aimon, 2023b).

Given that the maximum recording speed depended on the expression of the Gal4-line, the UAS-reporter, and each individual fly preparation, that is the limiting factor was the signal-to-noise ratio for lines with low expression, we started recording at 2 or 5 Hz for the first experiment. If the quality of recording suggested that higher speeds were possible, we increased recording speed to a maximum of 98 Hz. If the viability of the fly allowed for it, we recorded experiments on air-supported and Styrofoam balls in the same fly.

Behavior recording and scoring

We imaged the fly and substrate movements using infrared illumination and two small cameras (FFMV-03M2M from Point Grey) triggered by the fluorescence recording camera to ensure temporal alignment between fluorescence and behavior.

Walking, flailing, and grooming were obtained by measuring the optic flow from the Movies of the ball or by analyzing the movement of the fly’s legs using the ‘optic flow’ plugin in FIJI. For turning or rotational speed (rad/s), the sum of left or right optic flows was not binarized. For regression of neuronal time series with behavior, all behavioral time series were then convolved with the single spike response of the GCaMP version used for the experiment and subjected to the same ΔF/F procedure as the fluorescence time series (see below).

Pre-processing

Reconstructed volumetric fluorescence data were pre-processed by first correcting for movement using 3Dvolreg from AFNI (https://github.com/afni/afni) (Cox, 1996; Cox and Hyde, 1997). In Matlab, we then calculated the ΔF/F for each voxel by subtracting and dividing by the signal averaged for 4000 time points. We finally decreased noise with a Kalman filter (from https://www.mathworks.com/matlabcentral/fileexchange/26334-kalman-filter-for-noisy-movies) with a gain of 0.5.

Gal4 UAS-GCaMP # of flies, spontaneousWalk (flail, groom) Flailing Grooming Frame rate in Hz(# of experiments) Walking substrate(# of experiments) # flies of flies forced walk
Total Total 58 9 6 98 (8), 50 (21), 20 (11), 10 (9), 5 (30), 2 (2) Air-supported ball (33), styrofoam ball (54) 26
Nsyb 7f 1 1 1 50 (1) Air-supported ball
7s 1 1 5 (1) Styrofoam ball 1
6m 6 5 2 50 (8), 20 (5), 10 (3), 5 (4) Air-supported ball (16), styrofoam ball (5) 3
6f 3 1 98 (2), 50 (1) Air-supported ball (2), styrofoam ball (1)
6s 1 1 50 (1) Styrofoam ball (1) 2
Total 12 8 4 98 (2), 50 (11), 20 (5), 10 (3), 5 (5) Air-supported ball (19), styrofoam ball (8) 6
R57C10 7s 1 1 98 (2) Styrofoam ball (2)
6s 3 1 1 50 (1), 5 (1), 20 (1) Styrofoam ball (3) 3
Total 4 1 2 98 (2), 50 (1), 20 (1), 5 (1) Air-supported ball (0), styrofoam ball (5) 3
Cha 6m 4 5 (4) Styrofoam ball (4)
6f 1 98 (1) Air-supported ball (1)
Total 5 98 (1), 5 (4) Air-supported ball (1), styrofoam ball (4) 0
Vglut 6m 5 20 (2), 10 (3), 5 (4) Air-supported ball (3), styrofoam ball (6)
Total 5 20 (2), 10 (3), 5 (4) Air-supported ball (3), styrofoam ball (6) 0
Gad 6m 5 98 (2), 20 (1), 5 (5), 2 (1) Styrofoam ball (9)
Total 5 98 (2), 20 (1), 5 (5), 2 (1) Air-supported ball (0), styrofoam ball (9) 0
TH/DDC 6m 5 50 (2), 5 (1), 10 (1) Air supported ball (3), styrofoam ball (2) 4
6f 6 50 (5), 98 (1) Air supported ball (2), styrofoam ball (3) 1
Total 11 98 (1), 50 (7), 10 (1), 5 (1) Air-supported ball (5), styrofoam ball (5) 5
Trh 6m 3 50 (3), 5 (3) Air supported ball (1), styrofoam ball (6)
6f 3 10 (2) Air supported ball (2), styrofoam ball (1)
6s 3 5 (3) Styrofoam ball (4) 6
Total 9 50 (3), 10 (2), 5 (6) Air-supported ball (3), styrofoam ball (11) 6
Tdc2 6s 7 20 (2), 5 (4), 2 (1) Air supported ball (2), styrofoam ball (6) 6
Total 7 20 (2), 5 (4), 2 (1) Air-supported ball (2), styrofoam ball (6) 6

We generated summary movies by maximum projecting the ∆F/F volumes and combining these to the behavior.

Alignment to template

We aligned the functional data to the anatomical template JRC2018 (https://www.janelia.org/open-science/jrc-2018-brain-templates) using the landmarks registration plugin with ImageJ (as described in http://imagej.net/Name_Landmarks_and_Register), with the landmarks found in https://github.com/sophie63/Aimon2022/blob/main/Registration/SmallJRC2018Template.points.

This allowed for extracting the anatomically defined regions covered by the functional regions (see Table 2) and finding candidate neurons using Flycircuit (http://www.flycircuit.tw/) or Virtual Fly Brain https://v2.virtualflybrain.org databases.

Statistical analysis

Sample size determination: As we expected large effects (Aimon et al., 2019), we chose to focus on those and planned for a minimum of 5 flies per condition satisfying quality criteria. Low-quality flies were flies in which no spontaneous activity was detected, or in which front legs were not touching the substrate for walking experiments.

Statistics were performed in python with code freely available on https://github.com/sophie63/Aimon2022. (Aimon, 2023a copy archived at swh:1:rev:a6499a918cc1373db3933a061c6add7c57b79cf2). To compare fluorescence time series (normalized by the absolute maximum value per fly) and behavioral time series, we used a simple regression model: FF=f(behaviorregressor), solved with the ordinary least square fit function of the python statsmodels package. For each time series (either regional averaged intensity or the PCA/ICA component), this provided a fraction of variance explained by the behavior (R2), and the sign and strength of the correlation (coefficient). We compared these values with pairwise tests using two-sided Mann–Whitney non-parametric tests with a Bonferroni multiple comparison correction. We used a more complex linear model to evaluate the effect of variables of interest (behavior, brain region, neural type) while explaining confounds (GCaMP version, exact pan-neuronal Gal4): R2 ~ Behavior + RegionNames + Gal4 + UAS and Coef ~ Behavior + RegionNames + Gal4 + UAS. We then plotted the coefficients + intercept, and 95% interval of coefficient + 95% interval of the intercept to compare the effect of the variables to zero. We also compared these values with zero with a t-test and corrected for multiple comparison using the Benjamini–Hochberg method. For detection of activation before walk, we integrated activity from −0.5 s before to walk onset minus level at −0.5 s before onset. We used a Wilcoxon test to compare these values to zero and corrected for multiple comparison using the Benjamini–Hochberg method. Flies were recorded over prolonged periods of times at different imaging speeds and during different behaviors. See table above for details on number of individual flies and types of experiments per fly.

PCA/ICA

To obtain functional maps of the fly brain, we performed PCA and ICA as described previously (Aimon et al., 2019; Beckmann and Smith, 2004). Briefly, SVD (singular value decomposition) was used a first time to find the level of noise and normalize voxels by their noise variance. SVD was performed a second time on this normalized data resulting in maps and time series for principal components. The principal component maps were unmixed using ICA to obtain localized regions. The same matrix was used to unmix the time series.

Acknowledgements

We are very grateful to Marta Costa and Kei Ito for sharing data, images, and knowledge during the course of this study. We also thank Francisco Rodriguez-Jimenez, Paul Bandow, Subhadarshini Parhi, and Kunhi Purayil Siju for help with data analysis. We would like to acknowledge funding from the European research commission (ERCStG FlyContext to IGK, ERCStG NeuroDevo to JG), the Simons Foundation (Aimon - 414701 to SA), and the Ministry of Culture and Science of the State of North Rhine-Westphalia (iBehave network to IGK).

Funding Statement

The funders had no role in study design, data collection, and interpretation, or the decision to submit the work for publication.

Contributor Information

Sophie Aimon, Email: aimon.sophie@gmail.com.

Ilona C Grunwald Kadow, Email: ilona.grunwald@ukbonn.de.

Damon A Clark, Yale University, United States.

Claude Desplan, New York University, United States.

Funding Information

This paper was supported by the following grants:

  • European Research Council ERCStG FlyContext to Ilona C Grunwald Kadow.

  • European Research Council ERCStG NeuroDevo to Julijana Gjorgjieva.

  • Simons Foundation Aimon - 414701 to Sophie Aimon.

  • iBehave network funded by the Ministry of Culture and Science of the State of North Rhine-Westphalia to Ilona C Grunwald Kadow.

Additional information

Competing interests

No competing interests declared.

No competing interests declared.

Reviewing editor, eLife.

Author contributions

Conceptualization, Data curation, Software, Formal analysis, Validation, Investigation, Visualization, Methodology, Writing – original draft, Writing – review and editing.

Data curation, Validation, Investigation, Writing – review and editing.

Supervision, Project administration, Writing – review and editing.

Conceptualization, Resources, Supervision, Funding acquisition, Investigation, Visualization, Methodology, Writing – original draft, Project administration, Writing – review and editing.

Additional files

MDAR checklist
Supplementary file 1. Description of components and putative underlying neurons.
elife-85202-supp1.docx (740.7KB, docx)

Data availability

Time series of regional data are available on Dryad https://doi.org/10.5061/dryad.3bk3j9kpb, and small datasets of processed data used for generating figures are on github: https://github.com/sophie63/Aimon2022. Code to analyze the data is available on https://github.com/sophie63/Aimon2022 (copy archived at Aimon, 2023a) and https://github.com/sophie63/FlyLFM (copy archived at Aimon, 2023b). Original data are very large (several tens of TB) and is available upon request to Ilona.grunwald@uni-bonn.de.

The following dataset was generated:

Aimon S, Cheng KY, Gjorgjieva J, Ilona C GK. 2022. Time series of regional activity in Drosophila. Dryad Digital Repository.

The following previously published dataset was used:

Aimon S, Katsuki T, Jia T, Grosenick L, Broxton M, Deisseroth K, Sejnowski TJ, Greenspan RJ. 2019. Whole-brain recordings of adult Drosophila using light field microscopy along with corresponding behavior or stimuli data. Collaborative Research in Computational Neuroscience.

References

  1. Ache JM, Namiki S, Lee A, Branson K, Card GM. State-Dependent decoupling of sensory and motor circuits underlies behavioral flexibility in Drosophila. Nature Neuroscience. 2019;22:1132–1139. doi: 10.1038/s41593-019-0413-4. [DOI] [PMC free article] [PubMed] [Google Scholar]
  2. Afelt Z. Functional significance of ventral descending tracts of the spinal cord in the cat. Acta Neurobiologiae Experimentalis. 1974;34:393–407. [PubMed] [Google Scholar]
  3. Agrawal S, Dickinson ES, Sustar A, Gurung P, Shepherd D, Truman JW, Tuthill JC. Central processing of leg proprioception in Drosophila. eLife. 2020;9:e60299. doi: 10.7554/eLife.60299. [DOI] [PMC free article] [PubMed] [Google Scholar]
  4. Aimon S, Grunwald Kadow IC. Studying complex brain dynamics using Drosophila. Journal of Neurogenetics. 2019;1:7. doi: 10.1080/01677063.2019.1706092. [DOI] [PubMed] [Google Scholar]
  5. Aimon S, Katsuki T, Jia T, Grosenick L, Broxton M, Deisseroth K, Sejnowski TJ, Greenspan RJ. Fast near-whole-brain imaging in adult Drosophila during responses to stimuli and behavior. PLOS Biology. 2019;17:e2006732. doi: 10.1371/journal.pbio.2006732. [DOI] [PMC free article] [PubMed] [Google Scholar]
  6. Aimon S. Aimon2022. swh:1:rev:a6499a918cc1373db3933a061c6add7c57b79cf2Software Heritage. 2023a https://archive.softwareheritage.org/swh:1:dir:bd0bb9542cf2a03f4f0cdf0b29c647ff63dad2f0;origin=https://github.com/sophie63/Aimon2022;visit=swh:1:snp:f1f13f42103150413e37906cc14d2ad700a8727c;anchor=swh:1:rev:a6499a918cc1373db3933a061c6add7c57b79cf2
  7. Aimon S. FlyLFM. swh:1:rev:79aec892c2766adfaca046bb172632b6ec73d451Software Heritage. 2023b https://archive.softwareheritage.org/swh:1:dir:3dcf9258db6ca39909b1470e7b08c6aae66cbc98;origin=https://github.com/sophie63/FlyLFM;visit=swh:1:snp:b791c6640fa0f94ef29d547463b83890bee06e7c;anchor=swh:1:rev:79aec892c2766adfaca046bb172632b6ec73d451
  8. Allen AM, Neville MC, Birtles S, Croset V, Treiber CD, Waddell S, Goodwin SF. A single-cell transcriptomic atlas of the adult Drosophila ventral nerve cord. eLife. 2020;9:e54074. doi: 10.7554/eLife.54074. [DOI] [PMC free article] [PubMed] [Google Scholar]
  9. Aonuma H. Serotonergic control in initiating defensive responses to unexpected tactile stimuli in the trap-jaw ant odontomachus kuroiwae. The Journal of Experimental Biology. 2020;223:jeb228874. doi: 10.1242/jeb.228874. [DOI] [PubMed] [Google Scholar]
  10. Aso Y, Sitaraman D, Ichinose T, Kaun KR, Vogt K, Belliart-Guérin G, Plaçais PY, Robie AA, Yamagata N, Schnaitmann C, Rowell WJ, Johnston RM, Ngo TTB, Chen N, Korff W, Nitabach MN, Heberlein U, Preat T, Branson KM, Tanimoto H, Rubin GM. Mushroom body output neurons encode valence and guide memory-based action selection in Drosophila. eLife. 2014;3:e04580. doi: 10.7554/eLife.04580. [DOI] [PMC free article] [PubMed] [Google Scholar]
  11. Beckmann CF, Smith SM. Probabilistic independent component analysis for functional magnetic resonance imaging. IEEE Transactions on Medical Imaging. 2004;23:137–152. doi: 10.1109/TMI.2003.822821. [DOI] [PubMed] [Google Scholar]
  12. Benjamin PR, Staras K, Kemenes G. What roles do tonic inhibition and disinhibition play in the control of motor programs? Frontiers in Behavioral Neuroscience. 2010;4:30. doi: 10.3389/fnbeh.2010.00030. [DOI] [PMC free article] [PubMed] [Google Scholar]
  13. Berman GJ, Bialek W, Shaevitz JW. Predictability and hierarchy in Drosophila behavior. PNAS. 2016;113:11943–11948. doi: 10.1073/pnas.1607601113. [DOI] [PMC free article] [PubMed] [Google Scholar]
  14. Berridge CW. Noradrenergic modulation of arousal. Brain Research Reviews. 2008;58:1–17. doi: 10.1016/j.brainresrev.2007.10.013. [DOI] [PMC free article] [PubMed] [Google Scholar]
  15. Bidaye S.S, Machacek C, Wu Y, Dickson BJ. Neuronal control of Drosophila walking direction. Science. 2014;344:97–101. doi: 10.1126/science.1249964. [DOI] [PubMed] [Google Scholar]
  16. Bidaye SS, Laturney M, Chang AK, Liu Y, Bockemühl T, Büschges A, Scott K. Two brain pathways initiate distinct forward walking programs in Drosophila. Neuron. 2020;108:469–485. doi: 10.1016/j.neuron.2020.07.032. [DOI] [PMC free article] [PubMed] [Google Scholar]
  17. Borst A, Haag J, Mauss AS. How fly neurons compute the direction of visual motion. Journal of Comparative Physiology. A, Neuroethology, Sensory, Neural, and Behavioral Physiology. 2020;206:109–124. doi: 10.1007/s00359-019-01375-9. [DOI] [PMC free article] [PubMed] [Google Scholar]
  18. Broxton M, Grosenick L, Yang S, Cohen N, Andalman A, Deisseroth K, Levoy M. Wave optics theory and 3-D deconvolution for the light field microscope. Optics Express. 2013;21:25418–25439. doi: 10.1364/OE.21.025418. [DOI] [PMC free article] [PubMed] [Google Scholar]
  19. Busch S, Selcho M, Ito K, Tanimoto H. A map of octopaminergic neurons in the Drosophila brain. The Journal of Comparative Neurology. 2009;513:643–667. doi: 10.1002/cne.21966. [DOI] [PubMed] [Google Scholar]
  20. Busse L, Cardin JA, Chiappe ME, Halassa MM, McGinley MJ, Yamashita T, Saleem AB. Sensation during active behaviors. The Journal of Neuroscience. 2017;37:10826–10834. doi: 10.1523/JNEUROSCI.1828-17.2017. [DOI] [PMC free article] [PubMed] [Google Scholar]
  21. Calhoun AJ, Pillow JW, Murthy M. Unsupervised identification of the internal states that shape natural behavior. Nature Neuroscience. 2019;22:2040–2049. doi: 10.1038/s41593-019-0533-x. [DOI] [PMC free article] [PubMed] [Google Scholar]
  22. Cande J, Namiki S, Qiu J, Korff W, Card GM, Shaevitz JW, Stern DL, Berman GJ. Optogenetic dissection of descending behavioral control in Drosophila. eLife. 2018;7:e34275. doi: 10.7554/eLife.34275. [DOI] [PMC free article] [PubMed] [Google Scholar]
  23. Chapman PD, Burkland R, Bradley SP, Houot B, Bullman V, Dacks AM, Daly KC. Flight motor networks modulate primary olfactory processing in the moth Manduca sexta. PNAS. 2018;115:5588–5593. doi: 10.1073/pnas.1722379115. [DOI] [PMC free article] [PubMed] [Google Scholar]
  24. Chen CL, Aymanns F, Minegishi R, Matsuda VDV, Talabot N, Günel S, Dickson BJ, Ramdya P. Ascending neurons convey behavioral state to integrative sensory and action selection brain regions. Nature Neuroscience. 2023;26:682–695. doi: 10.1038/s41593-023-01281-z. [DOI] [PMC free article] [PubMed] [Google Scholar]
  25. Chiang AS, Lin CY, Chuang CC, Chang HM, Hsieh CH, Yeh CW, Shih CT, Wu JJ, Wang GT, Chen YC, Wu CC, Chen GY, Ching YT, Lee PC, Lin CY, Lin HH, Wu CC, Hsu HW, Huang YA, Chen JY, Chiang HJ, Lu CF, Ni RF, Yeh CY, Hwang JK. Three-Dimensional reconstruction of brain-wide wiring networks in Drosophila at single-cell resolution. Current Biology. 2011;21:1–11. doi: 10.1016/j.cub.2010.11.056. [DOI] [PubMed] [Google Scholar]
  26. Chiappe ME, Seelig JD, Reiser MB, Jayaraman V. Walking modulates speed sensitivity in Drosophila motion vision. Current Biology. 2010;20:1470–1475. doi: 10.1016/j.cub.2010.06.072. [DOI] [PMC free article] [PubMed] [Google Scholar]
  27. Coates KE, Calle-Schuler SA, Helmick LM, Knotts VL, Martik BN, Salman F, Warner LT, Valla SV, Bock DD, Dacks AM. The wiring logic of an identified serotonergic neuron that spans sensory networks. The Journal of Neuroscience. 2020;40:6309–6327. doi: 10.1523/JNEUROSCI.0552-20.2020. [DOI] [PMC free article] [PubMed] [Google Scholar]
  28. Coddington LT, Dudman JT. Learning from action: reconsidering movement signaling in midbrain dopamine neuron activity. Neuron. 2019;104:63–77. doi: 10.1016/j.neuron.2019.08.036. [DOI] [PubMed] [Google Scholar]
  29. Cohn R, Morantte I, Ruta V. Coordinated and compartmentalized neuromodulation shapes sensory processing in Drosophila. Cell. 2015;163:1742–1755. doi: 10.1016/j.cell.2015.11.019. [DOI] [PMC free article] [PubMed] [Google Scholar]
  30. Cox RW. AFNI: software for analysis and visualization of functional magnetic resonance NeuroImages. Computers and Biomedical Research, an International Journal. 1996;29:162–173. doi: 10.1006/cbmr.1996.0014. [DOI] [PubMed] [Google Scholar]
  31. Cox RW, Hyde JS. Software tools for analysis and visualization of fMRI data. NMR in Biomedicine. 1997;10:171–178. doi: 10.1002/(sici)1099-1492(199706/08)10:4/5&#x0003c;171::aid-nbm453&#x0003e;3.0.co;2-l. [DOI] [PubMed] [Google Scholar]
  32. Creamer MS, Mano O, Clark DA. Visual control of walking speed in Drosophila. Neuron. 2018;100:1460–1473. doi: 10.1016/j.neuron.2018.10.028. [DOI] [PMC free article] [PubMed] [Google Scholar]
  33. Cruz TL, Pérez SM, Chiappe ME. Fast tuning of posture control by visual feedback underlies gaze stabilization in walking Drosophila. Current Biology. 2021;31:4596–4607. doi: 10.1016/j.cub.2021.08.041. [DOI] [PMC free article] [PubMed] [Google Scholar]
  34. Dadarlat MC, Stryker MP. Locomotion enhances neural encoding of visual stimuli in mouse V1. The Journal of Neuroscience. 2017;37:3764–3775. doi: 10.1523/JNEUROSCI.2728-16.2017. [DOI] [PMC free article] [PubMed] [Google Scholar]
  35. Dayan P. Twenty-Five lessons from computational neuromodulation. Neuron. 2012;76:240–256. doi: 10.1016/j.neuron.2012.09.027. [DOI] [PubMed] [Google Scholar]
  36. Dayan P, Huys Q. Serotonin’s many meanings elude simple theories. eLife. 2015;4:e07390. doi: 10.7554/eLife.07390. [DOI] [PMC free article] [PubMed] [Google Scholar]
  37. DeAngelis BD, Zavatone-Veth JA, Clark DA. The manifold structure of limb coordination in walking Drosophila. eLife. 2019;8:e46409. doi: 10.7554/eLife.46409. [DOI] [PMC free article] [PubMed] [Google Scholar]
  38. Doya K, Miyazaki KW, Miyazaki K. Serotonergic modulation of cognitive computations. Current Opinion in Behavioral Sciences. 2021;38:116–123. doi: 10.1016/j.cobeha.2021.02.003. [DOI] [Google Scholar]
  39. Emanuel S, Kaiser M, Pflueger HJ, Libersat F. On the role of the head ganglia in posture and walking in insects. Frontiers in Physiology. 2020;11:135. doi: 10.3389/fphys.2020.00135. [DOI] [PMC free article] [PubMed] [Google Scholar]
  40. Fenk LM, Kim AJ, Maimon G. Suppression of motion vision during course-changing, but not course-stabilizing, navigational turns. Current Biology. 2021;31:4608–4619. doi: 10.1016/j.cub.2021.09.068. [DOI] [PubMed] [Google Scholar]
  41. Fisher YE, Marquis M, D’Alessandro I, Wilson RI. Dopamine promotes head direction plasticity during orienting movements. Nature. 2022;612:316–322. doi: 10.1038/s41586-022-05485-4. [DOI] [PMC free article] [PubMed] [Google Scholar]
  42. Flaive A, Fougère M, van der Zouwen CI, Ryczko D. Serotonergic modulation of locomotor activity from basal vertebrates to mammals. Frontiers in Neural Circuits. 2020;14:590299. doi: 10.3389/fncir.2020.590299. [DOI] [PMC free article] [PubMed] [Google Scholar]
  43. Fujiwara T, Cruz TL, Bohnslav JP, Chiappe ME. A faithful internal representation of walking movements in the Drosophila visual system. Nature Neuroscience. 2017;20:72–81. doi: 10.1038/nn.4435. [DOI] [PubMed] [Google Scholar]
  44. Geurten BRH, Jähde P, Corthals K, Göpfert MC. Saccadic body turns in walking Drosophila. Frontiers in Behavioral Neuroscience. 2014;8:365. doi: 10.3389/fnbeh.2014.00365. [DOI] [PMC free article] [PubMed] [Google Scholar]
  45. Gray SR, Ye L, Ye JY, Paukert M. Noradrenergic terminal short-term potentiation enables modality-selective integration of sensory input and vigilance state. Science Advances. 2021;7:eabk1378. doi: 10.1126/sciadv.abk1378. [DOI] [PMC free article] [PubMed] [Google Scholar]
  46. Hampel S, Franconville R, Simpson JH, Seeds AM. A neural command circuit for grooming movement control. eLife. 2015;4:e08758. doi: 10.7554/eLife.08758. [DOI] [PMC free article] [PubMed] [Google Scholar]
  47. Helfrich-Förster C. Sleep in insects. Annual Review of Entomology. 2018;63:69–86. doi: 10.1146/annurev-ento-020117-043201. [DOI] [PubMed] [Google Scholar]
  48. Henschke JU, Price AT, Pakan JMP. Enhanced modulation of cell-type specific neuronal responses in mouse dorsal auditory field during locomotion. Cell Calcium. 2021;96:102390. doi: 10.1016/j.ceca.2021.102390. [DOI] [PubMed] [Google Scholar]
  49. Hirsh J. Decapitated Drosophila: a novel system for the study of biogenic amines. Advances in Pharmacology. 1997;42:945–948. doi: 10.1016/S1054-3589(08)60903-5. [DOI] [PubMed] [Google Scholar]
  50. Howard CE, Chen CL, Tabachnik T, Hormigo R, Ramdya P, Mann RS. Serotonergic modulation of walking in Drosophila. Current Biology. 2019;29:4218–4230. doi: 10.1016/j.cub.2019.10.042. [DOI] [PMC free article] [PubMed] [Google Scholar]
  51. Howe MW, Dombeck DA. Rapid signalling in distinct dopaminergic axons during locomotion and reward. Nature. 2016;535:505–510. doi: 10.1038/nature18942. [DOI] [PMC free article] [PubMed] [Google Scholar]
  52. Hsu CT, Bhandawat V. Organization of descending neurons in Drosophila melanogaster. Scientific Reports. 2016;6:20259. doi: 10.1038/srep20259. [DOI] [PMC free article] [PubMed] [Google Scholar]
  53. Ito K, Shinomiya K, Ito M, Armstrong JD, Boyan G, Hartenstein V, Harzsch S, Heisenberg M, Homberg U, Jenett A, Keshishian H, Restifo LL, Rössler W, Simpson JH, Strausfeld NJ, Strauss R, Vosshall LB, Insect Brain Name Working Group A systematic Nomenclature for the insect brain. Neuron. 2014;81:755–765. doi: 10.1016/j.neuron.2013.12.017. [DOI] [PubMed] [Google Scholar]
  54. Kaplan HS, Zimmer M. Brain-Wide representations of ongoing behavior: a universal principle? Current Opinion in Neurobiology. 2020;64:60–69. doi: 10.1016/j.conb.2020.02.008. [DOI] [PubMed] [Google Scholar]
  55. Kato S, Kaplan HS, Schrödel T, Skora S, Lindsay TH, Yemini E, Lockery S, Zimmer M. Global brain dynamics embed the motor command sequence of Caenorhabditis elegans. Cell. 2015;163:656–669. doi: 10.1016/j.cell.2015.09.034. [DOI] [PubMed] [Google Scholar]
  56. Katsov AY, Freifeld L, Horowitz M, Kuehn S, Clandinin TR. Dynamic structure of locomotor behavior in walking fruit flies. eLife. 2017;6:e26410. doi: 10.7554/eLife.26410. [DOI] [PMC free article] [PubMed] [Google Scholar]
  57. Kaufman AM, Geiller T, Losonczy A. A role for the locus coeruleus in hippocampal CA1 place cell reorganization during spatial reward learning. Neuron. 2020;105:1018–1026. doi: 10.1016/j.neuron.2019.12.029. [DOI] [PMC free article] [PubMed] [Google Scholar]
  58. Kien J. Neuronal activity during spontaneous walking -- I. starting and stopping. Comparative Biochemistry and Physiology. A, Comparative Physiology. 1990a;95:607–621. doi: 10.1016/0300-9629(90)90747-g. [DOI] [PubMed] [Google Scholar]
  59. Kien J. Neuronal activity during spontaneous walking -- II. Correlation with stepping. Comparative Biochemistry and Physiology. A, Comparative Physiology. 1990b;95:623–638. doi: 10.1016/0300-9629(90)90748-h. [DOI] [PubMed] [Google Scholar]
  60. Kong EC, Woo K, Li H, Lebestky T, Mayer N, Sniffen MR, Heberlein U, Bainton RJ, Hirsh J, Wolf FW. A pair of dopamine neurons target the D1-like dopamine receptor DopR in the central complex to promote ethanol-stimulated locomotion in Drosophila. PLOS ONE. 2010;5:e9954. doi: 10.1371/journal.pone.0009954. [DOI] [PMC free article] [PubMed] [Google Scholar]
  61. Levoy M, Ng R, Adams A, Footer M, Horowitz M. Light field microscopy. ACM Transactions on Graphics. 2006;25:924–934. doi: 10.1145/1141911.1141976. [DOI] [Google Scholar]
  62. Li F, Lindsey JW, Marin EC, Otto N, Dreher M, Dempsey G, Stark I, Bates AS, Pleijzier MW, Schlegel P, Nern A, Takemura SY, Eckstein N, Yang T, Francis A, Braun A, Parekh R, Costa M, Scheffer LK, Aso Y, Jefferis GS, Abbott LF, Litwin-Kumar A, Waddell S, Rubin GM. The connectome of the adult Drosophila mushroom body provides insights into function. eLife. 2020;9:e62576. doi: 10.7554/eLife.62576. [DOI] [PMC free article] [PubMed] [Google Scholar]
  63. Liang X, Holy TE, Taghert PH. Synchronous Drosophila circadian pacemakers display nonsynchronous Ca2+ rhythms in vivo. Science. 2016;351:976–981. doi: 10.1126/science.aad3997. [DOI] [PMC free article] [PubMed] [Google Scholar]
  64. Liu Q, Tabuchi M, Liu S, Kodama L, Horiuchi W, Daniels J, Chiu L, Baldoni D, Wu MN. Branch-Specific plasticity of a bifunctional dopamine circuit encodes protein hunger. Science. 2017;356:534–539. doi: 10.1126/science.aal3245. [DOI] [PMC free article] [PubMed] [Google Scholar]
  65. Lu J, Behbahani AH, Hamburg L, Westeinde EA, Dawson PM, Lyu C, Maimon G, Dickinson MH, Druckmann S, Wilson RI. Transforming representations of movement from body- to world-centric space. Nature. 2022;601:98–104. doi: 10.1038/s41586-021-04191-x. [DOI] [PMC free article] [PubMed] [Google Scholar]
  66. Lyu C, Abbott LF, Maimon G. Building an allocentric travelling direction signal via vector computation. Nature. 2022;601:92–97. doi: 10.1038/s41586-021-04067-0. [DOI] [PMC free article] [PubMed] [Google Scholar]
  67. Macé É, Montaldo G, Trenholm S, Cowan C, Brignall A, Urban A, Roska B. Whole-Brain functional ultrasound imaging reveals brain modules for visuomotor integration. Neuron. 2018;100:1241–1251. doi: 10.1016/j.neuron.2018.11.031. [DOI] [PMC free article] [PubMed] [Google Scholar]
  68. Maimon G, Straw AD, Dickinson MH. Active flight increases the gain of visual motion processing in Drosophila. Nature Neuroscience. 2010;13:393–399. doi: 10.1038/nn.2492. [DOI] [PubMed] [Google Scholar]
  69. Mamiya A, Gurung P, Tuthill JC. Neural coding of leg proprioception in Drosophila. Neuron. 2018;100:636–650. doi: 10.1016/j.neuron.2018.09.009. [DOI] [PMC free article] [PubMed] [Google Scholar]
  70. Mann K, Deny S, Ganguli S, Clandinin TR. Coupling of activity, metabolism and behaviour across the Drosophila brain. Nature. 2021;593:244–248. doi: 10.1038/s41586-021-03497-0. [DOI] [PMC free article] [PubMed] [Google Scholar]
  71. Mao Z, Davis RL. Eight different types of dopaminergic neurons innervate the Drosophila mushroom body neuropil: anatomical and physiological heterogeneity. Frontiers in Neural Circuits. 2009;3:5. doi: 10.3389/neuro.04.005.2009. [DOI] [PMC free article] [PubMed] [Google Scholar]
  72. Marques JC, Li M, Schaak D, Robson DN, Li JM. Internal state dynamics shape brainwide activity and foraging behaviour. Nature. 2020;577:239–243. doi: 10.1038/s41586-019-1858-z. [DOI] [PubMed] [Google Scholar]
  73. Mendes CS, Rajendren SV, Bartos I, Márka S, Mann RS. Kinematic responses to changes in walking orientation and gravitational load in Drosophila melanogaster. PLOS ONE. 2014;9:e109204. doi: 10.1371/journal.pone.0109204. [DOI] [PMC free article] [PubMed] [Google Scholar]
  74. Mueller JM, Ravbar P, Simpson JH, Carlson JM. Drosophila melanogaster grooming possesses SYNTAX with distinct rules at different temporal scales. PLOS Computational Biology. 2019;15:e1007105. doi: 10.1371/journal.pcbi.1007105. [DOI] [PMC free article] [PubMed] [Google Scholar]
  75. Musall S, Kaufman MT, Juavinett AL, Gluf S, Churchland AK. Single-trial neural dynamics are dominated by richly varied movements. Nature Neuroscience. 2019;22:1677–1686. doi: 10.1038/s41593-019-0502-4. [DOI] [PMC free article] [PubMed] [Google Scholar]
  76. Namiki S, Dickinson MH, Wong AM, Korff W, Card GM. The functional organization of descending sensory-motor pathways in Drosophila. eLife. 2018;7:e34272. doi: 10.7554/eLife.34272. [DOI] [PMC free article] [PubMed] [Google Scholar]
  77. Namiki S, Ros IG, Morrow C, Rowell WJ, Card GM, Korff W, Dickinson MH. A population of descending neurons that regulates the flight motor of Drosophila. Current Biology. 2022;32:1189–1196. doi: 10.1016/j.cub.2022.01.008. [DOI] [PMC free article] [PubMed] [Google Scholar]
  78. Ngai M, Shoue DA, Loh Z, McDowell MA. The pharmacological and functional characterization of the serotonergic system in Anopheles gambiae and Aedes aegypti: influences on flight and blood-feeding behavior. Scientific Reports. 2019;9:4421. doi: 10.1038/s41598-019-38806-1. [DOI] [PMC free article] [PubMed] [Google Scholar]
  79. Parker PRL, Brown MA, Smear MC, Niell CM. Movement-Related signals in sensory areas: roles in natural behavior. Trends in Neurosciences. 2020;43:581–595. doi: 10.1016/j.tins.2020.05.005. [DOI] [PMC free article] [PubMed] [Google Scholar]
  80. Robie AA, Hirokawa J, Edwards AW, Umayam LA, Lee A, Phillips ML, Card GM, Korff W, Rubin GM, Simpson JH, Reiser MB, Branson K. Mapping the neural substrates of behavior. Cell. 2017;170:393–406. doi: 10.1016/j.cell.2017.06.032. [DOI] [PubMed] [Google Scholar]
  81. Sayin S, De Backer JF, Siju KP, Wosniack ME, Lewis LP, Frisch LM, Gansen B, Schlegel P, Edmondson-Stait A, Sharifi N, Fisher CB, Calle-Schuler SA, Lauritzen JS, Bock DD, Costa M, Jefferis G, Gjorgjieva J, Grunwald Kadow IC. A neural circuit arbitrates between persistence and withdrawal in hungry Drosophila. Neuron. 2019;104:544–558. doi: 10.1016/j.neuron.2019.07.028. [DOI] [PMC free article] [PubMed] [Google Scholar]
  82. Schaffer ES, Mishra N, Whiteway MR, Li W, Vancura MB, Freedman J, Patel KB, Voleti V, Paninski L, Hillman EMC, Abbott LF, Axel R. Flygenvectors: The Spatial and Temporal Structure of Neural Activity across the Fly Brain. bioRxiv. 2021 doi: 10.1101/2021.09.25.461804. [DOI] [PMC free article] [PubMed]
  83. Scheffer LK, Xu CS, Januszewski M, Lu Z, Takemura S-Y, Hayworth KJ, Huang GB, Shinomiya K, Maitlin-Shepard J, Berg S, Clements J, Hubbard PM, Katz WT, Umayam L, Zhao T, Ackerman D, Blakely T, Bogovic J, Dolafi T, Kainmueller D, Kawase T, Khairy KA, Leavitt L, Li PH, Lindsey L, Neubarth N, Olbris DJ, Otsuna H, Trautman ET, Ito M, Bates AS, Goldammer J, Wolff T, Svirskas R, Schlegel P, Neace E, Knecht CJ, Alvarado CX, Bailey DA, Ballinger S, Borycz JA, Canino BS, Cheatham N, Cook M, Dreher M, Duclos O, Eubanks B, Fairbanks K, Finley S, Forknall N, Francis A, Hopkins GP, Joyce EM, Kim S, Kirk NA, Kovalyak J, Lauchie SA, Lohff A, Maldonado C, Manley EA, McLin S, Mooney C, Ndama M, Ogundeyi O, Okeoma N, Ordish C, Padilla N, Patrick CM, Paterson T, Phillips EE, Phillips EM, Rampally N, Ribeiro C, Robertson MK, Rymer JT, Ryan SM, Sammons M, Scott AK, Scott AL, Shinomiya A, Smith C, Smith K, Smith NL, Sobeski MA, Suleiman A, Swift J, Takemura S, Talebi I, Tarnogorska D, Tenshaw E, Tokhi T, Walsh JJ, Yang T, Horne JA, Li F, Parekh R, Rivlin PK, Jayaraman V, Costa M, Jefferis GS, Ito K, Saalfeld S, George R, Meinertzhagen IA, Rubin GM, Hess HF, Jain V, Plaza SM. A connectome and analysis of the adult Drosophila central brain. eLife. 2020;9:e57443. doi: 10.7554/eLife.57443. [DOI] [PMC free article] [PubMed] [Google Scholar]
  84. Schilling M, Cruse H. Decentralized control of insect walking: a simple neural network explains a wide range of behavioral and neurophysiological results. PLOS Computational Biology. 2020;16:e1007804. doi: 10.1371/journal.pcbi.1007804. [DOI] [PMC free article] [PubMed] [Google Scholar]
  85. Schindelin J, Arganda-Carreras I, Frise E, Kaynig V, Longair M, Pietzsch T, Preibisch S, Rueden C, Saalfeld S, Schmid B, Tinevez JY, White DJ, Hartenstein V, Eliceiri K, Tomancak P, Cardona A. Fiji: an open-source platform for biological-image analysis. Nature Methods. 2012;9:676–682. doi: 10.1038/nmeth.2019. [DOI] [PMC free article] [PubMed] [Google Scholar]
  86. Schoofs A, Hückesfeld S, Schlegel P, Miroschnikow A, Peters M, Zeymer M, Spieß R, Chiang A-S, Pankratz MJ. Selection of motor programs for suppressing food intake and inducing locomotion in the Drosophila brain. PLOS Biology. 2014;12:e1001893. doi: 10.1371/journal.pbio.1001893. [DOI] [PMC free article] [PubMed] [Google Scholar]
  87. Schoofs A, Hückesfeld S, Pankratz MJ. Serotonergic network in the subesophageal zone modulates the motor pattern for food intake in Drosophila. Journal of Insect Physiology. 2018;106:36–46. doi: 10.1016/j.jinsphys.2017.07.007. [DOI] [PubMed] [Google Scholar]
  88. Seelig JD, Chiappe ME, Lott GK, Dutta A, Osborne JE, Reiser MB, Jayaraman V. Two-Photon calcium imaging from head-fixed Drosophila during optomotor walking behavior. Nature Methods. 2010;7:535–540. doi: 10.1038/nmeth.1468. [DOI] [PMC free article] [PubMed] [Google Scholar]
  89. Seelig JD, Jayaraman V. Neural dynamics for landmark orientation and angular path integration. Nature. 2015;521:186–191. doi: 10.1038/nature14446. [DOI] [PMC free article] [PubMed] [Google Scholar]
  90. Sen R, Wang K, Dickson BJ. TwoLumps ascending neurons mediate touch-evoked reversal of walking direction in Drosophila. Current Biology. 2019;29:4337–4344. doi: 10.1016/j.cub.2019.11.004. [DOI] [PubMed] [Google Scholar]
  91. Siju KP, Štih V, Aimon S, Gjorgjieva J, Portugues R, Grunwald Kadow IC. Valence and state-dependent population coding in dopaminergic neurons in the fly mushroom body. Current Biology. 2020;30:2104–2115. doi: 10.1016/j.cub.2020.04.037. [DOI] [PubMed] [Google Scholar]
  92. Sims DW, Humphries NE, Hu N, Medan V, Berni J. Optimal searching behaviour generated intrinsically by the central pattern generator for locomotion. eLife. 2019;8:e50316. doi: 10.7554/eLife.50316. [DOI] [PMC free article] [PubMed] [Google Scholar]
  93. Stringer C, Pachitariu M, Steinmetz N, Reddy CB, Carandini M, Harris KD. Spontaneous behaviors drive multidimensional, brainwide activity. Science. 2019;364:255. doi: 10.1126/science.aav7893. [DOI] [PMC free article] [PubMed] [Google Scholar]
  94. Suver MP, Huda A, Iwasaki N, Safarik S, Dickinson MH. An array of descending visual interneurons encoding self-motion in Drosophila. The Journal of Neuroscience. 2016;36:11768–11780. doi: 10.1523/JNEUROSCI.2277-16.2016. [DOI] [PMC free article] [PubMed] [Google Scholar]
  95. Tao L, Ozarkar S, Beck JM, Bhandawat V. Statistical structure of locomotion and its modulation by odors. eLife. 2019;8:e41235. doi: 10.7554/eLife.41235. [DOI] [PMC free article] [PubMed] [Google Scholar]
  96. Tsai KT, Chou YH. Random walk revisited: quantification and comparative analysis of Drosophila walking trajectories. IScience. 2019;19:1145–1159. doi: 10.1016/j.isci.2019.08.054. [DOI] [PMC free article] [PubMed] [Google Scholar]
  97. Tsubouchi A, Yano T, Yokoyama TK, Murtin C, Otsuna H, Ito K. Topological and modality-specific representation of somatosensory information in the fly brain. Science. 2017;358:615–623. doi: 10.1126/science.aan4428. [DOI] [PubMed] [Google Scholar]
  98. Vicente AM, Martins GJ, Costa RM. Cortico-Basal ganglia circuits underlying dysfunctional control of motor behaviors in neuropsychiatric disorders. Current Opinion in Genetics & Development. 2020;65:151–159. doi: 10.1016/j.gde.2020.05.042. [DOI] [PMC free article] [PubMed] [Google Scholar]
  99. Vitrac C, Benoit-Marand M. Monoaminergic modulation of motor cortex function. Frontiers in Neural Circuits. 2017;11:72. doi: 10.3389/fncir.2017.00072. [DOI] [PMC free article] [PubMed] [Google Scholar]
  100. Vladimirov N, Mu Y, Kawashima T, Bennett DV, Yang C-T, Looger LL, Keller PJ, Freeman J, Ahrens MB. Light-Sheet functional imaging in fictively behaving zebrafish. Nature Methods. 2014;11:883–884. doi: 10.1038/nmeth.3040. [DOI] [PubMed] [Google Scholar]
  101. von Philipsborn AC, Liu T, Yu JY, Masser C, Bidaye SS, Dickson BJ. Neuronal control of Drosophila courtship song. Neuron. 2011;69:509–522. doi: 10.1016/j.neuron.2011.01.011. [DOI] [PubMed] [Google Scholar]
  102. Woller A, Bandow P, Aimon S, Grunwald Kadow IC. Preparing adult Drosophila melanogaster for whole brain imaging during behavior and stimuli responses. Journal of Visualized Experiments. 2021;12:61876. doi: 10.3791/61876. [DOI] [PubMed] [Google Scholar]
  103. Wolpert DM, Diedrichsen J, Flanagan JR. Principles of sensorimotor learning. Nature Reviews. Neuroscience. 2011;12:739–751. doi: 10.1038/nrn3112. [DOI] [PubMed] [Google Scholar]
  104. Xiang L, Harel A, Gao H, Pickering AE, Sara SJ, Wiener SI. Behavioral correlates of activity of optogenetically identified locus coeruleus noradrenergic neurons in rats performing T-maze tasks. Scientific Reports. 2019;9:1361. doi: 10.1038/s41598-018-37227-w. [DOI] [PMC free article] [PubMed] [Google Scholar]
  105. Zacarias R, Namiki S, Card GM, Vasconcelos ML, Moita MA. Speed dependent descending control of freezing behavior in Drosophila melanogaster. Nature Communications. 2018;9:3697. doi: 10.1038/s41467-018-05875-1. [DOI] [PMC free article] [PubMed] [Google Scholar]
  106. Zheng Z, Lauritzen JS, Perlman E, Robinson CG, Nichols M, Milkie D, Torrens O, Price J, Fisher CB, Sharifi N, Calle-Schuler SA, Kmecova L, Ali IJ, Karsh B, Trautman ET, Bogovic JA, Hanslovsky P, Jefferis G, Kazhdan M, Khairy K, Saalfeld S, Fetter RD, Bock DD. A complete electron microscopy volume of the brain of adult Drosophila melanogaster. Cell. 2018;174:730–743. doi: 10.1016/j.cell.2018.06.019. [DOI] [PMC free article] [PubMed] [Google Scholar]
  107. Zolin A, Cohn R, Pang R, Siliciano AF, Fairhall AL, Ruta V. Context-Dependent representations of movement in Drosophila dopaminergic reinforcement pathways. Nature Neuroscience. 2021;24:1555–1566. doi: 10.1038/s41593-021-00929-y. [DOI] [PMC free article] [PubMed] [Google Scholar]

Editor's evaluation

Damon A Clark 1

This paper expands on prior work by using whole-brain calcium imaging in Drosophila to examine how spontaneous and forced walking and turning affect neural activity in the brain. The measurements presented will serve as a valuable resource for the fly systems neuroscience community and suggest many testable hypotheses that may serve as the basis for future studies. Analyses of the data are solid, and presented with appropriate caveats. This article will be of interest to neuroscientists engaged with the central problem of how behavior modulates neural activity.

Decision letter

Editor: Damon A Clark1

Our editorial process produces two outputs: (i) public reviews designed to be posted alongside the preprint for the benefit of readers; (ii) feedback on the manuscript for the authors, including requests for revisions, shown below. We also include an acceptance summary that explains what the editors found interesting or important about the work.

Decision letter after peer review:

Thank you for submitting your article "Combined patterns of activity of major neuronal classes underpin a global change in brain state during spontaneous and forced walk in Drosophila" for consideration by eLife. Your article has been reviewed by 3 peer reviewers, one of whom is a member of our Board of Reviewing Editors, and the evaluation has been overseen by Claude Desplan as the Senior Editor. The reviewers have opted to remain anonymous.

The reviewers have discussed their reviews with one another, and the Reviewing Editor has drafted this to help you prepare a revised submission.

Essential revisions:

The reviewers have agreed that the following points should be addressed in a revised manuscript. The list here is short but applies widely to many parts of the manuscript, and many (but not all) instances of applications may be found in the reviewer's individual comments. Especially item (1) below – tempering claims – seems to require a substantial revision of the claims and the prose, i.e., not just adding in a few hedging words.

1) The authors should adjust and temper their claims to match the evidence presented. Reviewers were particularly worried about claims of causality, claims of correspondence with individual neurons, and lack of nuance in interpreting neuropil averages over many neurons. Comments in each review point out specific cases.

2) The statistical rigor could be improved and should account for multiple comparisons. In data analysis, caveats about patterns of responses and metrics should be made clear. Several specific issues are pointed out in individual reviews.

3) The reviewers agreed that the paper could be profitably shortened by focusing the text more tightly on conclusions and avoiding speculation, especially in the results.

Reviewer #1 (Recommendations for the authors):

1. A major metric in this paper is the correlation coefficient squared for dF/F and walking in each brain region. This has some important potential confounds that don't seem to get enough airtime in the analysis or interpretation of results. In particular, this metric is particularly susceptible to signal-to-noise of the data. This means that differences in this metric between brain regions could be due to simple differences in relative expression (and thus brightness and SNR) between regions. Similarly, and perhaps more importantly, when using this metric to make statements about neuron types using different neurotransmitters or amines, the different strengths and patterns of the drivers could be creating the differences in patterns. Or the differences could all be real, but it is difficult to evaluate with the data provided and analyzed as shown.

2. The regression model for predicting dF/F for each region from a walking binary variable was interesting. It would be important to account for multiple comparisons here to identify those regions one is most confident are non-zero. And I think this analysis could also be used productively to compare patterns between conditions – the cosine angle between the vector of regressors tells you succinctly about how different patterns are. This could be used between conditions and between experiments within conditions.

3. The averaging of neuropils in the analyses in this paper has given the authors some valuable insights into patterns of activation across the brain. However, it also hides a lot of information. For instance, identical average activity in a region could correspond to very different activations of individual neurons within the region. Similarly, differences in regional activation between different Gal4s could be due simply to non-uniform expression among different subtypes that results in different dF/F signals. One example is the interpretation of the GAD and vglut drivers, where the activity tied to walking is used to conclude that the activity in the brain is not due to generalized disinhibition. But we have no idea whether the activity measured in these experiments represents 1% of neurons becoming more active and 99% being hyperpolarized (potentially invisible with Ca indicators), or whether it represents 99% of neurons becoming activated. This is an example of where I expect the authors' interpretation is likely to be correct, but their conclusions are stated more strongly than the data permits. This is just one example, but I think it applies to most analyses in the paper. Throughout, this averaging over neuropil can be masking a lot, so it's rather hard to interpret in some of the simple ways that the authors do. I think the caveats with tying these measurements to individual neurons or patterns of activity should be given more discussion and featured heavily in the results and potential interpretations.

4. I think that tabulating potential neurons of interest in each neuropil are a valuable resource, but it seems to be presented as far too strong a conclusion, when in fact it is quite speculative. To show this with the certainty suggested by the current prose, I think one would need to show that expression in just those neurons reproduces the response pattern, or that the pattern is changed without those neurons. As it stands, I think substantially more restraint is required in the discussion of these speculations.

5. The comparisons between spontaneous and forced walking are the only manipulations in the paper and provide interesting results about neuropils active before spontaneous walking. However, the authors repeatedly refer to this as causal – that those regions are triggering the walking (in the discussion). (They say 'likely' once, but thereafter seem to treat this as factual.) This seems too strong – that causality is speculation for the discussion, not a concluded fact from these experiments. The region activities are correlated with and precede walking (and could even be predictive in impending walking – that could be an interesting analysis!), but even then, without some manipulation of those neurons or regions, it doesn't seem possible to conclude that they trigger walking, rather than just precede it. (Alternative hypothesis, not ruled out by this observational data: single neuron pair somewhere, roughly invisible in the averaging done here, elicits spontaneous walking and also activates the neuropils the authors observe.)

6. The asymmetric activity patterns under turning are a cool result. Here also, I think it would be appropriate to exercise more caution in assigning this to specific neurons.

7. Overall, I think the length of some sections in the results diffuses the points the authors want to make. Editing to make it more concise in the results, especially, removing speculation and labeling it more explicitly as speculation in the discussion, would result in a clearer paper.

Reviewer #2 (Recommendations for the authors):

Results:

First paragraph: "We expressed GCaMP pan-neuronally (i.e., nsyb-gal4;UAS-GCaMP6s/6m/6f/7s/7f)". The text in the parens is confusing because it does not help the reader understand when different versions of GCaMP were used and why.

Second paragraph: Movie 1-can you comment on the extent to which the presence of the esophagus obscures activity in the subesophageal zone?

Third paragraph: The idea that frame rates between 5-98 Hz are not different for this analysis is surprising. Can you comment on why the frame rate does not seem especially relevant for these experiments? Is this due to the speed of GCaMP6f?

Fifth paragraph: Can you expand on the effect of the version of GCaMP?

Aimon et al. 2019 used norpA mutants to show that global increases in brain activity during walk are independent of visual sensory input. Can you comment on why you repeated this experiment with black nail polish? How do these results enrich our understanding beyond what you have previously published?

Figure S1: Please provide appropriate citations for Figure S1, panel K, and indicate that this image has been reproduced from another publication.

Sixth paragraph: The difference in R2 for global brain activation for different walking substrates seems important but is somewhat glossed over. Can you expand on why you think different walking substrates impact R2 for global brain activation?

Both inhibitory and excitatory neurons are recruited during walk.

First paragraph: The way this paragraph is written, the reader is led to believe that you are looking for specific descending neuron types and investigating their neurontransmitter profiles. Consider rephrasing to convey that you are looking at all neuronal classes (interneurons, ascending neurons, descending neurons) and investigating how neurons that release different types of neurotransmitters contribute to global brain activity during walking.

Second paragraph: Why change to GCaMP6m here after using GCaMP6f for the global experiments?

Figure 2A. Why do you think the R2 during walk for Cha, VGlut, and GAD is higher than it is for pan-neuronal drivers? Is the relatively high R2 for GAD sufficient to conclude that GABAergic neurons explain relatively more of the variance during walk?

Aminergic neuron activity is strongly correlated with behavior

Figure 3. To what extent are activity maps for more sparse neuromodulatory neuron types related to the expression patterns of these lines? If you were to activate all neurons in these lines with something like Chrimson (rather than with walking), would you see similar or different subsets of regions activated?

Whole brain activity data identifies specific brain regions or even neurons.

Fifth paragraph:

"Although most component were correlated with walk, other had an R2 indistinguishable from zero thus likely representing ongoing activity unrelated to walk (Schaffer et al., 2021)." Revise to "Although most components were correlated with walk, others had an R2 that was indistinguishable from zero thus likely representing ongoing activity unrelated to walk (Schaffer et al., 2021)."

Turning activates specific brain regions and neurons.

First paragraph:

"These DNs were previously described by Namiki et al., who generated specific Gal4 lines for neuronal manipulation (Namiki et al., 2018; Robie et al., 2017)." Aren't these split-GAL4 lines?

Many neurons have similar morphology, so concluding that activity in IPS-Y and LAL-PS is due to specific DNs should await further experiments. For example, subtracting DNb02 and DNb01 from the GAL4 pattern with LexA expressing GAL80 to show this IPS-Y and LAL-PS activity disappears would be helpful. Alternatively, the authors could image DNb02 and DNb01 split-GAL4 lines to show comparable dynamics of activation during turning.

"As for forward walk, most components could be matched to candidate neurons (Table 2) for future functional analysis." Generally speaking, it would be helpful to communicate more strongly that any component to candidate neuron matching is tentative. The data presented here is insufficient to conclude that the components can be matched with specific neuronal cell types.

Brain dynamics at transitions between rest and walk.

Figure 6. Adding a y-axis scale (at least at the beginning of each row of graphs) would help to orient the reader. Additionally, more description of this figure in the figure legend is needed, especially to add that the red bar is presumably indicating walk onset?

Increases in activity before walk onset in PRW, posterior slope (IPS-Y, SPS), and GNGm are small and difficult to appreciate. Is there a more rigorous way to quantify the onset of activation, perhaps by looking at the derivative of normalized dF/F?

"Of note, the component PB-EB corresponds to the previously described head direction cells shown to receive movement-related information during navigation (Lu et al., 2022; Lyu et al., 2022; Seelig and Jayaraman, 2015). EB-DA, found in data from dopaminergic neurons, shows among the strongest and most reliable activity during walk. These neurons were shown to be involved in ethanol-induced locomotion (Kong et al., 2010) and are also involved in sleep regulation (Liang et al., 2016)."

How sure are the authors that the PB-EB component corresponds to head direction cells? I would suggest softening this assertion to express some uncertainty unless further confirmation experiments are added.

"Several other components displayed more variable, and at times too variable dynamics between flies to detect a clear direction (Figure S6)." Which components are the authors referring to? It would be helpful to elaborate on this either in the text or in the Figure S6 legend. For Figure S6, what does the grey vertical bar indicate in each plot?

"The observed activity patterns confirm and extend published neuronal manipulation data, where available, on sleep and locomotion (see above and discussion)" I would soften this claim to say that these data support published neuronal manipulation data. I do not think these data extend published neuronal manipulation studies as no such manipulations were performed. The data presented here could be used to generate hypotheses for future studies.

Forced walk and forced turning recapitulates most activity

Second paragraph: Is the expression of syt-GCAMP stronger in GNG, AMMC, and AVLP (this could be possible if there are more synapses in these regions)? If you activated the brain pan-neuronally with Chrimson and imaged using syt-GCaMP, would you see a different pattern of activity than what is seen suiting walk?

For Figure 7G/ the difference between spontaneous and forced walk, it would be helpful to add statistical comparisons of the normalized activity traces when claiming that they are different versus the same.

Discussion:

Role and origin of broad activation during ongoing behavior

First paragraph: Delete the underscore between "coupling_sensory"

Role and origin of broad activation during ongoing behavior

Fifth paragraph: "More generally, our data indicate that regions triggering walk are also highly sensitive to walk itself suggesting a closed-loop between walk initiation and walk maintenance, possibly including factors such as speed, detailed movement etc." The data presented here is insufficient to conclude that these regions are responsible for triggering walk without further neuronal manipulation studies. The authors should support this claim by showing that MB components correspond to specific neuronal cell types (by removing specific neurons from the global pattern or imaging specific neurons and showing that they show identical dynamics) and then activate and silence these specifical neuronal cell types while analyzing walking behavior.

Reviewer #3 (Recommendations for the authors):

1) The word "underpin" in the title may be too strong because it can be construed to imply a degree of causality, which is not shown. I suggest more precise phrasing like "correlates with" or something similar that clearly does not claim causal relations.

2) Throughout the text activity correlations of many dozens of subregions are compared. E.g. Figure 3F tests 40 hypotheses. Figure 5b tests closer to 90. With so many brain regions it will be important to leverage a statistical framework that explicitly considers multiple hypothesis testing in order to better convey to a reader the relative confidence in each finding. Some avenues to consider: a q-value analysis could be used that articulates a false-discovery rate. Shuffled datasets can also be used to try to reject null hypotheses. And GFP-only animals that lack GCaMP could also be used to generate null distributions to compare against and to reject null hypotheses.

3) Figure S7: the gray shading and blue traces are not defined. At first, I had assumed gray is an error bar and blue is average, but if that's the case, there appears to be a major problem in Figure S7C where these diverge dramatically, e.g. in SMB and SPS and NO.

eLife. 2023 Apr 17;12:e85202. doi: 10.7554/eLife.85202.sa2

Author response


Essential revisions:

The reviewers have agreed that the following points should be addressed in a revised manuscript. The list here is short but applies widely to many parts of the manuscript, and many (but not all) instances of applications may be found in the reviewer's individual comments. Especially item (1) below – tempering claims – seems to require a substantial revision of the claims and the prose, i.e., not just adding in a few hedging words.

1) The authors should adjust and temper their claims to match the evidence presented. Reviewers were particularly worried about claims of causality, claims of correspondence with individual neurons, and lack of nuance in interpreting neuropil averages over many neurons. Comments in each review point out specific cases.

We agree with your assessment and have softened claims of correspondence with specific neurons, removed claims of causality from the result section, and added nuance in interpreting the neuropile data all through the manuscript.

2) The statistical rigor could be improved and should account for multiple comparisons.

We agree with your assessment and have softened claims of correspondence with specific neurons, removed claims of causality from the result section, and added nuance in interpreting the neuropile data all through the manuscript.

In data analysis, caveats about patterns of responses and metrics should be made clear. Several specific issues are pointed out in individual reviews.

We have made these caveats clearer throughout the manuscript.

3) The reviewers agreed that the paper could be profitably shortened by focusing the text more tightly on conclusions and avoiding speculation, especially in the results.

We have substantially shortened the result section (from 9 to 6 pages).

Reviewer #1 (Recommendations for the authors):

1. A major metric in this paper is the correlation coefficient squared for dF/F and walking in each brain region. This has some important potential confounds that don't seem to get enough airtime in the analysis or interpretation of results. In particular, this metric is particularly susceptible to signal-to-noise of the data. This means that differences in this metric between brain regions could be due to simple differences in relative expression (and thus brightness and SNR) between regions. Similarly, and perhaps more importantly, when using this metric to make statements about neuron types using different neurotransmitters or amines, the different strengths and patterns of the drivers could be creating the differences in patterns. Or the differences could all be real, but it is difficult to evaluate with the data provided and analyzed as shown.

The reviewer raises the important point that differences in signal-to-noise ratio could explain or influence the differences in R2 values. The coefficient of the regression between δ F/F fluorescence and a regressor as in Figure 2C and 3B shouldn’t be affected by such a problem though as the normalization factor for the time series of regional activity was calculated globally for the whole brain. Indeed, a lower signal to noise ratio would affect the accuracy but not the value of the coefficient. We have rewritten the parts on R2 and explained the relationship to signal-to-noise ratios better.

2. The regression model for predicting dF/F for each region from a walking binary variable was interesting. It would be important to account for multiple comparisons here to identify those regions one is most confident are non-zero. And I think this analysis could also be used productively to compare patterns between conditions – the cosine angle between the vector of regressors tells you succinctly about how different patterns are. This could be used between conditions and between experiments within conditions.

We have added tests with multiple comparison correction for all multiple regions analysis and indicated the significant difference from zero as full markers.

We thank the reviewer for suggesting the use of cosine similarity to quantify the similarity of patterns across regions. We have added this analysis.

3. The averaging of neuropils in the analyses in this paper has given the authors some valuable insights into patterns of activation across the brain. However, it also hides a lot of information. For instance, identical average activity in a region could correspond to very different activations of individual neurons within the region. Similarly, differences in regional activation between different Gal4s could be due simply to non-uniform expression among different subtypes that results in different dF/F signals. One example is the interpretation of the GAD and vglut drivers, where the activity tied to walking is used to conclude that the activity in the brain is not due to generalized disinhibition. But we have no idea whether the activity measured in these experiments represents 1% of neurons becoming more active and 99% being hyperpolarized (potentially invisible with Ca indicators), or whether it represents 99% of neurons becoming activated. This is an example of where I expect the authors' interpretation is likely to be correct, but their conclusions are stated more strongly than the data permits. This is just one example, but I think it applies to most analyses in the paper. Throughout, this averaging over neuropil can be masking a lot, so it's rather hard to interpret in some of the simple ways that the authors do. I think the caveats with tying these measurements to individual neurons or patterns of activity should be given more discussion and featured heavily in the results and potential interpretations.

We have removed the conclusion that activation is not simply due to global disinhibition from the result section and have instead moved this idea to the discussion, with additional caution:

“Interestingly, our data that inhibitory neurons are also broadly activated is inconsistent with the idea that broad brain activation arises due to a global disinhibition during periods of walking (Benjamin, 2010), although additional experiments will be necessary to ensure that activity in the different regions is not dominated by a small subset of activated neurons in a sea of inhibited neurons. “

In addition, we added more nuance in interpretation of regional activity throughout the paper.

4. I think that tabulating potential neurons of interest in each neuropil are a valuable resource, but it seems to be presented as far too strong a conclusion, when in fact it is quite speculative. To show this with the certainty suggested by the current prose, I think one would need to show that expression in just those neurons reproduces the response pattern, or that the pattern is changed without those neurons. As it stands, I think substantially more restraint is required in the discussion of these speculations.

We agree with the reviewer that the correspondence to specific neurons was overstated. Except for a few examples where the neurons we propose are the only known neurons to be GAL4-expressing in one specific region, the correspondence for most components is indeed speculative. We have made this point clearer throughout the paper, but we still believe that naming candidate neurons is helpful to scientists working on motor behavior control and feedback.

5. The comparisons between spontaneous and forced walking are the only manipulations in the paper and provide interesting results about neuropils active before spontaneous walking. However, the authors repeatedly refer to this as causal – that those regions are triggering the walking (in the discussion). (They say 'likely' once, but thereafter seem to treat this as factual.) This seems too strong – that causality is speculation for the discussion, not a concluded fact from these experiments. The region activities are correlated with and precede walking (and could even be predictive in impending walking – that could be an interesting analysis!), but even then, without some manipulation of those neurons or regions, it doesn't seem possible to conclude that they trigger walking, rather than just precede it. (Alternative hypothesis, not ruled out by this observational data: single neuron pair somewhere, roughly invisible in the averaging done here, elicits spontaneous walking and also activates the neuropils the authors observe.)

We have removed claims of causality from the result section and toned them down in the discussion.

6. The asymmetric activity patterns under turning are a cool result. Here also, I think it would be appropriate to exercise more caution in assigning this to specific neurons.

We have toned down the correspondence to specific neurons

7. Overall, I think the length of some sections in the results diffuses the points the authors want to make. Editing to make it more concise in the results, especially, removing speculation and labeling it more explicitly as speculation in the discussion, would result in a clearer paper.

We have significantly shortened the result section and moved speculative ideas into the discussion. We have also added images of the expression patterns for the different genotypes to give a sense of the distribution of the baseline fluorescence.

Reviewer #2 (Recommendations for the authors):

Results:

First paragraph: "We expressed GCaMP pan-neuronally (i.e., nsyb-gal4;UAS-GCaMP6s/6m/6f/7s/7f)". The text in the parens is confusing because it does not help the reader understand when different versions of GCaMP were used and why.

We have clarified this point in the text: “We used a variety of GCaMP sensors (UAS-GCaMP6s/6m/6f/7s/7f) and frame rates to capture both high speed and low signal to noise transients.”

Second paragraph: Movie 1-can you comment on the extent to which the presence of the esophagus obscures activity in the subesophageal zone?

We have added a sentence to this effect in the methods section: “Note that the intact esophagus partially obscured the subesophageal zone, decreasing the intensity and resolution in this area. The signal was nevertheless sufficient to identify several subregions with the component analysis (see below).”

Third paragraph: The idea that frame rates between 5-98 Hz are not different for this analysis is surprising. Can you comment on why the frame rate does not seem especially relevant for these experiments? Is this due to the speed of GCaMP6f?

It is possible that there is a difference, but in our current data set and based on the number of experiments we have carried out we did not find a clear indication that this is indeed the case. We have rewritten this sentence to reflect this idea:

“With our data (n=12 flies), we found no significant difference between the global activity R2 for walk at different frame rates (5 – 98 Hz) for flies expressing GCaMP6f pan-neuronally”.

It is also possible that the gain in information with speed for a global brain analysis is degraded by a lower signal to noise ratio. Nevertheless, the gain in speed was sufficient to analysis pre-walk activity in certain regions (see below).

Fifth paragraph: Can you expand on the effect of the version of GCaMP?

We have added a short explanation in the text: “We found a small but significant effect of the GCaMP version used, likely reflecting the higher signal to noise ratio for GCaMP6s and GCaMP7s”

Aimon et al. 2019 used norpA mutants to show that global increases in brain activity during walk are independent of visual sensory input. Can you comment on why you repeated this experiment with black nail polish? How do these results enrich our understanding beyond what you have previously published?

The reviewer raises a good point. The black nail polish only confirms with a complementary method what was already shown in Aimon et al., 2019. We have made this clearer in the text:

“As a complementary approach to using norpA mutants in (Aimon et al., 2019), we performed the same experiments but covered the fly’s eyes with black nail polish to prevent outside light from activating its photoreceptor neurons.

Figure S1: Please provide appropriate citations for Figure S1, panel K, and indicate that this image has been reproduced from another publication.

We have added “reproduced from (Ito et al., 2014)” in the legend.

Sixth paragraph: The difference in R2 for global brain activation for different walking substrates seems important but is somewhat glossed over. Can you expand on why you think different walking substrates impact R2 for global brain activation?

The improved model coefficient and R2 for the small Styrofoam ball could, we think, indicate that ball movements in this case are a better proxy of the fly movements than the air supported ball which can have erratic movement independent of the fly. Alternatively, the two different surfaces might play a role. We have clarified this in the text:

“The comparison of the two datasets revealed a significant difference in R2 for global brain activity (Figure 1-S1H), possibly reflecting differences in surface material, or erratic movements of the air supported ball unrelated to the fly movements confounding the walk regressor.”

Both inhibitory and excitatory neurons are recruited during walk.

First paragraph: The way this paragraph is written, the reader is led to believe that you are looking for specific descending neuron types and investigating their neurontransmitter profiles. Consider rephrasing to convey that you are looking at all neuronal classes (interneurons, ascending neurons, descending neurons) and investigating how neurons that release different types of neurotransmitters contribute to global brain activity during walking.

We have removed the part on descending neurons.

Second paragraph: Why change to GCaMP6m here after using GCaMP6f for the global experiments?

The main reason is that the signal-to-noise ratio tends to be lower for more specific lines and requires a more sensitive GCaMP as compared to pan-neuronal expression (see also above).

Figure 2A. Why do you think the R2 during walk for Cha, VGlut, and GAD is higher than it is for pan-neuronal drivers? Is the relatively high R2 for GAD sufficient to conclude that GABAergic neurons explain relatively more of the variance during walk?

As the signal-to-noise for these lines was lower than for the pan-neuronal lines, we used nearly exclusively GCaMP6m (as well as slower frame rates), which likely explains why the R2 is overall higher. As the difference between Cha-, Vglut- and Gad-GAL4 was not significant (see legend in Figure 2), we did not comment further on these potential differences.

Aminergic neuron activity is strongly correlated with behavior

Figure 3. To what extent are activity maps for more sparse neuromodulatory neuron types related to the expression patterns of these lines? If you were to activate all neurons in these lines with something like Chrimson (rather than with walking), would you see similar or different subsets of regions activated?

We thank the reviewer for raising this point. In principle, as we are dividing by the basal fluorescence, sparser labeling shouldn’t affect our maps. The resulting difference in signal-to-noise ratio could affect the R2 but not the regression coefficients (see also response to reviewer 1). That said it is true that the absence of a certain type of neuron in an area will lead to low R2 and coefficients. It is important to note that this is part of the conclusion we are trying to convey with these experiments. In other words, we are showing where neuromodulatory activity could have an impact on wholebrain states. Whether a neuron is absent or not active should not affect this interpretation and the effect on the brain.

To give a better sense to the reader how heterogeneous these expression patterns are, we have added baseline fluorescence images for each genotype in supplement. Furthermore we have added words of caution concerning results from neuropil averages, e.g. in the paragraph on excitatory and inhibitory neurons:

“Future work will be necessary to determine whether such patterns are driven by all neurons expressing a specific neurotransmitter or a subset of neurons in each region.“

Whole brain activity data identifies specific brain regions or even neurons.

Fifth paragraph:

"Although most component were correlated with walk, other had an R2 indistinguishable from zero thus likely representing ongoing activity unrelated to walk (Schaffer et al., 2021)." Revise to "Although most components were correlated with walk, others had an R2 that was indistinguishable from zero thus likely representing ongoing activity unrelated to walk (Schaffer et al., 2021)."

We have added the “s”.

Turning activates specific brain regions and neurons.

First paragraph:

"These DNs were previously described by Namiki et al., who generated specific Gal4 lines for neuronal manipulation (Namiki et al., 2018; Robie et al., 2017)." Aren't these split-GAL4 lines?

Many neurons have similar morphology, so concluding that activity in IPS-Y and LAL-PS is due to specific DNs should await further experiments. For example, subtracting DNb02 and DNb01 from the GAL4 pattern with LexA expressing GAL80 to show this IPS-Y and LAL-PS activity disappears would be helpful. Alternatively, the authors could image DNb02 and DNb01 split-GAL4 lines to show comparable dynamics of activation during turning.

"As for forward walk, most components could be matched to candidate neurons (Table 2) for future functional analysis." Generally speaking, it would be helpful to communicate more strongly that any component to candidate neuron matching is tentative. The data presented here is insufficient to conclude that the components can be matched with specific neuronal cell types.

We agree with the reviewer that these propositions (including the one on the DNs above) were very speculative. We have moved most of these statements into the discussion, where we have toned down the conclusions regarding the correspondence between components and neurons.

Brain dynamics at transitions between rest and walk.

Figure 6. Adding a y-axis scale (at least at the beginning of each row of graphs) would help to orient the reader. Additionally, more description of this figure in the figure legend is needed, especially to add that the red bar is presumably indicating walk onset?

We have added “Red band indicates walk onset.” In the legend.” Norm dF/F characterizes the y-axis in the beginning of each row.

Increases in activity before walk onset in PRW, posterior slope (IPS-Y, SPS), and GNGm are small and difficult to appreciate. Is there a more rigorous way to quantify the onset of activation, perhaps by looking at the derivative of normalized dF/F?

We agree with the reviewer that more analysis was needed here. To show that some regions are activated before walk onset, we chose to test whether the integral between 500 to 0 ms before walk onset was positive and corrected for multiple comparison. We have added stars indicating significance and details in the legend:

“Stars correspond to above zero significance for integrated traces from -0.5 s to start of walk (Wilcoxon one sided test). Multiple comparison adjusted p-values (Benjamini Hochberg): * p<0.05, ** p<0.01, ***p<0.001.”

"Of note, the component PB-EB corresponds to the previously described head direction cells shown to receive movement-related information during navigation (Lu et al., 2022; Lyu et al., 2022; Seelig and Jayaraman, 2015). EB-DA, found in data from dopaminergic neurons, shows among the strongest and most reliable activity during walk. These neurons were shown to be involved in ethanol-induced locomotion (Kong et al., 2010) and are also involved in sleep regulation (Liang et al., 2016)."

How sure are the authors that the PB-EB component corresponds to head direction cells? I would suggest softening this assertion to express some uncertainty unless further confirmation experiments are added.

Indeed, the correspondence between the component and head direction cells is speculative. We have removed this from the result section and softened our claims in the discussion.

"Several other components displayed more variable, and at times too variable dynamics between flies to detect a clear direction (Figure S6)." Which components are the authors referring to? It would be helpful to elaborate on this either in the text or in the Figure S6 legend. For Figure S6, what does the grey vertical bar indicate in each plot?

We have modified the text to “Several other components displayed more variable, and at times too variable dynamics between flies to detect a clear direction (i.e. FBlayv in Figure 6-S1). “. We have also added “Grey bar corresponds to the onset of walk.” into the legend of Figure 6-S1.

"The observed activity patterns confirm and extend published neuronal manipulation data, where available, on sleep and locomotion (see above and discussion)" I would soften this claim to say that these data support published neuronal manipulation data. I do not think these data extend published neuronal manipulation studies as no such manipulations were performed. The data presented here could be used to generate hypotheses for future studies.

We have removed these comments from the Results section and softened them in the discussion.

Forced walk and forced turning recapitulates most activity

Second paragraph: Is the expression of syt-GCAMP stronger in GNG, AMMC, and AVLP (this could be possible if there are more synapses in these regions)? If you activated the brain pan-neuronally with Chrimson and imaged using syt-GCaMP, would you see a different pattern of activity than what is seen suiting walk?

This experiment is interesting but has a strong confound that levels of neuronal activation with Chrimson are unlikely to match natural activation. Instead, we compared the basal fluorescence for syt-GCaMP with the activity pattern (see image of nsyb-GAL4, UAS-nsyt-GcaMP6s expression pattern in Figure 7-S1) as lower expression could lead to a lower signal-to-noise ratio and thus a lower R2 value. Note that the effect on the correlation coefficient (that we used in complement with R2 in Figure 7-S1) shouldn’t be affected by this lower signal-to-noise ratio in the same way. Nevertheless, we added the expression pattern in supplementary Figure 7-S1 as it can help interpreting the data.

For Figure 7G/ the difference between spontaneous and forced walk, it would be helpful to add statistical comparisons of the normalized activity traces when claiming that they are different versus the same.

We have performed this analysis.

Discussion:

Role and origin of broad activation during ongoing behavior

First paragraph: Delete the underscore between "coupling_sensory"

We have removed the underscore.

Role and origin of broad activation during ongoing behavior

Fifth paragraph: "More generally, our data indicate that regions triggering walk are also highly sensitive to walk itself suggesting a closed-loop between walk initiation and walk maintenance, possibly including factors such as speed, detailed movement etc." The data presented here is insufficient to conclude that these regions are responsible for triggering walk without further neuronal manipulation studies. The authors should support this claim by showing that MB components correspond to specific neuronal cell types (by removing specific neurons from the global pattern or imaging specific neurons and showing that they show identical dynamics) and then activate and silence these specifical neuronal cell types while analyzing walking behavior.

We have toned down claims of causality throughout the manuscript. For example: “This suggests a potential role of these areas in initiating walk. Activity before walk onset could also be due to preparatory movements that were not detected as walk (Ache et al., 2019), or represent the activity of neurons downstream of neurons responsible for triggering walk.”

Reviewer #3 (Recommendations for the authors):

1) The word "underpin" in the title may be too strong because it can be construed to imply a degree of causality, which is not shown. I suggest more precise phrasing like "correlates with" or something similar that clearly does not claim causal relations.

What we meant here is that whole brain state change is composed of changes in activity in all brain regions and neuron types. We changed the title to “Global change in brain state during spontaneous and forced walk in Drosophila is composed of combined activity patterns of different neuron classes”.

2) Throughout the text activity correlations of many dozens of subregions are compared. E.g. Figure 3F tests 40 hypotheses. Figure 5b tests closer to 90. With so many brain regions it will be important to leverage a statistical framework that explicitly considers multiple hypothesis testing in order to better convey to a reader the relative confidence in each finding. Some avenues to consider: a q-value analysis could be used that articulates a false-discovery rate. Shuffled datasets can also be used to try to reject null hypotheses. And GFP-only animals that lack GCaMP could also be used to generate null distributions to compare against and to reject null hypotheses.

We have corrected the figures to reflect significance after multiple comparison correction.

3) Figure S7: the gray shading and blue traces are not defined. At first, I had assumed gray is an error bar and blue is average, but if that's the case, there appears to be a major problem in Figure S7C where these diverge dramatically, e.g. in SMB and SPS and NO.

We thank the reviewer for noticing this error in the plots in Figure 6-S2. We have corrected it and added a description of the in the legend: “Grey shading corresponds to the standard deviation. “

Associated Data

    This section collects any data citations, data availability statements, or supplementary materials included in this article.

    Data Citations

    1. Aimon S, Cheng KY, Gjorgjieva J, Ilona C GK. 2022. Time series of regional activity in Drosophila. Dryad Digital Repository. [DOI]
    2. Aimon S, Katsuki T, Jia T, Grosenick L, Broxton M, Deisseroth K, Sejnowski TJ, Greenspan RJ. 2019. Whole-brain recordings of adult Drosophila using light field microscopy along with corresponding behavior or stimuli data. Collaborative Research in Computational Neuroscience. [DOI]

    Supplementary Materials

    MDAR checklist
    Supplementary file 1. Description of components and putative underlying neurons.
    elife-85202-supp1.docx (740.7KB, docx)

    Data Availability Statement

    Time series of regional data are available on Dryad https://doi.org/10.5061/dryad.3bk3j9kpb, and small datasets of processed data used for generating figures are on github: https://github.com/sophie63/Aimon2022. Code to analyze the data is available on https://github.com/sophie63/Aimon2022 (copy archived at Aimon, 2023a) and https://github.com/sophie63/FlyLFM (copy archived at Aimon, 2023b). Original data are very large (several tens of TB) and is available upon request to Ilona.grunwald@uni-bonn.de.

    The following dataset was generated:

    Aimon S, Cheng KY, Gjorgjieva J, Ilona C GK. 2022. Time series of regional activity in Drosophila. Dryad Digital Repository.

    The following previously published dataset was used:

    Aimon S, Katsuki T, Jia T, Grosenick L, Broxton M, Deisseroth K, Sejnowski TJ, Greenspan RJ. 2019. Whole-brain recordings of adult Drosophila using light field microscopy along with corresponding behavior or stimuli data. Collaborative Research in Computational Neuroscience.


    Articles from eLife are provided here courtesy of eLife Sciences Publications, Ltd

    RESOURCES