{'fraction_non_alphanumeric': 0.03445341114606605, 'fraction_numerical': 0.014042766607395249, 'mean_word_length': 5.155861165684349, 'pattern_counts': {'":': 0, '<': 14, '<?xml version=': 0, '>': 2, 'https://': 1, 'lorem ipsum': 0, 'www.': 1, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 8, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Multimodal sensory information is represented by a combinatorial code in a sensorimotor system

A ubiquitous feature of the nervous system is the processing of simultaneously arriving sensory inputs from different modalities. Yet, because of the difficulties of monitoring large populations of neurons with the single resolution required to determine their sensory responses, the cellular mechanisms of how populations of neurons encode different sensory modalities often remain enigmatic. We studied multimodal information encoding in a small sensorimotor system of the crustacean stomatogastric nervous system that drives rhythmic motor activity for the processing of food. This system is experimentally advantageous, as it produces a fictive behavioral output in vitro, and distinct sensory modalities can be selectively activated. It has the additional advantage that all sensory information is routed through a hub ganglion, the commissural ganglion, a structure with fewer than 220 neurons. Using optical imaging of a population of commissural neurons to track each individual neuron's response across sensory modalities, we provide evidence that multimodal information is encoded via a combinatorial code of recruited neurons. By selectively stimulating chemosensory and mechanosensory inputs that are functionally important for processing of food, we find that these two modalities were processed in a distributed network comprising the majority of commissural neurons imaged. In a total of 12 commissural ganglia, we show that 98% of all imaged neurons were involved in sensory processing, with the two modalities being processed by a highly overlapping set of neurons. Of these, 80% were multimodal, 18% were unimodal, and only 2% of the neurons did not respond to either modality. Differences between modalities were represented by the identities of the neurons participating in each sensory condition and by differences in response sign (excitation versus inhibition), with 46% changing their responses in the other modality. Consistent with the hypothesis that the commissural network encodes different sensory conditions in the combination of activated neurons, a new combination of excitation and inhibition was found when both pathways were activated simultaneously. The responses to this bimodal condition were distinct from either unimodal condition, and for 30% of the neurons, they were not predictive from the individual unimodal responses. Thus, in a sensorimotor network, different sensory modalities are encoded using a combinatorial code of neurons that are activated or inhibited. This provides motor networks with the ability to differentially respond to categorically different sensory conditions and may serve as a model to understand higher-level processing of multimodal information.


Introduction
Integrating information from multiple sensory modalities and producing appropriate motor outputs are vital functions of the nervous system, and the neural networks underlying these two functions are tightly linked in both vertebrates and invertebrates. From a traditional perspective, individual senses are first integrated separately and subsequently combined at numerous multimodal convergence zones, including cortical and subcortical regions [1], as well as multimodal association areas [2][3][4]. More recent observations of multimodal responses in once-considered modality-specific regions, however, suggest that multimodal processing is a ubiquitous function of the nervous system rather than a localized feature [5].
With respect to motor control, multimodal interactions are thought to mainly occur in upstream motor control circuits [6], despite some evidence for multimodal convergence in downstream sensorimotor circuits that directly initiate and modulate behavioral actions [7][8][9]. Some examples include the vertebrate brain stem and spinal cord [10,11] but also arthropod thoracic and commissural ganglia (CoGs) [12][13][14]. Although responses to individual sensory modalities and their consequences for motor output in these downstream sensorimotor networks are often well characterized, little is known about the mechanisms by which multimodal information is encoded. Examples of premotor multisensory integration come from singleneuron studies in the superior colliculus [8,[15][16][17][18], showing that multiple sensory modalities are processed in a distributed fashion throughout this brain stem region, with some neurons being exclusively unimodal and other being multimodal. Hypotheses of encoding of multimodal information include changes in neuronal firing rates (e.g., a rate code) [19], activation of distinct network components, or distinct activation and inhibition of neurons within a shared population (e.g., a combinatorial code) [20,21].
Central pattern generators and their premotor networks comprise a type of sensorimotor circuit that is particularly amenable to studying multimodal information processing. While central pattern generators can produce stereotypic rhythmic activity in the absence of sensory input, their activity patterns vary in different sensory and modulatory conditions [22][23][24][25]. They are controlled by descending projection neurons that innervate the pattern generators and adjust motor output to different behavioral conditions [9,26,27]. These descending neurons are well-characterized building blocks of sensorimotor processing in both vertebrates and invertebrates and relay sensory information processed by local networks to the central pattern generators [28][29][30][31][32][33][34][35][36]. The link between converging sensory pathways and motor control in these networks provides a means to investigate how multimodal sensory information is represented in the immediate context of behavioral output and may provide a model for more complex multimodal brain areas.
It is well established that sensory pathways that innervate these control networks activate the descending projection neurons and that this has functional consequences for downstream motor output, like switching from ingestion to egestion in Aplysia feeding [37] and forwardto-backward walking in Drosophila [34]. Nonetheless, with the exception of a few well-characterized projection neurons, it is unknown how sensory information is integrated as a whole in the networks the projection neurons are embedded in. Moreover, it is unclear how these networks respond to and encode multimodal information. In the crustacean stomatogastric nervous system, a small pool of descending projection neurons resides within the paired CoGs, each of which contain fewer than 220 neurons [38]. They integrate information from different sensory modalities [39][40][41]. We used these advantageous features to investigate the coding mechanism for multiple sensory modalities presented both individually (unimodal inputs) and simultaneously (bimodal input). Specifically, we selectively activated the chemosensory inferior ventricular neurons (IVs) and the mechanosensory ventral cardiac neurons (VCNs) with physiologically relevant stimulation parameters [42,43]. Each sensory modality causes a distinct response in a small set of identified descending projection neurons [40,41,44] via fast monosynaptic inputs but also elicits slower and more sustained responses through polysynaptic actions [40,44] that likely stem from local interneurons in the CoGs. The resulting projection neuron activity then alters motor output of the downstream stomatogastric motor circuits [45], providing a direct link between sensory pathways and motor activity.
Using multineuron imaging with a voltage-sensitive fluorescent dye, we study how the local CoG network encodes sensory information from several modalities. We show that 98% of the local CoG neurons are involved in processing of chemosensory and mechanosensory information, with 80% of the neurons being multimodal. Differences between modalities were represented by which neurons responded to a particular pathway-i.e., the identities of the neurons participating-and by differences in response sign-i.e., whether neurons were excited or inhibited by sensory stimulation. The pyloric rhythm showed different activity patterns in the two sensory conditions, and these differences depended on CoG input. Bimodal input was encoded by a set of neurons distinct from either unimodal condition. This suggests that the CoG network employs a combinatorial code to represent different sensory modalities, enabling the downstream motor circuits to differentially respond to these conditions. studies demonstrated that these two pathways converge onto the same four identified descending premotor neurons, eliciting distinct responses and providing preliminary evidence for the presence of a combinatorial code to encode multimodal information [39,40]. The projection neurons are also part of a larger network of CoG neurons, since their sensory responses are at least partly due to polysynaptic inputs and in response to longer-lasting and continuous stimuli [40,43]. For example, while some projection neurons receive monosynaptic postsynaptic potentials from the VCN, they also show more complex and longer-lasting synaptic potentials that include polysynaptic inhibitory components. There is also evidence suggesting that projection neurons release neurotransmitter in the CoGs and thus act as local interneurons ( [46]; Nusbaum, personal communication). It is unclear how extensive the local CoG network is and how sensory information from multiple different modalities is represented in it. To characterize the sensory response of the CoG premotor region, we employed multineuron imaging with fast voltage-sensitive dyes while selectively stimulating IV and VCN pathways. A key advantage of this technique is the combination of single-cell imaging and high temporal resolution [47]. We focused on the medial-posterior region of the CoG, a region that also contains the cell bodies of the projection neurons innervating the downstream stomatogastric ganglion (STG) [38] (Fig 1A and S1 Fig, dashed rectangles). We first averaged the optical signals of all cell bodies in this area to test whether other neurons in this regions are involved in sensory processing at all. In addition, this allowed an initial assessment of the CoG network response ( Fig 1B). Both IV and VCN modalities induced changes in fluorescence over the course of the stimulus train (IV = 40 Hz stimulation frequency; VCN = 15 Hz stimulation frequency; Fig  1B), reflecting the change of activity within the CoG network in response to each sensory stimulation. The magnitude of the VCN-induced response was consistently greater than that elicited by IV stimulation (N = 12, p < 0.05, paired t test; Fig 1C), suggesting that IV and VCN modalities are processed differently by the CoG network.
To test whether these differences were indicative of a distinct recruitment of neuronal populations or rather of different neuronal response intensities within the same population (or combinations thereof), we analyzed neuronal spike activities with single-cell resolution. Optical spike detection is reliably possible in CoG neurons. Fig 2A compares the activity of a single CoG neuron using simultaneous intracellular and optical recordings. Action potentials were reliably detected in both recordings, with the optical recording having a sufficiently high signal-to-noise ratio to correctly detect action potentials (similar to previous recordings in this system, [48]). Only 6 out of the 114 action potentials from the shown neuron were misdetected in the optical recording. Fig 2B shows a comparison of spike-triggered overlays of optical and intracellular waveforms, plus averages. As reported previously [48], action potentials are easily detected, although having a lower signal-to-noise ratio than those recorded with intracellular electrodes. This was also the case in our recordings and likely a consequence of undersampling in the optical recording (sample rate = 250 frames/second). The optical recording also allowed assessment of slower subthreshold events, although in most of our subsequent analyses, we focused on action potential firing frequencies. Fig 2C shows the high correlation between optically and electrically detected action potential frequencies.
To assess how sensory stimuli are represented in the CoG network, we probed single-neuron activity in different sensory conditions. Initially, we aimed to address the question how many neurons are involved in the processing and whether sensory information is processed locally in the CoG network or only relayed through it. We used a low-frequency (1 Hz) stimulation protocol to test for short-latency connections that should mainly activate neurons directly influenced by the sensory pathways. We found neurons that were reliably excited during only IV or VCN stimulation and some neurons that were excited by both modalities (stimulated at different times, examples shown in Fig 3A). There were no sensory-specific differences in mean CoG neuron response latency (Fig 3B, N = 11, p = 0.19, unpaired twosample t test) and no difference in the distribution of latencies across all CoG neurons (N = 11, n = 129 neurons, p = 0.14, two-sample Kolmogorov-Smirnov [K-S] test; Fig 3B). However, on average, very few neurons were excited. During IV stimulation, only 5.7% ± 3.8% (N = 11) were excited versus 10.3% ± 8.2% during VCN stimulation (N = 11, Fig 3C). When we used physiologically relevant stimulation frequencies (i.e., stimulation frequencies known to elicit long-lasting gastric mill activity in stomatogastric motor neurons; a 6-second train of either 40 Hz [IV] or 15 Hz [VCN] [42,43]), significantly more neurons were excited by either stimulation (IV: 45.7% ± 4.3%; VCN: 50.9% ± 4.8%; N = 11, p < 0.001, paired t test; Fig 3C), suggesting that physiologically relevant stimuli sum up substantially, or act via polysynaptic interactions and involve a larger number of local neurons.
Indeed, most imaged neurons (>98%) (N = 12 ganglia, n = 878 neurons) responded in some manner to sensory stimulation, and less than 2% were unaffected by either stimulation. To further assess whether the responding neurons acted as a coherent group to integrate sensory stimuli or if sensory stimuli were processed in a segregated manner, we constructed functional connectivity maps for each preparation in the two sensory conditions (Fig 4, see Materials and methods). In short, we established the functional connectivity by calculating the Pearson correlation between the activity traces of all pairs of neurons in a given preparation, leading to a coherence matrix for each condition.   functional connectivity maps (Fig 4C and 4D). We used two parameters commonly used to describe complex networks-namely, connectivity density and global efficiency-to characterize the functional network structures in the two sensory conditions. Connectivity density measures how well connected a network is. If all potential connections existed, connectivity density would have a value of 1. Biological neuronal networks, however, employ only a small fraction of the potential connections. In the example of Fig 4, 80 cells were imaged, which resulted in a functional network with 134 connections during IV stimulation and 81 connections during VCN stimulation with a connectivity density of 4.2% (IV condition) and 2.5% (VCN condition). Taking all experiments together, the connectivity density for IV was 7.43% ± 4.1% and 5.34% ± 3.2% for VCN (N = 19, 14 crabs), which, on average, is larger than that reported for Caenorhabditis elegans (3.85%) [49,50] but smaller than cortex [51].
The global efficiency parameter provides a measure of the network's capacity for parallel information transfer between neurons. It is a function of the inverse of the shortest path length between each pair of nodes [52] and gives a measure of how efficiently neurons communicate information. In C. elegans, for instance, the nervous system has a global efficiency of 0.46 [53]. In the CoG examples shown, the efficiency was 0.21 for the IV condition and 0.08 for the VCN condition. On average, the global efficiency was 0.25 ± 0.1 for the IV condition and 0.18 ± 0.09 for the VCN condition (N = 19 ganglia, 14 crabs). These data indicate that within a given modality, there is considerable parallel processing of sensory information by the responding CoG neurons, with relatively dense functional connections between neurons. Together, these data suggest that for each modality, the CoG neurons formed a coherent functional network that integrates sensory information from both modalities.

Similarities in CoG spike frequency distributions between modalities contradict a network rate code
How does the CoG network encode the different sensory modalities? One possibility would be to encode differences between modalities in the firing frequencies of the CoG neurons. For individual modalities, there is evidence that firing frequencies change with the strength of the sensory input and that these changes determine the response of the downstream motor pattern  [54]. Although unlikely to exist as a means to separate different modalities, there are also indications that CoG neuron firing rates can differ between modalities [40]. A rate-coding mechanism predicts that the same CoG neurons are recruited by IV and VCN stimulation, with the distinguishing information between modalities being encoded in the firing frequency responses of these neurons. If this was the case, the CoG network distribution of firing responses should thus differ between modalities. Across all conditions, neurons, and ganglia, CoG neuron firing frequencies ranged from 0.33 to 14 Hz (N = 12). Most CoG neurons were spontaneously active even in the absence of sensory stimuli, at rates of 0.33-6.8 Hz (N = 12). When we compared the range of firing frequencies associated with IV and VCN conditions, we found no differences between them: 0.33-14.00 Hz (IV) and 0.33-13.80 Hz (VCN). More importantly, there was no difference in the distribution of firing frequency changes induced by each condition. Fig 5 shows the distribution of normalized frequency changes for both pathways, using the ratio of CoG neuron firing frequency (frequency ratio) during stimulation (stim ON ) to the frequency preceding stimulus presentation (stim PRE , compare S1 Fig). Over the entire network (N = 12, n = 878 neurons), there was no difference in this distribution (N = 12, p = 0.144, K-S test; Fig 5), indicating that no distinct firing frequencies and thus no network rate code existed for distinguishing between sensory modalities. Per definition, however, when considering the ratio, neurons that were not spontaneously active had to be omitted. Thus, we also tested the distributions of the frequency differences between sensory stimulation and spontaneous activity immediately before stimulation. We found no differences in the frequency difference distribution either (N = 12, 9 crabs, n = 878, p = 0.5, K-S test).

Distinct neuron responses support a combinatorial code for multimodal representation
The large number of participating neurons supports the idea that most of the imaged population contributed to sensory encoding but also suggested overlap of the circuits processing each input instead of having distinct pathways for each modality. To differentiate between these possibilities, we mapped each individual ganglion and classified neurons as multimodal if they responded to both sensory stimulations, unimodal if they responded to only one, or nonresponsive. Fig 6A shows an example spatial map of unimodal and multimodal neurons from  one CoG. Indeed, the majority of neurons (about 80%) were multimodal responders; i.e., they responded (with excitation or inhibition) to both IV and VCN stimulation. About 18% of the neurons were unimodal responders, responding to only one of the two pathways, and 2% did not respond (Fig 6B; N = 12, F[2,22] = 5,075.48, p < 0.001, repeated measures ANOVA, Tukey-Kramer post hoc test). Moreover, the variability associated with these proportions was low across preparations; i.e., there was a consistent subset of neurons that were specific to only one or the other modality despite the high degree of overlap in the CoG neurons responding to each modality. It is worth noting, though, that the number of multimodal neurons is likely an underestimate, because we only tested two sensory modalities, while several other modalities are known to influence CoG neurons. It is thus likely that neurons not responding at all may respond to additional sensory stimuli that were not tested by our approach. Following the same argument, the 18% of neurons that only responded to one or the other modality may respond to additional modalities. These findings clearly contradicted the idea of separate pathways for each modality. They are, however, consistent with a combinatorial code, since many neurons responded to both sensory modalities but showed distinct responses to them.
In addition, if a combinatorial code was present, one would expect that individual neurons in the multimodal group show distinct responses in the two sensory conditions. To address this, we assessed the proportions of excited and inhibited neurons in both modalities, i.e., whether neurons that are either excited or inhibited by one modality showed the opposite response for the other modality. We generated activity maps of neurons that were excited, inhibited, or "nonresponsive" (no change in firing frequency) to IV (Fig 6C, left) and VCN (Fig 6C, right) stimulation. Neuronal responses were distinct between modalities: more neurons per ganglion were excited by VCN stimulation than by IV stimulation (VCN = 49.8% ± 4.8%, IV = 45.7% ± 2.7%, N = 12, p < 0.05 paired t test; Fig 6D), supporting our initial finding that VCN stimulation yields a higher proportion of excitation in CoG neurons ( Fig 1C). Conversely, IV stimulation yielded a larger number of inhibited neurons per ganglion than VCN stimulation (IV = 43.8% ± 3.0%, VCN = 40.3% ± 3.9%, N = 12, p < 0.05 paired t test; Fig 6E). These categorical differences were maintained when we split the analysis into unimodal and multimodal groups: significantly more unimodal and multimodal neurons were excited by VCN than by IV input (Fig 6F and 6G; N = 12, p < 0.05 each, paired t test). IV stimulation caused inhibition of significantly more multimodal neurons than VCN stimulation (IV inh = 48.9% ± 3.2%; VCN inh = 44.9% ± 4.9%, N = 12, p < 0.05, paired t test), accounting for the observed differences in modality-specific inhibition in Fig 6E. More importantly, a large proportion of the multimodal neurons changed their response from excitatory to inhibitory or vice versa. In total, 46.15% ± 1.9% (N = 12 ganglia) multimodal neurons changed their response, further providing support that differences between modalities are encoded in distinct combinations of neurons.
The generated activity maps also allowed us to test whether neurons responding to a particular sensory modality were spatially clustered, a feature often observed in larger brain areas [55][56][57]. To determine if such a spatial clustering existed in the CoGs, we calculated the directional vector and distance from the center of the imaged area for each imaged neuron.  Fig 6D and Fig 6E, a larger proportion of (in this case, multimodal) CoG neurons were excited by VCN stimulation, and a larger proportion were inhibited by IV stimulation. Data (D, E, F, and G) are mean ± SD (N = 12 ganglia for each response type compared, 9 crabs, � p < 0.05, paired t test, the underlying data can be found in S1 Data). CoG, commissural ganglion; IV, inferior ventricular neuron; NPG, number of neurons per ganglion; n.s., not significant; VCN, ventral cardiac neuron. . Thus, sensory processing was distributed throughout the whole CoG network, and no specific areas were responsive to one modality or showed specific excitatory or inhibitory responses.
Networks such as the one studied here are involved in the selection and maintenance of downstream motor activities, shaping the dynamics of ongoing motor programs [58,59]. They may be involved in decision-making when sensory conditions change [60,61]. Could the observed distinct combinations of CoG neurons be related to motor output? To test this, we monitored the activities of several identified STG motor neurons in both sensory conditions (Fig 8 and S1 Fig). We recorded the pyloric dilator (PD, Fig 8A) neurons, the pyloric constrictor (PY, Fig 8B) neurons, and the lateral pyloric (LP, Fig 8C) neuron. They together build the triphasic pyloric rhythm, with PD driving the rhythm as part of the pyloric pacemaker kernel and LP being the sole follower neuron that feeds back to the pacemakers [62][63][64]. The pyloric motor output is spontaneously active, making it amenable to detecting changes in upstream activity. Indeed, several motor pattern parameters were significantly different between IV and VCN stimulation, consistent with the hypothesis that changes in the CoG network have  functional consequences for motor output. Most obviously, the cycle period of the pyloric rhythm was increased during IV stimulation, whereas it decreased during VCN stimulation (Fig 8G). This was likely caused by antagonistic effects on the PD pacemaker neurons, whose firing frequencies were reduced by IV stimulation and increased by VCN stimulation. The pyloric follower neurons PY and LP were also affected: PY had a significantly greater increase in its firing frequency (Fig 8D) and number of spikes per burst (Fig 8E) following VCN stimulation than following IV stimulation; LP had a significantly greater decrease in its number of spikes per burst ( Fig 8E) and burst duration (Fig 8F) following VCN stimulation than following the IV stimulation.
In addition to their actions on the CoGs, both pathways have direct effects on the STG motor circuits via their axon projections to the STG. Direct effects are only described for the IVs (see [65]) and in this case include a rapid inhibition of the pyloric rhythm during the stimulation. We addressed this potential confounding issue with two approaches. One, since the direct effects seem to subside quickly, we excluded the first pyloric cycle after stimulation from the analysis (usually around 1-2 seconds). In addition, we ran an additional set of experiments in which the CoGs were removed, and only the direct effects of stimulating IV and VCN pathways (respectively) remained. Similar to before, we excluded 1-2 seconds immediately after the end of the stimulation from our analysis. Using the same measurements as were used in Fig 8 (firing frequency, number of spikes per burst, burst duration, and cycle period of the pyloric neurons), we found no differences when comparing before (stim PRE ) and after (stim-POST ) stimulation (S2 Fig). Thus, the effects on the pyloric rhythm we observed with intact CoGs were likely mediated by the CoG neurons and not by direct sensory effects on the STG. It may remain unclear whether additional quickly dissipating sensory effects alter the extent of activation of the CoG neurons after the end of the stimulation. Nevertheless, this indicates that at least some of the effects on the CoG neurons are long lasting and persisted beyond the end of the sensory stimulation.

Bimodal sensory input recruits a distinct combination of neurons
Sensory pathways were stimulated separately in the above experiments. During natural behaviors, however, sensory stimuli from multiple inputs may arrive concurrently. Although the IV and VCN modalities have never been examined in conjunction, they complement each other in vivo. The stomatogastric nervous system coordinates aspects of feeding in decapod crustaceans [66][67][68]. In this context, the IVs relay chemosensory information regarding potential food odor, and the VCNs activate with stomach distension as the crab ingests food; at this time, both IV and VCN pathways are active. To test whether concurrently arriving sensory stimuli are represented by a distinct network response, we carried out an additional set of experiments: we stimulated IV and VCN pathways individually (unimodal input) and simultaneously (bimodal input) and quantified activity maps across all three sensory conditions. Like the individual stimulations, bimodal stimulation yielded a spatially distributed network without clustering of excited and inhibited neurons (Fig 7A, right). Like the individual sensory conditions, simultaneous stimulation affected a substantial proportion of the CoG neurons. Across animals, 7.25% ± 3.89% did not respond to bimodal stimulation, whereas 59.19% ± 6.82% were excited and 33.56% ± 7.32% inhibited (N = 8, 5 crabs).
To test if different combinations of neurons were recruited in the bimodal situation, we tracked the identities and responses of all neurons individually and assessed how many ��� p < 0.001, paired t test, the underlying data can be found in S1 Data). If not indicated, then no significance was found. IV, inferior ventricular neuron; LP, lateral pyloric; lvn, lateral ventricular nerve; PD, pyloric dilator; pdn, pyloric dilator nerve; PY, pyloric constrictor; pyn, pyloric constrictor nerve; VCN, ventral cardiac neuron. neurons showed unique responses in one of the three conditions. For example, a neuron was classified as unique in the IV condition if it was inhibited by IV stimulation but excited by VCN and bimodal stimulation. Of the neurons, 25.14% ± 3.63% were unique to the IV condition, whereas 18.01% ± 3.9% were unique to the VCN condition and another 19.81% ± 5.14% to the bimodal condition (N = 6, 4 crabs).
Bimodal sensory input can be perceived as a unique condition that is distinct from the experience of its unimodal inputs [5,69,70]. Little is known how such unique representations may be achieved in neural networks. The fact that about 19% of the CoG neurons were unique to the bimodal condition already indicated that part of the answer could lie in the combination of recruited neurons. However, if this was the case, one would also expect that the unique combination may not just be the sum of the representation of both inputs but instead be quite distinct from the individual responses. To test this, we generated a set of expectations for neuronal responses in the bimodal condition, based on the responses observed in each unimodal condition (see Materials and methods). We then compared the observed responses to the predicted responses. For about 37% of the neurons, no prediction could be made. This was the case if, for example, a neuron was excited by VCN but inhibited by IV stimulation. The bimodal response could thus not directly be predicted, as it would depend on the level of excitation and inhibition in each condition. For the about 63% of the cells for which we were able to create predictions, we found a mix of additive and nonadditive responses within the CoG network during the bimodal condition. The responses in the unimodal conditions were only predictive (congruent) for 32.19% ± 4.06% of neurons, whereas expectations were not predictive (incongruent) for 30.63% ± 5.44% of neurons (Fig 9). Consequently, for about half of the neurons in which expectations could be generated, the observed outcomes did not match the expected outcomes, indicating a significant reorganization of the CoG network activity when processing bimodal information. Thus, rather than a combined representation of the responses to individual IV and VCN stimuli, a new combination of responses emerged to represent the bimodal condition, providing further evidence for a combinatorial code that encodes sensory stimuli in CoG neurons.

Discussion
We investigated how different sensory conditions are represented in a network participating in motor control [71,72]. We found processing to be spatially distributed within the network and involving the majority of the imaged neurons. Different sensory modalities were processed by a set of highly overlapping neurons, yet distinct combinations of neurons were recruited in each modality. This feature was consistent with almost no variability across animals, despite the rather large anatomical variability observed in this region [38]. We conclude that a combinatorial code is employed for sensory modality encoding in the CoG network-a coding scheme that may drive activity in the downstream pyloric motor circuit.

Potential mechanisms for the encoding of multimodal sensory information
Several hypotheses exist for how neural networks encode multimodal information, following the concepts developed in unisensory areas. (1) Rate coding may encode sensory stimuli from different sense organs in the firing or burst frequencies of the involved neurons. Rate coding is mostly considered in unisensory parameter distinction like odorant intensity [73], tastant type [74], and many mechanosensory and proprioceptive sense organs that convey feedback magnitude in response to movements [75,76]. This is consistent with the idea that rate codes allow encoding of a large range of stimuli of the same type. In addition, rate coding has been suggested to be involved in cortical processing: visual-tactile information is differentiated via . Similarly, an inhibitory response to each modality should yield an inhibited bimodal response (IV inh / VCN inh = CO inh ). No response to either modality should result in no bimodal response (IV NR / VCN NR = CO NR ), and an excitatory response to one unimodal stimulus and no response to the other would lead to an excitatory bimodal response (IV ex / VCN NR = CO ex ; IV NR / VCN ex = CO ex ). An inhibitory response to one unimodal input and no response to the other would result in an inhibitory bimodal response (IV inh / VCN NR = CO inh ; IV NR / VCN inh = CO inh ). Two scenarios (IV ex / VCN inh and IV inh / VCN ex ) cannot directly predict the additive outcome, because the potential outcome depends on the strengths of the excitation and inhibition. These scenarios are dubbed "no rule" (white). (D) Experimentally acquired neuronal responses during bimodal IV and VCN stimulation (observed outcomes). (E) Map of congruency between expected (C) and observed (D) outcomes, illustrating the agreement between the expected and observed cases. Dark gray: neurons whose observed and expected outcomes matched ("congruent"). Green: neurons whose expected and observed outcomes did not match ("incongruent"). White: neurons with no clear expected outcomes ("no rule", IV ex / VCN inh and IV inh / VCN ex ), which was the case for 37.19% ± 2.87% of all neurons imaged (white cell bodies, n = 159; N = 6). (F) Proportion of neurons for each ganglion with congruent (dark gray) and incongruent (green) bimodal responses and when no rule applied and thus no expectations could be made (white), the underlying data can be found in S1 Data. IV, inferior ventricular neuron; NPG, number of neurons per ganglion; VCN, ventral cardiac neuron. https://doi.org/10.1371/journal.pbio.2004527.g009 Combinatorial representations of multimodal context spike train dynamics in primary visual and somatosensory cortices [77], vestibular-visual information is involved in adaptive oculomotor responses [78], and visual-proprioceptive discriminations are made in the posterior parietal cortex [79]. Rate coding may also contribute to encoding of multimodal information in midbrain and brain stem: auditory and visual information yield disparate firing in the superior colliculus [80,81], and neurons in the solitary nucleus are suggested to use the specific timing of action potentials relative to one another (temporal coding) for taste and odorant discrimination [82]. A common argument for rate coding in these cases is that it may increase multimodal information capacity; i.e., rate coding allows encoding of a large set of parameters with fewer neurons while maintaining a broad and dynamic range of spike frequencies.
(2) Alternatively, sensory information may be encoded in a largely overlapping population of neurons with distinct activation of the involved neurons (a combinatorial code). A combinatorial code may allow networks to make more robust distinctions when parameter space is limited [20], making it less suitable for encoding wide ranges of sensory activities but a prime candidate for distinguishing between categorically different stimuli, such as sensory modalities. Most evidence for combinatorial coding schemes comes from studies of unisensory stimuli, though, such as odor discrimination and object localization [73,83,84], or from studies of multisensory encoding at the single-cell or coarse, large-scale network levels. In the basal ganglia, for example, distinct striatal subpopulations were described that responded either only to tactile stimuli or to both tactile and visual inputs [6], suggesting the presence of a combinatorial code. Few studies have addressed how multisensory integration is achieved at the network level and how these network responses may be involved in controlling behavioral output.

A combinatorial code of CoG neurons differentiates between sensory modalities
Premotor control networks have long been known to process sensory information from different sense organs [8,13,85]. In vertebrates, brain stem studies in lamprey, such as visual-and electrosensory-guided gaze reorientation [11] and reticulospinal gating of steering [36], as well as similar findings in cat superior colliculus [85], exemplify this feature. In leech, contributions of distinct but overlapping subsets of neurons are involved in the decision whether to swim or crawl [60,61], whereas in Aplysia and Tritonia, network dynamics change during the execution of a locomotor program and during behavioral sensitization [58,59]. Our approach allowed us to monitor network activity and motor responses separately, because motor and premotor neurons reside in spatially distinct regions. In the stomatogastric nervous system, sensory information from multiple sensory modalities and modulatory pathways activates a small set of projection neurons residing within the CoGs. These projection neurons then innervate the central pattern generators in the downstream STG, where they initiate and modulate distinct variants of gastric mill and pyloric motor patterns [40,41,[86][87][88]. Previous studies have proposed that the combination of activated descending projection neurons differs between modalities and plays a role in motor pattern selection [41]. Conversely, changing the burst structure and firing patterns of the same neurons also elicits different variants of the gastric mill motor pattern [71,86,89]. Our findings indicate that the projection neurons are part of a larger CoG network that processes sensory information from multiple modalities. While the true connectivity between neurons in this network and the projection neurons cannot be assessed due to the sheer number of involved neurons, our CoG connectivity density and global efficiency measurement suggest a coherent network for processing of the two modalities. We find that the most parsimonious interpretation of our data is that the difference between the two modalities is encoded in the combination of excited and inhibited neurons. Per definition, such a combinatorial code takes into account which neurons participate in, and contribute to, the differentiation between sensory stimuli but also the activity patterns of the involved neurons. Inhibited neurons are essentially prevented from participating in the network response or strongly reduced in their contribution, whereas excited neurons contribute to the population response. With only a few hundred neurons [38], the CoG network thus employs a combinatorial scheme to dynamically change CoG neuron responses in different sensory conditions.
While not tested here, there are several other modalities that are processed by the CoG neurons, including proprioceptors like muscle stretch receptors. We are not aware of any other mechanosensory and chemosensory pathways that converge onto the CoGs that could be used to test intramodality differences. However, within each modality, a wide range of stimulus properties such as strength (frequency) and stimulus patterns elicit very similar motor patterns [42,43]. Across modalities, the motor patterns are distinct. While this does not necessarily mean that CoG neuron responses remain constant within all modalities, it does indicate that modalities elicit categorical responses rather than continuous ones.
The CoG is a hub with neurons that project to the STG, the brain, and thoracic ganglion [38,90]. The STG is thus not the only neural structure postsynaptic to CoG projection neurons. Given the large number of multimodal neurons that respond to both IV and VCN stimulation and the coherent processing within the CoG network, it seems reasonable to assume that the projection neurons represent the output layer of this network. If this were the case, then the CoG network would act to preprocess and distinguish the sensory modalities before this information was sent to other areas in the nervous system. For the STG, the identified descending modulatory projection neurons would then elicit the differences we observed in the pyloric motor pattern.

Bimodal stimuli are represented by a new combination of recruited neurons
Theoretical and perceptual learning studies suggest that bimodal conditions yield new percepts that are not simply the sum of their unimodal components [5,91,92]. Part of a larger binding problem, it is thought that if distinct sensory modalities are active within a particular temporal window, they may be perceptually bound as a single event. In terms of motor control, bimodal input can lead to enhanced or new behavioral responses that are distinct from the responses to the individual sensory modalities. Using visual and mechanosensory cues for guidance, fly odor tracking, for example, is significantly enhanced during flight, and bimodal processing is a prerequisite for this particular behavior [93]. Similarly, localization of spatiotemporally concordant stimuli is achieved via combined auditory and visual input [94].
Little is known about how different percepts and behavioral responses are generated and what network responses underlie these processes. Most studies of multisensory processing, in particular those done in the context of motor control, consider one modality at a time. To encode a unique condition, network responses have to be distinct from the unimodal responses. Super-and subadditive responses to bimodal input are quite common features in individual neurons, for example, in integrating and nonintegrating interneurons of the superior colliculus [81]. This contrasts with some studies, such as moth tracking behavior [95], in which multimodal responses are the linear sum of two unimodal inputs. In the latter case, however, the bimodal condition serves the same behavioral function as the unimodal conditions-to strengthen the robustness of the behavior through redundancy in sensory input. We found that the CoG network response to the bimodal condition was distinct not only from the individual unimodal network responses but also from the expected summation of both. Specifically, more than half of the network activity was incongruent with the expected bimodal responses, demonstrating that the bimodal condition is not an additive function of unimodal input. More importantly, the identities of CoG neurons recruited in the two individual sensory conditions were different from those in the bimodal condition, consistent with a new combination of neurons that encodes this condition. Functionally, the bimodal condition is indeed different from the individual conditions in the context of the behavior driven by the stomatogastric system: when an animal encounters food, this will first activate the chemosensory IV pathway, and IV activity will likely continue as long as food is ingested. Once food enters the stomach, the mechanosensory VCN pathway will activate in addition to the chemosensory pathway. This bimodal condition thus indicates both that food is ingested and that food is filling the stomach at the same time. However, stomach distention can outlast the availability of food, for example, when a predator interrupts the meal or when all food is ingested. This will lead to a loss of chemosensory activation but maintains mechanosensory feedback. This sequence from unimodal chemosensory to bimodal and unimodal mechanosensory may allow the animal to differentiate an initial unfed and feeding state from a later fed but still food-processing state. For the pyloric filter apparatus, transitioning between these states may be accompanied with distinct filter movements. Finally, transitioning to the nonfeeding state with a full stomach later on may also be important for other behaviors, such as locomotion and decisions about flight or fight, which are mediated by the concerted actions of the brain and thoracic ganglia, both of which receive innervation from the CoG network [38,90].

Implications for multimodal encoding and motor pattern selection in higher-order brain areas
We provide evidence that distinct sensory modalities are encoded by a combinatorial code in a sensorimotor system with direct link between sensory input and motor output. Our results, however, may also provide a mechanism by which more complex networks could encode bimodal sensory information or, more generally, converging neuronal information. This is reinforced by the more recent evidence for combinatorial coding in higher-order brain regions, like the superior colliculus [11,85], basal ganglia [6], and even cortical areas [20]. The network studied here is dedicated to processing of sensory information from several modalities and involved in controlling behavioral output [41]. Motor circuits such as central pattern generators and their control circuits are quite distinct in function from neocortical circuits. Nevertheless, they also share several profound similarities, including spontaneous activity waves, rich dynamics and plasticity, powerful modulation, and engagement by sensory pathways [96]. Given that cortical circuits also share several anatomical and biophysical properties with downstream networks, such as repetition of small circuit modules, it is conceivable that the mechanisms present to distinguish and encode different sensory modalities foretell the basic principles of multimodal processing in cortical circuits or even perception.

Conclusions
How neuronal networks process multiple sensory inputs simultaneously remains an enigmatic problem. In a sensorimotor system, different modalities are processed by a largely overlapping set of neurons, and the differences between modalities are encoded in the combination of recruited neurons.

Animals
Adult Jonah crabs (Cancer borealis) were acquired from The Fresh Lobster Company (Boston, MA, United States) or Ocean Resources (Sedgwick, ME, US). Crabs were kept in tanks with artificial seawater (salt content approximately 1.025 g/cm 3 ; Instant Ocean Sea Salt Mix, Blacksburg, VA, US) at a temperature of 11˚C and a 12-hour light-dark cycle. Animals were anesthetized on ice for 30 minutes before dissection. We used isolated nervous systems to perform all of our experiments [97].

Application of voltage-sensitive dye
The lipophilic voltage-sensitive dye Di-4-ANEPPDHQ (Thermo Fisher Scientific) was bathapplied to stain neuronal membranes [47]. Stock solutions (5 mM) in dimethyl sulfoxide were aliquoted for single use and kept at −20˚C. Immediately before application, solutions were diluted 1:1 with pluronic acid F-127 (20% solution; Biotium, Hayward, CA, US) dimethyl sulfoxide solution and mixed with saline to a final concentration of 50 μM. A petroleum jelly well was built around the desheathed CoG (S1 Fig), and the dye was applied for 30-60 minutes, after which the petroleum jelly well was removed, and the preparation was continuously superfused with cooled (10-13˚C) saline for the remainder of the experiment.

Stimulation of sensory pathways
Mechanosensory: VCNs were activated by stimulating the dpon or ventral cardiac nerve (vcn) extracellularly with single stimulus trains of 1 Hz or 15 Hz stimulation frequency, following parameters established previously and mimicking mechanical stimulation of the VCN [42]. Chemosensory: The IVs were activated by stimulating the ivn extracellularly with single stimulus trains of 1 Hz or 40 Hz stimulation frequency, at the upper end of the physiological IV activity range [43]. Petroleum jelly wells were built around the dpon and the ivn. For each nerve, one of two stainless steel stimulation electrodes was placed inside the petroleum jelly compartment, and the other was placed outside. All stimuli (regardless of stimulation frequency) were presented continuously for 6 seconds with 1 ms pulse durations. Stimulus amplitude (voltage) was determined separately in each experiment by determining the minimum threshold for a response in the pyloric motor neurons. For experimentation, twice the threshold voltage was used. Stimulation commands were generated in Spike2 (version 7.13; Cambridge Electronic Design, Cambridge, United Kingdom) and converted to analog signals via a Power 1401 digital-analog converter (Cambridge Electronic Design, Cambridge, UK).

Optical imaging
For recording fluorescence changes, the MiCam02 imaging system and BV-ANA software (Brain-Vision Analyzer, Version 11.08.20; SciMedia, Tokyo, Japan) were used (spatial resolution = 192 × 128 pixels; frame rate = 250 frames/second). Individual recordings lasted 20 seconds and were repeated many times in a given experiment. Excitation light was provided by a narrowband LED with 525 nm (CoolLED, Yorktown Heights, NY, US), and fluorescence emission was filtered through a quadband filter cube (Semrock, Rochester, NY, US). Excitation light intensities varied and were adjusted to the individual preparation. We used a 20× objective (UMPlanFL N, NA 0.30, WD 3.3 mm, cc = water; Olympus, Tokyo, Japan) mounted on an upright epifluorescence microscope (modified BX51, Scientifica, East Sussex, UK).

Extracellular and intracellular electrophysiology
Spike activities of the pyloric neurons were acquired via extracellular recordings of motor nerves posterior to the STG (S1 Fig, schematic): we used the lateral ventricular nerve (lvn) for LP activity, the pyloric dilator nerve (pdn) for PD activity, and the pyloric constrictor nerve (pyn) for PY activity. Note that the pdn and pyn contain multiple PD and PY neuron units, respectively, and we did not separate out these neurons individually. We used petroleum jelly wells and subsequent measurements of field potential changes between two stainless steel wires (one inside and one outside of each well) to extracellularly record action potentials. The differential signal was recorded, filtered, and amplified with an AC differential amplifier (A-M Systems Modell 1700, Carlsborg, WA, US). Files were recorded, saved, and analyzed using Spike2 software.
Standard intracellular recording techniques were used for comparison of intracellular and optical signals recorded from CoG neurons [98]. CoG somata were visualized with white light transmitted through a dark field condenser (Nikon, Tokyo, Japan) to facilitate placement of the recording electrode. Intracellular recordings were obtained using 20-30 MO glass microelectrodes (Sutter 1000 electrode puller, Novato, CA, US) filled with a 0.6 M K 2 SO 4 + 20 mM KCl solution. Signals were recorded in current-clamp configuration and amplified with a BA-1S Intracellular Bridge Mode Amplifier (NPI Electronic GmbH, Tamm, Germany). Files were recorded and analyzed at a sampling rate of 10 kHz with Spike2 software.

Data analysis and figure construction
Imaging and electrophysiological data were analyzed with the Brain-Vision Analyzer software (BVAna SciMedia, Tokyo, Japan), Spike2 (version 7.13; CED), and custom-made MATLAB (version R2014b, MathWorks) scripts. Final figures were prepared with MATLAB and Corel-Draw (version X7 for Windows, http://www.coreldraw.com). For spreadsheet analysis, Excel (version 2010-2013 for Windows, Microsoft) and R (version 3.3.1, The R Foundation for Statistical Computing) were used. Data are given as mean ± SD unless otherwise noted. "N" denotes the number of ganglia used; "n" denotes the number of neurons or trials. For some animals, more than one ganglion was used (each stomatogastric nervous system has two CoGs). Unless otherwise stated, with N = 12, 9 animals were used; with N = 11, 9 animals were used; with N = 6, 4 animals were used; with N = 8, 5 animals were used; and with N = 19, 14 animals were used. Significance is indicated using � (p < 0.05), �� (p < 0.01), and ��� (p < 0.001). Statistical tests were paired t test, Pearson correlation coefficient, two-sample K-S test, and Tukey-Kramer test in conjunction with one-way ANOVA. Details of each individual test used can be found in the figure legends to which they pertain.

Imaging analysis
For comparing changes in fluorescence of the entire imaged region (spatial averaging), we used the average whole-field change in fluorescence during 6-second stimulation and subtracted with the 6-second prestimulation (Δ fluorescence, Fig 1C). This included the averaged signals of all imaged neurons. CoG neurons are found in multiple focal planes, but as one moves from dorsal to ventral, the somata distribution tends to spread outward. This alleviates potential detection of optical signals from neurons above or below the imaged focal plane. In addition, CoG somata are large, which further reduces bleed-through from other cells. We had previously shown that optical signals are strongest when a neuron is in focus.
We measured firing frequencies of all imaged neurons to detect sensory-induced responses in CoG neurons. Voltage-sensitive dyes are sufficiently fast to detect sub-millisecond events [99]. Individual cell traces and contours were extracted using BV-ANA software, and further analysis was executed in MATLAB. Traces were processed with a drift removal based on sixorder polynomial fit, and spike threshold was based on the median of the signal [100]. In addition, high-pass filtering was used to separate fast action potentials from slower and often larger changes in membrane potential. Since spike amplitude varied across neurons, high-pass filters were adjusted separately for each neuron by assessing the maximum difference between slow and fast changes in membrane potential.
For rate-coding analyses (Fig 5), we calculated in each experiment for each condition the ratio between spike frequency during 6 second stimulation (stim ON ) and 6 seconds immediately preceding stimulation (stim PRE ). For each condition, the distribution of the frequency ratios of all neurons in a given preparation was plotted as a histogram (bin size: 0.1). Distributions were normalized to the maximum count for each experiment. Frequency ratio distributions were then averaged across preparations and tested for differences between conditions using the two-sample K-S test. Ratios > 1 indicate neuronal activity increases (excitation), ratios < 1 indicate activity decreases (inhibition), and ratios = 1 indicate no change in spike frequency. To avoid division by zero, if a neuron was not spontaneously active, it was omitted from the analysis, although this was rare. In addition, we calculated the distribution of the frequency difference during stimulation (stim ON ) and immediately preceding stimulation (stim PRE ) and tested for differences between conditions using K-S test.
To categorize individual neurons as "excited," "inhibited," or "nonresponsive," we used the difference between the number of spikes during stimulation and prestimulation (Fig 6C-6G). Pairwise comparisons for these categorizations were made between IV and VCN conditions for each CoG and subsequently averaged across ganglia.
Neurons were defined as unimodal when their activities changed in response to stimulation of only one of the two sensory modalities. Neurons that responded to both sensory modalities were defined as multimodal. Neurons that did not respond to either stimulation were defined as "nonparticipant" (Fig 6A).
For the spatial distribution analysis (Fig 7), we calculated the angle from the Cartesian coordinates and used the angular variance as a measure of directional variability. To normalize the distances for each ganglion, we determined a polygon contour around the outer neurons, found the centroid, and calculated the ratio between the distance from neuron to centroid and distance from border to centroid, d ratio = d(neuron,centroid) / d(border, centroid).
To identify the proportion of neurons that had a unique response to one of the sensory conditions, we calculated the proportion of CoG neurons that share a similar response type to two of the sensory conditions, whereas the response to the remaining condition differs (unique). For example, a neuron that was excited by IV stimulation but inhibited by both VCN and bimodal stimulations would be a unique response for the IV condition, whereas a neuron that was excited by IV, VCN, and bimodal stimulations is not a unique participant and was omitted from the analysis.
For the expected map responses (congruency under bimodal conditions, Fig 9), we considered nine response combination scenarios, given the three potential neuronal responses (excited, inhibited, and nonresponsive) to unimodal sensory input. Seven of these can be used to generate clear expectations of bimodal stimulation effects and to test whether neuronal responses to bimodal stimulation are the additive result of the responses observed during unimodal stimulation: excitatory responses to both unimodal inputs will summate to an excitatory bimodal response (IV ex / VCN ex = CO ex, ). An inhibitory response to both unimodal inputs will yield an inhibited bimodal response (IV inh / VCN inh = CO inh ), and no response to either stimulus should not result in a response to bimodal stimulation (IV NR / VCN NR = CO NR ). An excitatory response to one unimodal input and no response to the other will summate to an excitatory response for bimodal stimulation (IV ex / VCN NR = CO ex ; IV NR / VCN ex = CO ex ), and an inhibitory response to one input with no response to the other will yield an inhibitory bimodal response (IV inh / VCN NR = CO inh ; IV NR / VCN inh = CO inh ). Two scenarios (IV ex / VCN inh and IV inh / VCN ex ) are inconclusive, because the additive outcome cannot directly be predicted as it depends on the weighting of excitation and inhibition. We used spatial maps of the previously characterized neuronal responses to create spatial maps of the expected outcomes (Fig 9). A Boolean-based comparison of the additive expectations with those data acquired for multimodal responses was used to demonstrate the proportion neurons that did not respond additively ("no match"). This analysis produces a conservative estimate of which neurons show dramatically distinct responses in the bimodal condition. It was chosen over creating expectations maps using firing frequency changes, which is more sensitive to small changes but may also produce false positives, since neuronal firing frequency responses (F/I curves) are rarely linear.

Motor pattern analysis
For the motor neuron analysis, a custom-written program for Spike2 was used to determine pyloric rhythm activities. Pyloric neuron activity measurements were calculated as follows: firing frequency as the number of action potential spikes divided by the interval of time (seconds) measured; burst duration as the time (seconds) from the first to the last spike in a burst; spikes per burst as the number of spikes counted in a burst; and the cycle period was determined by calculating period between the onset of two successive PD neuron bursts. We did not separate multiple PD neurons (2 found on the pdn) or PY neurons (4 found on pyn) when calculating these parameters. Measurements were plotted as the normalized change (norm. Δ) between stim PRE and stim POST (norm. Δ = [stim POST − stim PRE ] / stim PRE , Fig 8). All procedures were the same for experiments testing the direct effects of sensory stimuli on pyloric motor output, except that in these experiments, the CoG influences were removed by transecting the inferior esophageal nerve (ion) as well as the superior esophageal nerve (son) between the dpon and the CoGs (see S1 Fig for nerves). This procedure bisects the IV and VCN axons that project to the CoGs, and it removes all CoG influences on the STG. In contrast, the direct axon connections between IVs and STG, as well as between VCN and STG, are maintained. As an alternative, high-potassium saline (120 mM KCl) was applied to the CoG to block action potentials in the CoGs.

Functional connectivity analysis
For establishing the functional connectivity, we first determined a coherence matrix between the fluorescence traces (time series, V) of all neurons in a given ganglion using Pearson's correlation. Each element of the coherence matrix (KxK) is calculated using r ij ¼ P t ðV i ðtÞ À � V i ÞðV j ðtÞ À � V j Þ ffi ffi ffi ffi ffi ffi ffi ffi ffi ffi ffi ffi ffi ffi ffi ffi ffi ffi ffi ffi ffi ffi ffi ffi ffi ffi ffi ffi ffi ffi ffi ffi ffi ffi ffi ffi ffi ffi ffi ffi ffi ffi ffi ffi ffi ffi ffi ffi ffi ffi ffi ffi ffi ffi ffi ffi ffi P t ðV i ðtÞ À � where ρ ij is the correlation coefficient between neurons V i and V j , � V i and � V j are the means, K is the number of neurons in a given preparation, and t is the time. Each coherence matrix was thresholded to create an adjacency matrix. Two neurons i and j are considered functionally connected if ρ ij is greater than a threshold. We opted for a fixed threshold to determine the adjacency matrix, which was empirically set to 0.45 and p < 0.05 [49]. Adjacency matrix is a symmetric matrix, and elements can be either 1 or 0. A value of 1 indicates that there is a functional connection (link) between neurons (node), and a value of 0 indicates no connection (link). We considered two network metrics: i. Connectivity density defined as the proportion of connections (links or edges, m) that exists relative to the number of possible connections of an undirected network [101,102].
This measure gives an indication of how well connected a network is. A connectivity density of 1 means that all potential connections exist; i.e., each neuron is connected to all other neurons. ii. Global efficiency, E Global defined as the inverse of the harmonic mean of the shortest path length L ij (smallest number of edges that connect two nodes) between each pair of nodes [52,53].
It is a measure of how efficiently information is exchanged over the network, resulting in a measure of the global efficiency of parallel information transfer in the network.
Supporting information S1 Fig. VSD imaging in a multifunctional motor system. (A) The stomatogastric nervous system consists of four ganglia: the STG, the OG, and the bilaterally paired CoGs (only right CoG shown here). The chemosensory IVs (cyan) descend from the SoG ("brain") and innervate the CoGs via the ivn, ion, and son and the STG via the stn. The mechanosensory VCNs (magenta) innervate the CoGs via the dpon. VSD imaging was used to monitor CoG neuronal activity. (B) While CoG neurons project to many different locations throughout the nervous system such as the TG and the brain (SoG), a subset of the CoG neurons localized in the medial-posterior area of the ganglion (dotted box) project to downstream motor circuits (arrow) in the STG. (C) Example image of neuronal cell bodies in the CoG area that contains descending projection neurons that control the STG motor circuits. About 80 distinct cell bodies are distinguishable via their brightly fluorescing cell boundaries. All neurons in a single focal plane were imaged simultaneously. (D) Optical trace from a single neuron in (C), showing the change in spike activity in response to VCN stimulation. (E) Sample traces of the downstream pyloric motor neurons recorded extracellularly from motor nerves posterior to the STG. Action potential (spike) information was attained for the LP neuron, the PY neurons, and the PD neurons via recordings of the lvn, the pyn, and the pdn, respectively. CoG, commissural ganglion; dpon, dorsal posterior esophageal nerve; ion, inferior esophageal nerve; IV, inferior ventricular neuron; ivn, inferior ventricular nerve; LP, lateral pyloric; lvn, lateral ventricular nerve; PD, pyloric dilator; pdn, pyloric dilator nerve; PY, pyloric constrictor; pyn, pyloric constrictor nerve; OG, esophageal ganglion; SoG, supraesophageal ganglion; son, superior esophageal nerve; STG, stomatogastric ganglion; stn, stomatogastric nerve; TG, thoracic ganglion; VCN, ventricular cardiac neuron; VSD, voltage-sensitive dye. number of spikes per burst (B), and burst duration (C) were calculated separately for each neuron, while cycle period (D) is a measurement reflective of the whole rhythm. Data are mean ± SD. Comparisons were made within modalities, and no differences were found between stim PRE and stim POST activity (paired t test; no significance; N = 8 ganglia, 5 crabs, for PD; N = 7 ganglia, 4 crabs, for PY; and N = 7 ganglia, 6 crabs, for LP). CoG, commissural ganglion; IV, inferior ventricular neuron; LP, lateral pyloric; PD, pyloric dilator; PY, pyloric constrictor; STG, stomatogastric ganglion; VCN, ventricular cardiac neuron. (TIF) S1 Data. (XLSX)