Figures
Abstract
A central question in neuroscience is how neural processing generates or encodes behavior. Caenorhabditis elegans is well suited to addressing this question, given its compact nervous system and near-complete structural connectome. Despite this, findings from previous studies remain inconclusive. While some have shown that the connectome can robustly encode specific behaviors such as locomotion, others report that functional connectivity can be reconfigured across behaviors. We aim to understand the relationship between structural connectivity, functional connectivity and biological behavior in silico by using an experimentally motivated computational model leveraging the structural connectome. Stimulation of specific neurons in the model induces oscillatory neural responses, enabling us to infer neuronal functional connectivity. Functional connectivity is found to be stronger among some neurons, allowing us to identify functional communities. We find that electrical synapses play a critical role in determining functional communities, and the resulting mesoscale functional architecture is predominantly gap junctionally assortative. Furthermore, comparison with behavioral circuits shows that locomotion circuits are largely segregated into distinct functional communities while other circuits are more distributed across multiple functional communities. We also observe that stimulation of neurons belonging to these distributed circuits elicits a more synchronized neuronal response compared to stimulation of neurons within the more segregated circuits. This is consistent with the presence of behavioral patterns that originate in one circuit and terminate in another (e.g., chemosensation leading to locomotion), such that stimulation of one circuit can activate the other and eventually result in a synchronized response. We also find a large repertoire of chimera-like synchronization patterns upon stimulation of certain sensory circuits (chemosensation, mechanosensation) indicating high dynamical flexibility. Overall, our results demonstrate that while certain behaviors are governed by functionally segregated circuits, others emerge from the synchronization of multiple functional communities, which are, to begin with, influenced by the underlying structural connectivity.
Author summary
Animals constantly transform sensory inputs into actions, but it is still unclear how this mapping from neural activity to behavior is implemented in a real nervous system. Caenorhabditis elegans offers a unique testbed for this question because its entire wiring diagram is nearly completely mapped. Yet, previous works have reached mixed conclusions about how well this anatomical circuit diagram predicts actual patterns of activity and behavior. Here, we use a biologically inspired computational model of the C. elegans nervous system to bridge this gap between structure, function, and behavior. By virtually stimulating individual neurons and observing the resulting network-wide oscillations, we infer how strongly different pairs and groups of neurons interact in functional terms. We then use network analysis tools to identify groups of neurons that tend to co-activate, and relate these functional communities to known behavioral circuits for locomotion and sensory processing. We find that gap junctions play a key role in shaping functional communities, and that locomotion-related neurons are more functionally segregated than neurons involved in other behavioral circuits, which are more functionally distributed. Our results suggest that some behaviors rely on specialized, functionally isolated circuits, whereas others emerge from the coordinated activity of multiple functional communities.
Citation: Sar GK, Patton A, Towlson E, Davidsen J (2026) Synchronization properties in C. elegans: Relating behavioral circuits to structural and functional neuronal connectivity. PLoS Comput Biol 22(9): e1014152. https://doi.org/10.1371/journal.pcbi.1014152
Editor: Barbara Webb, The University of Edinburgh, UNITED KINGDOM OF GREAT BRITAIN AND NORTHERN IRELAND
Received: March 20, 2026; Accepted: August 26, 2026; Published: September 15, 2026
Copyright: © 2026 Sar et al. This is an open access article distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.
Data Availability: The open C. elegans data we used in this study were not collected by us and are described in https://doi.org/10.1098/rstb.1986.0056, https://doi.org/10.1371/journal.pcbi.1001066 and can be obtained from WormAtlas https://www.wormatlas.org/. The computational model used in this study is described in https://doi.org/10.1103/PhysRevE.89.052805. Our own code is available here: https://github.com/gourab-sar/C-elegans-synchronization.
Funding: J.D. was supported by the Natural Sciences and Engineering Research Council of Canada (RGPIN/05221-2020). E.T. was supported by the Natural Sciences and Engineering Research Council of Canada (RGPIN-2021-02949). G.K.S. acknowledges financial support through UCalgary’s VPR Postdoctoral Match-Funding Program. A.P. acknowledges financial support through an Alberta Graduate Excellence Scholarship and an Alberta Innovates Graduate Student Scholarship. The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript.
Competing interests: The authors have declared that no competing interests exist.
Introduction
Understanding how neural activity gives rise to behavior is a central problem in neuroscience. This question is especially tractable in the nematode Caenorhabditis elegans, whose nervous system consists of a total of 302 neurons and for which an almost complete structural connectome is available [1–6]. Despite this exceptional level of anatomical detail, the exact relationship between structural connectivity, functional dynamics, and behavior in C. elegans remains unresolved. Several complementary approaches have been used to probe the relationship between structure, function, and behavior, ranging from purely in silico connectome-based modeling [7–11] and experimental measurements of neural activity and perturbations [12–16], to hybrid methods that explicitly integrate computational models with experimental data [17,18].
Notably, specific structural features can robustly predict functional organization and behaviorally relevant computations, particularly in locomotor circuitry. On the experimental side, brain-wide calcium imaging has shown that graph-theoretic features of the anatomical connectome, especially hub neurons and non-local connectivity, are strongly associated with global functional correlations, and that perturbing/inhibiting multiple hub neurons selectively disrupts this brain-wide correlation structure [14]. Symmetry-based analyses of the connectome further identify structured “equivalence classes” (symmetry sectors) that constrain coordinated dynamics and yield functionally meaningful partitions in locomotion circuits [19]. In the same spirit, another work that explicitly couples connectome structure to whole-neural activity argues that network symmetries (e.g., fibration symmetries) help explain which subsets of neurons synchronize during locomotor control [20]. Complementing these graph-theoretic perspectives, dynamical and control-theoretic studies show that the connectome can encode low-dimensional motor programs and can predict neurons critical for locomotion, linking structural controllability or feedback motifs to experimentally testable behavioral outcomes [21–23].
Behavior [24–26] provides a natural bridge between anatomical structure and functional dynamics: while the connectome supplies a relatively stable scaffold, functional coupling is flexible and can be reconfigured across behavioral contexts, internal states, and timescales [15,27]. Whole-brain calcium imaging shows that a large fraction of the nervous system participates in coordinated, low-dimensional population dynamics that track locomotor commands and motor-state transitions, linking brain-wide functional organization to a defined behavioral repertoire [12]. Likewise, imaging in freely moving C. elegans reveals reproducible activity patterns underlying persistent foraging states such as roaming versus dwelling, illustrating state-dependent reorganization of functional connectivity on the same structural substrate [15]. Taken together, prior works have yielded a diverse set of results linking structure, function, and behavior. Reconciling these complementary, and sometimes divergent, perspectives requires a framework that explicitly connects anatomical wiring, neuronal dynamics, and behavioral output.
A natural way to build such a unifying framework is through computational models that translate anatomical wiring into whole-brain neuronal dynamics. In this spirit, a wide range of computational approaches [28] has been used to study whole-brain neuronal dynamics in C. elegans. Earlier modeling studies often employed spiking neuron models, such as the Hindmarsh-Rose system, to investigate synchronization phenomena in the connectome [29,30]. However, this modeling choice is biologically questionable, as neural signaling in C. elegans is predominantly mediated by graded membrane-potential changes [31], although action potentials have lately been identified in a small number of specialized neurons and in body-wall muscles [32,33]. More recent work has therefore shifted toward biophysically motivated membrane models that better capture the experimentally observed voltage dynamics of C. elegans neurons [21,34,35]. Parallel to developments in neuronal modeling, several network theoretic approaches have been applied to relate structure and function in the C. elegans connectome. These include symmetry-based analyses [19,36], modularity maximization methods such as Louvain community detection [37], and stochastic block modeling frameworks [13,29]. Collectively, these studies suggest that mesoscale organization (e.g., modules or communities, hubs, symmetry-defined neuron groups) strongly shapes the emergent neural dynamics by constraining how activity co-fluctuates and propagates across the network, rather than being determined solely by single connections. Nevertheless, there is no consensus on whether and how structural modules correspond to functional units or behavioral circuits.
In this study, we aim to clarify how structural connectivity shapes functional organization and synchronization patterns in the C. elegans nervous system, and how these functional structures relate to well-characterized behavioral circuits. To this end, we employ a biologically motivated single-compartment membrane model that explicitly incorporates both chemical synapses and electrical gap junctions as given by the anatomical connectome [34]. By systematically stimulating individual neurons in silico, we induce network-wide oscillatory responses and use these responses to infer functional connectivity from pairwise correlations of membrane potentials. Rather than focusing solely on individual neuron pairs, we investigate the mesoscale functional architecture of the network. Using a weighted stochastic block model, we identify functional communities – groups of neurons that respond similarly to stimulation – across an ensemble of stimulation conditions. This approach allows us to determine how functional communities emerge from the static connectome and to assess the relative structural roles in shaping these communities. We then relate the detected functional communities to five well-studied behavioral circuits: forward and backward locomotion [38–40], chemosensation [41–44], mechanosensation [45–48], and klinotaxis [49–51]. These circuits differ markedly in their anatomical composition and behavioral roles. Locomotion circuits are organized to generate robust and repeatable motor programs, while sensory circuits – chemosensory, mechanosensory, and klinotaxis pathways – are organized to flexibly transform rich external cues into state and context-dependent neural responses [25,38,52]. By comparing how these circuits map onto functional communities and by analyzing their synchronization patterns under targeted stimulation, we assess whether different behavioral modalities rely on functionally segregated or more distributed neural architectures. Strictly speaking, locomotion and taxis are behaviors that involve motor output requiring muscle contraction and movement, whereas chemosensation and mechanosensation refer to sensory modalities that can drive downstream behavioral responses such as chemotaxis or mechanotaxis [25,26,42,53]. Thus, throughout this study, when we refer to chemosensation and mechanosensation circuits, we mean sensory-processing circuits that can feed into locomotor pathways rather than complete behavior-generating circuits by themselves.
Our results show that functional communities in the C. elegans nervous system are strongly shaped by electrical synapses (or gap junctions) and are predominantly gap junctionally assortative. Locomotion circuits are largely confined to specific functional communities, consistent with their specialized role, whereas the sensory circuits are distributed across multiple communities. We find that stimulation to these distributed sensory circuits leads to stronger global synchronization than stimulation of more segregated locomotion circuits. Moreover, we observe a broad repertoire of response patterns upon stimulating some of these behavioral circuits, characterized by the coexistence of in-phase and out-of-phase responses. The large number of such chimera patterns [54–56] signifies a large degree of dynamical flexibility of these behavioral circuits. Together, our findings provide a unified picture of how structure, function, and behavior might be linked in C. elegans and highlight the central role of electrical coupling in organizing functional brain architecture.
Materials and methods
Structural connectome dataset
The C. elegans nervous system is one of the very few fully-mapped connectomes of any organism. An adult hermaphrodite nervous system consists of a total of 302 neurons, of which 279 are somatic neurons, 20 are pharyngeal neurons, and 3 neurons do not have any synaptic connection to others. The somatic nervous system is anatomically connected through electrical (gap junction) and chemical synapses. Gap junctions form undirected connections, whereas chemical synapses are directed. In total, the connectome comprises 6,393 chemical synapses and 890 gap junctions. The neuronal network is weighted, as some neuron pairs are connected by multiple gap junctions or synapses. There are 2194 unique directed chemical synapses and 514 unique undirected gap junctions. In this study, we use the reconstructed adult hermaphrodite C. elegans connectivity dataset of Varshney et al. [2]. This dataset builds on the original wiring diagram of White et al. [1] and incorporates additional reconstructions and subsequent updates, as described in Ref. [2]. For further details about the structural connectome, we refer the reader to Refs. [1–3,57].
Although there is still a lack of electrophysiological experimental evidence confirming whether chemical synapses between neurons are excitatory or inhibitory [58], it is commonly assumed that there are 26 GABAergic neurons that contribute to inhibitory synapses. The remaining neurons (primarily glutamatergic and cholinergic) are generally considered excitatory [2]. Apart from this commonly used convention, recent in silico studies have predicted the polarity (excitatory/inhibitory) of the synapses depending on the gene expression data of the presynaptic neurotransmitters and postsynaptic receptors [58–61] (we establish the robustness of our main findings when using these synaptic polarities instead in the Discussion section.) Neurons are broadly classified into three categories based on their structural properties and functional roles: sensory neurons, interneurons (or command neurons), and motor neurons. Sensory neurons respond to specific environmental stimuli and convert them into neural signals; interneurons integrate and process this information, coordinating the appropriate neural response; and motor neurons generate coordinated activity patterns that are relayed to the body-wall muscles through neuromuscular contacts formed by muscle arms, thereby producing behavioral output. Some neurons exhibit multiple functional roles and are therefore classified as polymodal neurons. The somatic nervous system of C. elegans consists of 68 sensory neurons, 67 interneurons, 89 motor neurons, and 55 polymodal neurons. See Fig 1 for a schematic of the C. elegans neuronal network where the neurons are colored according to their respective types.
The edges represent the gap junctions and chemical synapses. Node sizes in the structural connectome are scaled according to total degree, and nodes are colored according to their respective types. Labels are shown for the 50 neurons with the highest degrees.
Behavioral circuits
C. elegans exhibits a broad spectrum of behaviors, ranging from locomotion, foraging, feeding, and touch withdrawal to sensory-driven taxis based on odor, taste, and temperature [25,26]. A diverse toolkit is available for investigating and manipulating these behaviors, including automated visual tracking, microfluidic platforms that finely control structured environments, optogenetics, calcium imaging, laser ablation, and electrophysiological and genetic methods that enable precise interrogation of neural circuits [62–66]. In the following, we briefly describe several key behavioral modalities through which C. elegans interacts with its environment and discuss the neuronal circuits associated with each of these behaviors. Table 1 provides the full list of neurons in the different behavioral circuits – they share some of their constituent neurons (Table A in S1 Appendix) – and Fig 2 shows the proportions of the different types of neurons the circuits contain.
The proportions of interneurons, sensory neurons, motor neurons, and polymodal neurons are shown in (A) forward locomotion, (B) backward locomotion, (C) chemosensation, (D) mechanosensation, and (E) klinotaxis circuits. Inside the parenthesis, the number of susceptible neurons (neurons that facilitate oscillatory responses from other neurons upon stimulation in our mathematical model) are shown. In total, these five circuits are made up of 123 unique neurons, with some of them being present in multiple communities. Of these 123 neurons, 34 neurons are susceptible neurons with the majority being sensory neurons (19 out of 34).
Locomotion.
C. elegans moves primarily by generating sinusoidal waves along its body, producing forward movement under normal conditions. Reversals, followed by reorientation maneuvers such as omega turns, allow the worm to change direction and escape adverse stimuli. Distinct motor circuits control forward and backward motion: forward locomotion is primarily driven by the interneurons AVB and PVC, whereas backward movement is initiated by the interneurons AVA, AVD, and AVE. These command interneurons coordinate with ventral and dorsal motor neurons to enable rapid and flexible transitions between locomotor states [38–40]. As Fig 2 shows, whereas the locomotion circuits comprise a large number of motor neurons, the other circuits contain a larger proportion of sensory neurons or interneurons – consistent with the nature of the tasks they perform. Following previous modeling studies of the locomotion network [36,38,67,68], the AS, DD, VD, and VC neuronal classes are not included in our main definitions of the forward and backward locomotion circuits. This choice allows us to focus on minimal behavior-specific locomotion circuits with limited overlap between them; nevertheless, we also repeated the analysis using extended locomotion circuits that include these neuronal classes [38]. The expanded forward and backward locomotion circuits exhibit substantially greater overlap between them, while the principal synchronization patterns and the main conclusions of our study remain largely unchanged (see Table E, Fig L and Table F in S1 Appendix).
Chemosensation.
Chemosensation enables C. elegans to detect and navigate chemical gradients associated with food, pheromones, and harmful substances [41–44]. This behavior is mediated primarily by the amphid sensory neurons, which include several well-characterized chemosensory cell types. The neurons AWA and AWC detect attractive odorants, while ASE senses water-soluble attractants such as salts and amino acids. Avoidance of repellents is mediated largely by ASH, ADF, and ASK, which respond to noxious chemicals and high osmolarity. These sensory inputs are transmitted to downstream interneurons, including AIA, AIB, and AIY, which integrate chemical information and drive appropriate motor outputs for chemotaxis. Together, this network enables the worm to perform robust attraction, repulsion, and navigation in complex chemical environments.
Mechanosensation.
C. elegans relies on a well-characterized mechanosensory system to detect gentle and harsh touch, enabling rapid protective and exploratory responses [45–48]. Gentle touch along the body is sensed by a set of six touch receptor neurons - ALML/R and AVM in the anterior, and PLML/R and PVM in the posterior - which mediate direction-specific withdrawal or acceleration. These neurons use specialized MEC-4/MEC-10 mechanotransduction channels to convert mechanical stimuli into electrical signals. Harsh or noxious mechanical stimuli are detected by additional polymodal neurons, including PVD and FLP, which elicit stronger escape responses. Together, these mechanosensory pathways provide the worm with a robust ability to respond to physical perturbations and navigate complex environments.
Klinotaxis.
Klinotaxis in C. elegans refers to a navigation strategy in which the worm steers toward or away from a stimulus by comparing changes in concentration over successive head swings rather than sampling spatial differences across its body [49–51]. In chemical gradients, the worm adjusts the curvature of its trajectory based on temporal changes in stimulus intensity sensed during these head sweeps. A well-studied example is salt (NaCl) klinotaxis, where the bilateral ASE chemosensory neurons (ASEL/ASER) detect changes in NaCl concentration and relay this information to downstream interneurons such as AIY and AIZ, which in turn drive neck motor neurons of the SMB class to bias head bending toward preferred salt concentrations.
Single-compartment membrane model of C. elegans
In our model approach, each neuron in the C. elegans somatic nervous system is modeled as a single electrical compartment whose membrane potential evolves continuously in response to synaptic and gap junction inputs following [34]. This model is inspired by in-situ membrane voltage recordings, which show that neuronal responses are graded potentials, making them more appropriate for capturing voltage dynamics than conventional multi-compartment spiking neuron models. The model incorporates the biophysical properties of chemical synapses and electrical couplings through weighted anatomical connectivity. This framework allows us to simulate how external stimuli propagate through the network and to examine the emergence of collective neuronal responses across the full connectome. The nonlinear dynamics of neuronal activity is governed by a pair of equations [34]:
where is the membrane potential of the i-th neuron. C denotes the membrane capacitance,
the membrane leakage conductance, and
the leakage potential. External stimulation contributes through the current
, whereas interactions within the network arise from gap junction currents and synaptic currents. Gap junctions are modeled as ohmic connections, with
denoting the total conductance between neurons i and j. Chemical synapses are described using the maximal synaptic conductance
, scaled by the synaptic activity variable
, and their contribution depends on the deviation of the postsynaptic voltage from the corresponding synaptic reversal potential
, which is a constant but with different values for excitatory and inhibitory presynaptic neurons. Here,
and
are the weighted gap junction and chemical synapse connectivity, respectively, obtained directly from the structural connectome dataset described above. The evolution of synaptic activity is governed by rise and decay times
and
, together with a sigmoid activation function of width
. The activation function
is given by
is the threshold voltage for each neuron which is calculated by setting
at equilibrium where
. Typically, this threshold potential is determined by setting
[69]. Here, however, we calculate the threshold using a nonzero external current, so that
becomes a function of
(similar to Refs. [34,36]).
We also include Gaussian white noise terms, and
, in the equations, with noise strength
. In our simulations, we set
. Table 2 lists the parameters used in the above system, following the standard values reported in Ref. [69].
Numerics: For numerical simulations, we employ the Euler-Maruyama integration method with a time step of dt = 10–4. The initial conditions are set by perturbing and
from their equilibrium values by a small amplitude
. We have also verified the robustness of the results with respect to the choice of initial conditions by using nonidentical perturbations drawn from a Gaussian distribution centered around 0 with a standard deviation of
. We ran simulations up to T = 200 s and analyzed only the last 20% of the data, which ensured that transients had settled and that each neuron exhibited a sufficient number of oscillations if present.
Emergent dynamics
Previous studies have reported that the fixed point of the system is globally stable in the absence of external input currents [21,35]. Moreover, a constant, explicit and sufficiently large external input is required for the system to enter an oscillatory state and sustain those oscillations (i.e., oscillations that do not decay over time). Therefore, we apply a constant stimulus on the i-th neuron and observe the long-term dynamics of the system. If the stimulus is too large, the oscillations become chaotic in some cases. Excluding these large stimuli, we observe that one of the following three scenarios occurs:
- The equilibrium remains stable.
- The equilibrium becomes unstable and the trajectory converges to a new fixed point.
- The trajectory converges to a stable limit cycle via a supercritical Hopf bifurcation; see Fig 3B for an example.
(A) The motor neuron DD03 is stimulated and it is found that the equilibrium is always stable. (B) The sensory neuron ALML is stimulated and the system goes to an oscillatory state via a supercritical Hopf bifurcation. The x-axis, which denotes the real parts of the eigenvalues, is truncated for visual clarity. (C) Example of the deviation of membrane voltages from equilibrium of all neurons when a single neuron (here the PLMR neuron) is stimulated with an external current in our computational model. The noise strength is set to zero here.
The linear stability of the noise-free system is analyzed by evaluating the eigenvalues of the Jacobian matrix at the fixed point. In Fig 3A and 3B, the eigenvalue spectra are shown as functions of the input current amplitude for two different cases. It is evident that both the input current magnitude and the stimulated neuron are crucial in determining which of the three scenarios described above will be encountered. For example, consider stimulation with an external input . Under this stimulus, the system remains at equilibrium in 95 out of 279 cases, converges to a new fixed point in 161 cases, and enters an oscillatory state in 23 cases. When the stimulus is increased to
, these numbers change to 46 (equilibrium), 203 (new fixed point), and 30 (oscillatory). We also find that for sufficiently large input currents (
), the oscillations become chaotic in some cases. To avoid this regime, we restrict
to a range in which only periodic oscillatory behavior and stable equilibria are observed.
In the oscillatory state, all neurons (except 4 neurons – IL2DL, IL2DR, PLNR, PVDR – which have neither gap junctions nor inward synaptic connections with the rest of the network) begin to oscillate with identical frequencies. This holds for both variables and
. Although the neurons are frequency-locked, their oscillations differ significantly in amplitude and range. Following previous studies that employed the same model [21,34,35], we use the deviations of the membrane voltages from their equilibrium values (
) to represent the relevant dynamical activity, rather than the absolute voltages (see Fig 3C, which shows the voltage deviations from equilibrium following PLMR stimulation). In Fig A of S1 Appendix, we show the range of the response amplitudes for both variables under stimulation with
. For a more detailed discussion of the nonlinear dynamics of the system, we refer the reader to Refs. [21,35].
Phase calculation and synchronization measure
Since the membrane potentials of neurons and the associated synaptic activity variables vary in both range and amplitude, we normalize them to the interval by subtracting the mid-range value (to center the signal) and dividing by the half-range (to scale the amplitude) so that the oscillations remain within a comparable scale. The mid-range subtraction removes the model-dependent equilibrium offset before phase extraction. While this offset is important for determining the operating point and dynamical regime of the system, our synchronization analysis focuses on the relative timing of oscillations around equilibrium once a limit cycle is reached. Thus, the normalization procedure allows phase relationships to be compared across neurons with different voltage offsets and amplitudes. We then define the phase of the i-th neuron as [54,55]
where and
are the normalized variables (the MATLAB function atan2 is used for this purpose). Once we have a phase description of the neurons, we can examine whether they tend to be in-phase or out-of-phase. This is especially useful because the neurons are frequency-locked, and it is their phases that separate them or make them heterogeneous. To quantify the global phase synchronization, we use the Kuramoto order parameter, defined as
and consider its time average . By definition, Z ranges from 0 to 1, where 0 corresponds to a state where the phases are uniformly distributed and 1 corresponds to a fully in-phase state.
However, it is also observed that certain groups of neurons behave more similarly (or differently) in their phases compared to other groups of neurons. This necessitates capturing these group-wise relationships. We accomplish this by defining a Kuramoto order parameter between the k-th and l-th groups as
where and
denote the i-th group and the number of neurons it contains, respectively. The time averaged Kuramoto order parameter is then calculated as
Like Z, R also ranges from 0 to 1, with larger values corresponding to a higher level of synchrony or a phase-coherent state. In Fig 4A, we show the Kuramoto order matrix when the AVEL neuron in the backward locomotion circuit is stimulated. Here, the groups correspond to the behavioral circuits, and it is observed that the synchronization between the behavioral circuits is relatively low. In Fig 4B, we present the example time series of the phase difference with the AVEL neuron for different neurons from different behavioral circuits. The aforementioned lower level of synchronization is visible in these time series.
(A) Kuramoto order matrix for the behavioral circuits when the AVEL neuron (interneuron) in the backward locomotion circuit is stimulated. The colorbar indicates the value of the matrix entry. (B) Time series of the phase differences with the stimulated AVEL neuron. Two example neurons from each behavioral circuit are shown: blue – forward locomotion, red – backward locomotion, yellow – chemosensation, cyan – mechanosensation, and black – klinotaxis.
Correlation based functional community detection
To evaluate functional connectivity in our model, we compute the pairwise Pearson correlation between the voltage responses when stimulating a single neuron. Let P denote the correlation matrix, where is the Pearson correlation between
and
, given by
Because Pearson correlation is invariant under subtracting a constant offset and rescaling each individual trace by a positive constant, the same correlation matrix is obtained whether one uses the original voltage traces, the equilibrium-subtracted traces, or the normalized voltage traces. We then apply the weighted stochastic block model (WSBM) [70,71] to detect communities from the correlation matrix P. For this, we use the MATLAB implementation of WSBM developed by A. Clauset [72], which allows the number of communities to be specified. The left panel of Fig 5 illustrates the WSBM approach, showing both the original correlation matrix and the WSBM-sorted matrix when the number of communities is fixed to six.
Left panel: WSBM-based community detection applied to 163 Pearson correlation matrices. Neurons are assigned to six communities in each instance. Right panel: The number of times any two neurons appear in the same community is counted to form the co-occurrence matrix Q. WSBM is then applied to Q to obtain the final six functional communities.
Since the correlation matrix and, hence, the detected communities depend on which neuron is stimulated and how strongly it is stimulated, we pursue an ensemble approach similar to Ref. [29]. Neurons are stimulated with five different current amplitudes, and we collect all instances in which oscillatory responses occur. In total, we obtain 163 instances of oscillatory neuronal responses (23 for , 26 for
, 30 for
, 44 for
, and 40 for
), resulting in 163 corresponding P matrices that include 78 unique neurons. We apply WSBM to each of these matrices, detecting the same number of communities each time. We then count the number of occurrences in which any two neurons appear in the same community, yielding a co-occurrence matrix Q with entries ranging from 0 to 163. Finally, we apply WSBM again to this co-occurrence matrix Q to obtain the desired community partition. These communities are referred to as functional communities (FCs). This procedure is illustrated in the right panel of Fig 5.
Synchronization patterns
Once the FCs are identified, we can study how these communities synchronize in response to the stimulation of a specific neuron. To quantify this, we use the Kuramoto order matrix R as defined above in Eq. (7). If there are six FCs, this yields a Kuramoto order matrix, which is always symmetric. An example is shown in Fig 6. Although this provides a useful indication of how strongly pairs of FCs are synchronized, it does not clearly indicate if multiple FCs respond in synchrony or not making it more challenging to identify and quantify patterns of partial synchronization. One way to tackle this is to follow the approach detailed in [54]: First, we apply a threshold
to the Kuramoto order matrix, which binarizes the matrix. We then apply the generalized Louvain algorithm for community detection [73,74] to this binarized matrix. This method assigns an index to each community: if two or more communities share the same index, they form a synchronized group, whereas a community whose index is not shared with any other community is considered asynchronous. The method (which we refer to as the “Louvain synchronous community detection”) is pictorially illustrated in Fig 6. We assign red colors to the synchronized communities and blue colors to the desynchronized ones. Based on the overall synchronization pattern, we classify the system as follows: the pattern is termed synchronous (sync) if all communities share the same index (and thus the same color); it is termed asynchronous (async) if all communities have distinct indices (or distinct colors). Any intermediate case is classified as a mixed or chimera pattern, defined as a dynamical state where coherent (synchronized/in-phase) and incoherent (desynchronized/out-of-phase) dynamics coexist simultaneously within the same network of identical or similar units [56]. The pattern shown in Fig 6 is an example of a chimera pattern. The same procedure can be applied to the behavioral circuits by stimulating neurons belonging to different circuits to analyze the resulting synchronization patterns. It is important to note that these patterns depend on the choice of the threshold
such that one needs to consider a range of values to establish the robustness of any findings.
Left: Functional community–based Kuramoto order matrix for a representative case of neuronal stimulation with external current where the stimulated neuron belonged to FC 2. Right: A synchronization threshold of is used to binarize the order parameter matrix, after which the generalized Louvain algorithm is applied to identify synchronized and desynchronized groups. Red denotes synchronized groups, and blue denotes desynchronized ones. The resulting pattern in this case is a chimera pattern.
Results
Our study aims to understand the relationship between structural connectivity, functional connectivity and biological behavior in C. elegans in the context of our model. We begin by investigating how the anatomical network structure shapes global synchronization across neuronal responses. Because these responses are used to identify FCs, this analysis also provides insight into how network structure shapes function. Next, we focus on the FCs identified by the WSBM method and elucidate the emergent meso-scale functional architecture. Then, we provide a detailed comparison between the FCs and the behavioral circuits. Finally, we analyze the synchronization patterns within both the FCs as well as in the behavioral circuits.
Effect of structural connectivity on synchronization
We explore the relationship between global synchronization, quantified by the order parameter Z, and the underlying structural connectivity of neurons. We collect all neuron stimulation cases with varying current amplitudes and stimulate the susceptible neurons. These are defined as neurons that can induce oscillatory responses in other neurons when driven with suitable current amplitudes. The external current and the corresponding susceptible neuron together form a current-neuron pair. We then measure the time-averaged global Kuramoto order parameter Z. For each case, we also record the gap junction degree, as well as the in-degree and out-degree of chemical synapses of the stimulated neuron. To establish to which degree the specific structural connectivity is responsible for the emergent global synchronization, we also consider different versions of randomized connectivities. As the gap junction degree of the stimulated neuron has the dominant effect on the global Kuramoto order parameter Z as we show below, we consider specifically the following variants of the structural connectome where only the gap junction degrees are randomized: (i) a randomly rewired network in which each neuron’s gap junction degree is preserved; (ii) a network with the same gap junction degree distribution, but with node degrees and connections randomly reassigned; and (iii) an Erdős–Rényi–type random network with the same total number of gap edges.
The relationship between the global synchronization Z and the gap junction degree of the stimulated neurons, for each of these randomized variants as well as for the original network, is shown in Fig 7. For the original network, the global synchronization tends to decrease as the gap junction degree of the stimulated neuron increases. The global synchronization order parameter attains its largest mean value when the gap junction degree of the stimulated neuron is zero, i.e., when the stimulated neuron is gap junctionally isolated from the rest of the network. When we consider the different randomized connectivity variants, the largest mean global synchronization always occurs at zero gap junction degree. These observations indicate that stimulation of gap junctionally isolated neurons in the vast majority of cases elicits a global in-phase neuronal response, largely independent of the network architecture. As we show later, these gap junctionally isolated neurons are also captured in our functional community detection and form a separate functional community of their own.
The dot denotes the mean value and the lower and upper edges represent the 10th and 90th percentiles, respectively. To compare the original network with the random variants, p values are calculated by using the two-sided Wilcoxon rank sum test where *, **, and *** denote p < 0.05, 0.01, and 0.001, respectively.
Focusing on the nonzero gap junction degrees in Fig 7, we find that, for degrees less than six, the mean of the global synchronization order parameter is smaller in each of the three randomized variants compared to the original network. Within the same gap junction degree range (1–5), the mean value of Z decreases with increasing gap junction degree for each randomized variant. This trend also holds for the original network, except for a small increase in the mean value of Z at gap junction degree = 4. In all cases with gap junction degree between 1 and 5, however, the distribution of Z for each of the three network variants is statistically significantly different from that of the original network, with p < 0.05 and lower. It is worth noting that the original network contains only 163 current-neuron pairs (and thus 163 associated gap junction degrees in total), whereas each randomized network variant considers 10 realizations and includes, on average, close to 400 current-neuron pairs per realization. The mean value of Z, averaged over all current-neuron pairs, is 0.50 for the original network, 0.22 for the degree-preserved randomization, 0.22 for the degree-distribution-preserved randomization, and 0.21 for the total-edges-preserved randomization. These results indicate that randomizing the connectivity of the gap junctions not only typically increases the number of neurons that are susceptible to external current stimulation (more than double for the randomized realizations compared to the original network), but at the same time the emergent oscillations tend to be more out-of-phase. Another key observation is that, in the original network, the maximum gap junction degree among the susceptible neurons is 14. For the non-Erdős–Rényi–type randomizations, this maximum increases substantially, reaching 40 (the largest gap junction degree present in the original network), see Fig 7 where data for gap junction degrees greater than 5 are grouped into three categories due to limited sample size and reduced variability. The mean value of Z is always very low in this range (when it exists) for all randomization variants and the original network. One possible biological interpretation of these observations is that the native gap junction architecture constrains the susceptibility of neurons, particularly highly connected ones, to externally induced oscillations, thereby limiting excessive reactivity and supporting stable internal control of network dynamics.
Functional communities (FCs)
Building on our analysis of global synchronization among neuronal responses and its dependence on structural connectivity, we now turn to the functional connectivity between neurons. In our case, when a neuron is stimulated, we focus on the voltage response of the neuronal system and use these responses to compute the pairwise correlations, which we treat as measures of functional connectivity. At the level of individual neurons, these functional relationships reveal whether the responses of two neurons are correlated. However, our primary interest lies in identifying groups of neurons that respond similarly when another neuron is stimulated. This is why we study the meso-scale architecture of the neuronal network by partitioning it into disjoint modules or communities based on functional connectivity. The procedure used to determine these FCs from the neuronal voltage response data is described in the Materials and methods section.
The WSBM approach used for this purpose identifies latent community structures in networks through a generative modeling framework that jointly accounts for edge existence and edge weights, grouping nodes with similar patterns of weighted connectivity across the network. Because the algorithm is non-deterministic, repeated runs typically yield slightly different partitions. To obtain a robust community structure, we perform multiple runs of the WSBM procedure on the co-occurrence matrix, align them, and determine the final assignment of each neuron by taking the mode of its community labels across all runs. For the results presented here, we fix the number of communities to six and perform fifty runs of the WSBM procedure. As a systematic study of varying the number of communities shows (see, e.g., Fig E in S1 Appendix), this provides the best compromise between capturing sufficiently fine details and ensuring the robustness of the findings. We observe two dominant classes of community assignments emerging from the WSBM approach when the number of communities is set to six. Across multiple runs of the WSBM, type I appears in approximately 70% of the runs, while type II occurs in the remaining 30%. Below, we elaborate on the characteristics of these two community partition types.
- WSBM type I: After arranging the communities by size, we label them as FC 1 (75 neurons), FC 2 (67 neurons), FC 3 (52 neurons), FC 4 (45 neurons), FC 5 (27 neurons), and FC 6 (13 neurons). Examining the gap junction connectivity reveals that these connections are predominantly intra-community rather than inter-community, indicating that the communities are assortative with respect to gap junction. In contrast, chemical synapses are distributed both within and across communities. The gap junction and chemical synapse connectivity patterns among the FCs are shown in Fig 8A.
- WSBM type II: FC 4, FC 5, and FC 6 remain unchanged in WSBM type II when we compare them to type I. The other three communities lose some neurons and gain a few others while preserving their core structure. In this case, FC 1, FC 2, and FC 3 contain 53, 84, and 57 neurons, respectively. We label these communities based on their largest overlap with the corresponding WSBM type I communities. Similar to type I, the FCs in type II are assortative with respect to gap junction connectivity, whereas chemical synapses occur both within and across communities (see Fig 8B).
Panels (A) and (B) show the gap junction and chemical synapse connectivity between FCs for WSBM type I and type II, respectively. Gap junctions are predominantly intra-community, whereas chemical synapses are distributed across both intra- and inter-community connections. Panel (C) presents community-wise pie charts illustrating the proportions of sensory, inter-, motor, and polymodal neurons within each community. The numbers in parentheses indicate the count of susceptible neurons in each group. Across all five current amplitudes used, a total of 78 such unique neurons are identified.
We observe that although the neuronal composition of the first three communities differs slightly between type I and type II, the overall pattern of connectivity among the communities remains largely consistent. In both cases, gap junctions are predominantly concentrated within communities rather than across them, whereas chemical synapses are not restricted to within-community connections. Once we have this knowledge, an important question arises: what features of the structural network and the computational model drive this particular form of community partitioning in the first place? The explanation lies in the structure of the gap junction connectivity and how it is encoded in the model. In Eq. (1), neuronal membrane voltages are coupled diffusively through weighted gap junctions, which promotes homogenization of the voltages across connected neurons. Consequently, stronger gap junction coupling leads to stronger correlations in their membrane voltages. When these voltage correlations are used as functional connectivity measures for community detection, neurons with stronger mutual gap junction connections naturally cluster together. In contrast, chemical synapses do not promote synchronization of neuronal voltages, and therefore, their connections are distributed both within and across communities. This mechanism accounts for the grouping patterns and their connectivity observed in both types of community partitions detected by the WSBM procedure.
It is important to note that FC 5, which appears identically in both types of partitioning, is gap junctionally isolated from the rest of the communities. Out of the 27 neurons in this community, 25 neurons have no gap junction connections with any others, and there is a pair of neurons that are mutually connected. To put this in perspective relative to the full gap junction connectivity, the structural network consists of a giant connected component of 248 neurons, two smaller components of 2 and 3 neurons, and 26 isolated neurons. Thus, FC 5 contains nearly all of the neurons that are gap junctionally isolated. This community also contains the largest proportion of sensory neurons (16 out of 27), and, as we will show below, stimulation of neurons within this community produces the most strongly synchronized, community-wide response pattern. This is consistent with our earlier analysis of the relationship between structural connectivity and global synchronization, where we found that a zero gap junction degree of the stimulated neuron corresponds to the highest global synchronization.
While the different neuronal types are not captured in our model equations (Eqs. (1)-(2)), their role might be partially encoded in the underlying structural connectome and, hence, in the arising FC. The community-wise composition of different neuronal types in both types of partitions is visualized through the pie charts shown in Fig 8C. Once again, we observe strong similarity between the two. In both cases, FC 1 is composed primarily of motor neurons. A substantial number of interneurons are present in FC 1, FC 2, FC 3, and FC 4. Most sensory neurons are grouped in FC 3, FC 5, and FC 2. FC 6 has the smallest community size and contains only 13 neurons in total. The rich-club neurons are primarily located in FC 1, FC 2, and FC 3 for both types of partitioning. The distributions of rich-club neurons [75] across the FCs for both partition types are presented in Table B of S1 Appendix.
Comparison of FCs with behavioral circuits
One of the central objectives of this study is to understand how the behavioral circuits in C. elegans relate to functional connectivity, which in turn we have shown to be largely shaped by the underlying gap junction structural connectivity in the context of our model. The neuronal circuits associated with five specific C. elegans behaviors are described in the Materials and Methods section. Locomotion, characterized by undulatory body movements, is classified into forward and backward modes depending on the direction of motion. The other behaviors correspond to different forms of sensory processing: chemosensation (odor, taste etc.), mechanosensation (gentle or harsh touch), and klinotaxis (navigation in salt gradients).
To reveal how these behaviors are functionally interconnected, Table 3 presents a comparison between the FCs and the behavioral circuits, showing how the neurons in the behavioral circuits map onto the different FCs. The FCs are mutually exclusive and exhaustive, comprising all 279 neurons, whereas the behavioral circuits are not exclusive and together include a total of 123 neurons. The remaining 156 neurons are not part of any of the behavioral circuits studied in this paper. Earlier, we demonstrated a strong similarity between the FCs in type I and type II. However, their differences become evident when we examine how neurons from the behavioral circuits are distributed across the FCs. In type I, most neurons involved in forward locomotion (22 out of 24) and backward locomotion (23 out of 31) are grouped into FC 1. In contrast, in type II, the majority of forward locomotion neurons shift to FC 2 (now 20 out of 24 neurons are in FC 2), while the backward locomotion neurons remain in FC 1. The distributions for the other behavioral circuits remain largely consistent across both types. As noted earlier, FC 4, FC 5, and FC 6 are identical in both partitions, so no differences are observed there. Thus, the key distinguishing feature between the two types of community partitions is whether the locomotor neurons are grouped within a single community (type I) or separated across different communities (type II) — the latter case becoming more prevalent if the number of functional communities is increased (see Fig E of S1 Appendix).
Another important point to understand is how distributed or concentrated the behavioral circuits are across the FCs. The forward and backward locomotion circuits are largely confined to a single FC, indicating a high degree of concentration. In contrast, the chemosensation circuit is spread across all six FCs (in both types), with its largest core located in FC 3. A similar pattern is observed for the mechanosensation circuit, although it shows only a small overlap with FC 6. The klinotaxis circuit is also distributed, spanning five FCs in type I and all six FCs in type II. Thus, compared to the locomotor circuits, which are highly localized, the sensory circuits (chemosensation, mechanosensation, and klinotaxis) are more widely distributed. Looking from the opposite perspective, the first three FCs contain neurons from all behavioral circuits (with FC 3 containing neurons from backward locomotion only). In contrast, the last three FCs include neurons exclusively from the sensory-driven circuits – chemosensation, mechanosensation, and klinotaxis.
Synchronization patterns in FCs
When a neuron is stimulated, it generates a system-wide response mediated through gap junctions and chemical synapses. Having already identified the FCs based on voltage-response correlations, we now examine how the FCs synchronize among themselves when the neurons of each FC are stimulated. For this purpose, we compute the inter-community Kuramoto order matrix R for each neuron stimulation case in every FC including all five current amplitudes (see Materials and Methods for details) and then calculate the average Kuramoto order matrix. Here, we present results only for the FCs in type I. Corresponding results for type II, which are qualitatively very similar, are provided in the Supplementary Materials (Figs C and D in S1 Appendix).
There are 14 susceptible neurons in FC 1 that elicit oscillatory responses when stimulated with specific external currents. In total, 19 current–neuron pairs in FC 1 generate such oscillatory behavior. For the remaining FCs, these numbers are: FC 2: 11 neurons and 17 current–neuron pairs, FC 3: 19 neurons and 37 pairs, FC 4: 18 neurons and 38 pairs, FC 5: 14 neurons and 49 pairs, FC 6: 2 neurons and 3 pairs. For each current–neuron pair, we compute a Kuramoto order matrix. We then average these matrices across all pairs within a given FC to obtain a single representative Kuramoto order matrix for that community. In this way, each FC is associated with one averaged Kuramoto order matrix reflecting the “typical” synchronization pattern elicited by its susceptible neurons.
In Fig 9, we show the averaged Kuramoto order matrices for the six FCs in type I. When neurons in FC 1, FC 2, and FC 3 are stimulated, the overall level of synchronization between FCs is relatively low (see panels A, B, and C of Fig 9), whereas stimulation of neurons in FC 4, FC 5, and FC 6 results in higher synchronization (see panels D, E, and F of Fig 9). The highest level of synchronization is observed when neurons in FC 5 are stimulated (Fig 9E). However, in all cases, FC 5 exhibits the lowest level of synchronization with the other FCs (fifth row and column in each panel of Fig 9). In other words, FC 5 elicits the most synchronized response overall, yet fails to synchronize effectively with the other communities.
Panels (A)-(F) correspond to stimulation of neurons in FC 1 through FC 6, respectively. The colorbar indicates the value of R, reflecting the degree of synchronization between pairs of FCs. The rank numbers in each matrix are assigned in decreasing order of R, where 1 denotes the highest level of synchronization and 21 denotes the lowest. Stimulation of neurons in the first three FCs results in relatively low synchronization across communities, whereas stimulation of neurons in the last three FCs produces higher overall synchrony. In all cases, FC 5 consistently shows the lowest level of synchronization with the other communities including itself.
This is expected based on our findings above. As noted previously, FC 5 is gap junctionally isolated from the rest of the FCs and connects to them only via chemical synapses. It also has very few gap junction connections among its own neurons. In fact, of the 14 susceptible neurons in this community, 12 have no gap junctions with any other neurons, and the remaining two are connected only to each other. Since gap junction connections promote synchronization of neuronal voltages through diffusive coupling, it is expected that neurons in FC 5, having the fewest gap junctions, exhibit the lowest level of synchronization.
Similarly, the reason why other communities become strongly synchronized when FC 5 neurons are stimulated lies again in the gap junction connectivity. Indeed, as we have shown before, neurons with a zero gap junction degree tend to elicit the highest level of synchronization in the network.
The fact that FC 5 induces the strongest synchronized response, and that FC 1 and FC 2 exhibit the highest levels of synchrony, is also reflected at an individual neuron stimulation level when we inspect the synchronization patterns through the lens of Louvain synchronous community detection method (as described in the Materials and Methods section). When a neuron is stimulated, this method determines whether two FCs are synchronous based on a predefined synchronization threshold (see Fig B in S1 Appendix where we vary
). We perform this analysis for all current–neuron pairs in all FCs, and the resulting patterns are summarized in Fig 10. In panel (a), these patterns are grouped according to the FC being stimulated. When stimulated, FC 5 produces a fully synchronized response (100% sync patterns), whereas FC 1 yields the most desynchronized response (80% async patterns), followed by FC 2 (69.2% async patterns). FC 3, in contrast, exhibits the highest proportion of mixed responses, with approximately 54% of its outcomes classified as chimera patterns (combining all mixed types). At the same time, the large number of different chimera patterns further indicates that FC-3 is endowed with a large dynamical flexibility, meaning the various stimuli can lead to different responses. FC 4 is the only community whose stimulation produces all three types of synchronization patterns (each greater than 10%), with approximately 41% sync, 23% async, and 36% chimera responses. FC 6 consistently produces a fixed chimera response for each stimulation; however, it contains only 13 neurons and 3 current–neuron pairs, making it of limited interest.
(A) Synchronization pattern types and their proportions for each FC when its neurons are stimulated. Each horizontal panel inside each FC represents a synchronization pattern; see Fig 6 and the accompanying text for details. (B) Average synchronization patterns: in the matrix, the i,j-th entry indicates the probability that the j-th FC becomes part of a synchronous group when the i-th FC is stimulated where i and j indicate the rows and columns, respectively. Here, we use
.
The information provided in Fig 10A can be represented more compactly by measuring the probability that a given FC belongs to a synchronous group (indicated in red) when neurons of another FC are stimulated. These probabilities are computed and presented in Fig 10B, where the i,j-th entry of the matrix represents the probability of the j-th FC of being a member of a synchronized group when the neurons of the i-th FC are stimulated. In other words, the matrix captures the column-wise response to row-wise stimulation. It also recapitulates the key observations: FC 5 drives the strongest synchronized response, while FC 1 and FC 2 exhibit the highest levels of synchrony when stimulated.
Synchronization patterns in behavioral circuits
Having established the properties of the emerging synchronization patterns in the FCs, we now turn to the synchronization patterns when viewed from the perspective of the behavioral circuits. In the forward locomotion circuit, there are 24 neurons, of which only 2 are susceptible neurons that generate oscillatory responses upon stimulation. Each of these neurons produces oscillations for just one of the five tested current amplitudes, resulting in only 2 current–neuron pairs for this circuit. For the other behavioral circuits, the numbers are as follows: backward locomotion contains 6 susceptible neurons with 8 current–neuron pairs; chemosensation has 18 susceptible neurons and 39 pairs; mechanosensation includes 14 susceptible neurons with 29 pairs; and klinotaxis comprises 5 susceptible neurons with 13 current–neuron pairs.
We stimulate the neurons in each behavioral circuit and compute the Kuramoto order matrix R between the circuits (see Materials and Methods for details). These values are averaged over all current–neuron pairs within each circuit, resulting in five averaged Kuramoto order matrices corresponding to the five behavioral circuits. The matrices are shown in Fig 11. Apparently, stimulation to the forward and backward locomotion circuits produces a comparatively lower level of synchronization than stimulation to the chemosensation, mechanosensation, and klinotaxis circuits (by stimulation of a given circuit, we specifically mean stimulation of the susceptible neurons within that circuit). Another notable observation is that the forward and backward locomotion circuits exhibit the highest level of synchronization across all circuit stimulations (first two rows and columns in each panel of Fig 11). In contrast, the chemosensation circuit shows the lowest level of synchronous response (third row and column in each panel of Fig 11). These observations are not as pronounced in Fig 11A, as it includes only two neuron stimulation cases as mentioned above.
Panels (A)–(E) correspond to stimulation of neurons in the forward locomotion, backward locomotion, chemosensation, mechanosensation, and klinotaxis circuits, respectively. The rank numbers in each matrix are assigned in decreasing order of R, where 1 denotes the highest level of synchronization and 15 denotes the lowest. Stimulation to the neurons of the locomotion circuits produces a low level of synchronization, whereas comparatively higher synchronization is observed when neurons in the chemosensation, mechanosensation, and klinotaxis circuits are stimulated.
We can now revisit the observations of the emergent synchronization patterns from the FC perspective and relate them to the behavioral circuits. Stimulation of FC 1 and FC 2 produced low levels of synchronization, similar to the responses observed for forward and backward locomotion stimulation. From Table 3, we see that FC 1 and FC 2 contain the largest number of neurons from the two locomotion circuits. Conversely, forward and backward locomotion circuits exhibit the highest levels of synchronous responses, mirroring the behavior of FC 1 and FC 2. In contrast, establishing a direct correspondence for the chemosensation, mechanosensation, and klinotaxis circuits is less straightforward, as these circuits are more distributed across multiple FCs compared to the concentrated locomotion circuits. From the synchronization patterns in Fig 11, we can infer that stimulating a behavioral circuit distributed across several FCs tends to produce a more synchronized response than stimulating a circuit concentrated in just a few FCs.
Next, we scrutinize the synchronization patterns in the behavioral circuits at the level of individual neuron stimulation. Using the Louvain synchronous community detection procedure described in the Materials and Methods, we determine whether a stimulated neuron causes a circuit to be synchronously grouped with other circuits. By aggregating all circuit-wise neuron stimulation cases, the results are presented in Fig 12. There is a clear predominance of desynchronized patterns for stimulation within the locomotion circuits (in forward locomotion, 50% async, 50% chimera). In contrast, all three synchronization patterns – sync, async, and chimera – are observed for stimulations in the chemosensation, mechanosensation, and klinotaxis circuits, with the highest proportion of synchronous patterns occurring during klinotaxis stimulation.
(A) Patterns of synchronization and their proportions in each behavioral circuits when its neurons are stimulated. Each horizontal panel inside each behavioral circuit represents a synchronization pattern; see Fig 6 and the accompanying text for details. (B) Corresponding average synchronization patterns. It denotes the probability of a circuit being a member of a synchronous group when some other circuit is stimulated. Here, we use a synchronization threshold .
Across all behavioral circuit stimulation conditions, the chemosensation circuit exhibits the lowest level of synchrony. From the synchronization patterns in Fig 12A, we observe that the chemosensation circuit is either synchronized with all other circuits or remains desynchronized; the latter case dominates, indicating that the chemosensation circuit is often not part of the synchronized group. This is also reflected in the average Kuramoto order matrices in Fig 11, where the weakest synchronization appears along the third row and column corresponding to the chemosensation circuit. Stimulation of the mechanosensation circuit yields the largest number of synchronization patterns and the highest fraction of chimera patterns (55%) with the largest diversity of chimera types (four) indicating a high degree of dynamical flexibility. Upon stimulation of other circuits, it also becomes synchronized with a varying probability (see the fourth column of Fig 12B).
Discussion
Anatomical connectivity (the connectome) provides the structural constraints [57] – the “wiring diagram” that bounds which pathways can, in principle, transmit and transform signals – whereas functional connectivity captures state-dependent interactions that actually shape neural dynamics during behavior [27,76] (e.g., strengths, signs, and temporal properties that are not determined by anatomy alone). In practice, behavior depends on both [28]: the same anatomical scaffold can support different dynamical regimes and stimulus responses, so comparing anatomical and functional connectivity is essential for identifying which structural motifs are actually recruited, and how. For the same reason, models and experiments must be pursued in parallel: experiments provide whole-brain measurements and targeted perturbations to define and validate effective interactions [65], while models convert those constraints into mechanistic hypotheses, sharpen causal predictions, and expose which additional measurements are necessary to disambiguate mechanisms [28]. Using an experimentally motivated computational model, we investigated how structural connectivity shapes functional properties and how these, in turn, relate to specific C. elegans behaviors.
Linking structure, function, and behavior in C. elegans
Although previous experimental studies have reported a weak relationship between anatomical and measured functional as well as signaling connectivity [13,14], other work has reached seemingly contrasting conclusions, reporting causal interactions between the two [17,21]. Nevertheless, it is broadly accepted that behavior emerges from structure and function [20,27,28]. We considered several well-known behavioral circuits and compared them with our FCs by examining their neuronal composition and synchronization patterns. The FCs are inferred from correlations between model-derived neuronal voltage responses, which are shaped by the underlying structural connectivity among neurons.
Structural influence on FCs.
Gap junctionally isolated neurons always emerged to be a key factor for a high level of global synchronization and eventually had an important role in the FC formation. A clear trend has been observed in which the global synchronization order Z is high when the gap junction degree of the stimulated neuron is zero or very low, and decreases as the degree of the gap junction increases (see Fig 7). It is also true that neurons with no gap junctions have the highest probability of eliciting global oscillations in the first place (i.e., of being susceptible), whereas neurons with very high gap junction degree are rarely susceptible (see Fig K of S1 Appendix). In contrast, we do not observe any clear trend for chemical synapse in-degree or out-degree, either in susceptibility (Fig K of S1 Appendix) or in the propensity to elicit globally in-phase responses (see Fig H in S1 Appendix). This disparity is also evident in the gap junction and chemical synapse connectivity among the FCs in Fig 8: Gap junction connections are largely confined within FCs (intra-community), whereas chemical synapses extend both within and across FCs (intra- and inter-community). In earlier studies, gap junctions have been reported to play a crucial role in C. elegans behaviors like locomotion [77], and in some cases dominate certain levels of sensory processing like the ‘hub-and-spoke’ pattern for the convergence of multiple head sensors to communicate via gap junctions onto a single interneuron [78]. On the other hand, sensory representations during olfactory responses have been shown to be independent of the chemical synaptic connections [79]. In our study, gap junctions emerge as a crucial factor for collective synchronous response, consistent with previous findings that demonstrated the role of gap junctions in synchronous neuronal activity [80], whereas chemical synapses are essential for generating the nonlinear neuronal activity analyzed here: While gap junctions primarily shape the correlation-based functional community structure through diffusive voltage coupling, chemical synapses provide the synaptic feedback required for the stimulation-induced oscillatory responses from which functional connectivity is inferred. This is further supported by using a binarized version of our connectome and another connectome dataset mentioned above [58] (see Table G in S1 Appendix), in which the connectivity differs only in the chemical synapses, while the gap junction connectivity remains unchanged. In addition, we derive FCs using this other connectome dataset which assigns synaptic polarity, excitatory or inhibitory, at the level of individual synapses rather than defining polarity solely based on the presynaptic neuron. We find that the locomotion circuits remain segregated and the sensory circuits remain distributed across these new FCs (see Table H in S1 Appendix). In other words, the functional organization of the behavioral circuits remains robust with respect to different proposed variants of the connectome, including those that consider the polarity of the synapses.
In the adult hermaphrodite C. elegans, neuronal cell bodies follow a stereotyped layout along the body axis, with dense ganglia at the head and tail connected by longitudinal nerve cords [1]. Sensory neurons are mostly positioned at the periphery in the head and tail, where they contact the environment; interneurons are concentrated in central ganglia around the nerve ring and along smaller midbody/tail ganglia, integrating multimodal inputs; and motor neurons are organized in repeating units along the ventral (and dorsal) nerve cords adjacent to body-wall muscles [57]. Together, this arrangement creates a compact but highly ordered sensorimotor architecture linking environmental inputs to motor outputs [81]. When we compare the FCs with the body positions of the neurons, we find that neurons in FC 1 are distributed along the entire body (see Fig G in S1 Appendix). This spatial spread is somewhat reduced, but still present, in FC 2 (neurons in FC 2 are more prominently distributed over the body in type II than in type I). By contrast, neurons in FC 3, FC 4, FC 5 and FC 6 are predominantly located near the head, with fewer neurons near the tail or midbody. It is well established that locomotor decision-making and control are primarily centered in the head (around the nerve ring), whereas the execution circuitry, notably the motor neurons, is distributed along the ventral nerve cord (and, via commissures, the dorsal nerve cord) down the body [3]. In our study, we found a strong one-to-one correspondence between FC 1 and FC 2 and the locomotion circuits, and this correspondence is further supported by the spatial distribution of the neurons.
FCs and behavioral circuits.
One motivation for focusing on meso-scale functional community structure is to enable direct comparisons between these communities and established behavioral circuits. We find that the forward and backward locomotion circuits are largely segregated into two FCs. In contrast, the chemosensation, mechanosensation, and klinotaxis circuits were distributed over the FCs. These observations are robust with the choice of number of communities. For each choice of number of FCs, comparison with the behavioral circuits showed that the locomotion circuits remained relatively segregated across FCs, whereas the sensory circuits were consistently more distributed. The main effect of changing the number of communities was on the relative frequency of two types of community partitions: type I, in which both the forward and backward locomotion circuits overlap largely with the same FC, and type II, in which the forward and backward locomotion circuits have their maximum overlap with two different FCs. When the number of communities is small, Type I is observed more frequently than Type II. As the number of communities is increased beyond six, Type II becomes more prevalent, which is expected since a larger number of communities can capture even slightly dissimilar dynamical features (see Fig E in S1 Appendix).
The sensory circuits – chemosensation, mechanosensation, and klinotaxis – are the most suitable targets for stimulation, in the sense that the resulting synchronization patterns are largely synchronous (see the average synchronization patterns in Fig 12B). On the other hand, the forward and backward locomotion circuits are less favorable stimulation targets for generating in-phase responses or synchronous response patterns (see panel A and B of Fig 11 and first two rows of Fig 12B), yet they exhibit the highest levels of synchronization when another circuit is stimulated (see the first two rows and columns of panel C-E in Fig 11 and first two columns in Fig 12B). The emergent synchronization patterns include all three types (async, chimera, sync) under stimulation of the sensory circuits (see Fig 12A), and the same holds for some of the FCs (see FC 2, FC 3 and FC 4 stimulation cases in Fig 10A where all three synchronization patterns are observed). This demonstrates the dynamical flexibility of the sensory circuits as well as some of the FCs derived from our study. In particular, our observations are consistent with previous studies. For example, the mechanosensation circuit includes neurons that encode gentle touch via touch receptor neurons (TRNs) and harsh touch via nociceptive neurons such as PVD, and it exhibits distinct response patterns depending on the stimulus type [53]. We have also found a large repertoire of response patterns upon stimulation of the mechanosensation circuit (see the fourth panel in Fig 12A). As another example, it has been experimentally established that the chemosensation circuit comprises diverse sensory neurons tuned to different odorants and tastants and therefore exhibits heterogeneous response patterns [42,79], whereas motor actions are often governed by comparatively simple, low-dimensional dynamics [12]. This contrast is also reflected in our model simulations: the chemosensation circuit typically exhibits an out-of-phase response with other circuits (see the third column of Fig 12B) and multiple response patterns upon its stimulation (see the chemosensation stimulation case in Fig 12A), whereas the responses of the locomotion circuits are mostly in-phase (first and second columns of Fig 12B) and the number of synchronization patterns is also limited (see the locomotion circuits stimulation cases in Fig 12A). Anatomically, the sensory circuits are connected to the locomotion circuits along feed-forward pathways [81]. This organization may explain why stimulation of the sensory circuits consistently leads to in-phase responses of the locomotor circuits, whereas the reverse is not observed. The distinction between sensory processing and behavioral motor output is also very important here when interpreting the relation between sensory circuits and locomotion. Taxis behaviors such as chemotaxis, klinotaxis, and mechanotaxis necessarily involve sensory processing (chemosensation, mechanosensation etc.) coupled to locomotor output, and the resulting motor response can be attractive or aversive depending on the stimulus and context [42,43,49,81]. Therefore, our analysis should be interpreted as comparing the synchronization properties of sensory-processing and locomotion-related circuit components, rather than as a complete model of the full sensorimotor transformations underlying each behavior.
Comparison with signaling communities.
How structural connectivity supports functional repertoire is a central question in biology. In this context, a brain-wide causal “signal propagation atlas” was recently obtained via direct optogenetic activation combined with simultaneous whole-brain calcium imaging [82]. This signaling network, consisting of 188 head neurons (including 20 pharyngeal neurons, which we exclude from our structural connectome data), has also been analyzed for its modular structure by optimally partitioning it into six signaling communities (SCs) [13]. Although a direct comparison is not feasible due to mismatches in neuron number and neuron types, we nevertheless find that the SCs are meaningfully different from the FCs analyzed in this study. Comparisons of these SCs with the FCs and with the behavioral circuits are presented in Tables C, and D of S1 Appendix, respectively. We also investigate the synchronization patterns within the SCs and present the results in Fig F of S1 Appendix. Factors such as polysynaptic chains and extrasynaptic signaling [83], which contribute to effective connections between neurons, are captured experimentally in the signal propagation atlas and are therefore reflected in the SCs, but they are absent in our model simulations. Nonetheless, our analysis remains valuable because it links specific C. elegans behaviors to FCs derived from a computational model, thereby providing insights in regimes where experimental evidence is still limited. Specifically, although simultaneous population recordings in C. elegans are now possible, obtaining comprehensive, brain-wide response patterns across diverse natural behaviors remains experimentally challenging [65,84]. Our method suggests that if a behavioral circuit spans across multiple FCs, then the whole-brain response upon stimulation to that circuit will be more in-phase compared to the stimulation to a behavioral circuit which is largely segregated to a single FC.
Linking synchronization patterns to neuron types
In our model, neuron types are not explicitly encoded in the dynamical equations and enter only through the structural connectome. Nevertheless, several features, such as how the identity of the stimulated neuron relates to the resulting response patterns, and which neurons exhibit the strongest in-phase responses, show a strong correspondence with particular neuron types. This motivates a closer inspection of the synchronization features and their possible relationship to neuron type. The sensory circuits contain a substantial fraction of sensory neurons: they constitute 57%, 53%, and 22% of the chemosensation, mechanosensation, and klinotaxis circuits, respectively. The higher synchronization observed upon stimulation of these circuits may therefore be related to their large sensory-neuron composition. Consistent with this, our functional community analysis showed that FC 5, which elicits the highest level of synchronization, also comprises 56% sensory neurons. To examine this more directly, we quantified the global synchronization order parameter Z under stimulation of different neuron types (see Fig I in S1 Appendix). We find that the median value of Z is highest for sensory-neuron stimulation (0.71), compared with 0.31, 0.51, and 0.20 for interneurons, motor neurons, and polymodal neurons, respectively. Moreover, an analysis of response patterns (sync, async, and chimera) by using the Louvain synchronous community detection method shows that sensory-neuron stimulation yields the largest fraction of fully synchronized outcomes (see Fig I in S1 Appendix). Together, these results provide strong evidence that stimulating sensory neurons promotes synchronized neuronal responses. However, it would be incorrect to infer a one-to-one correspondence between sensory-neuron content and a high level of synchronization. For example, FC 3 contains 36% sensory neurons, yet stimulation of FC 3 produces predominantly asynchronous responses (see Figs 9C and 10). Conversely, the klinotaxis circuit, despite containing only 22% sensory neurons, exhibits very high synchronization (see Figs 11E and 12). One can also observe that in all six averaged Kuramoto order matrices shown in Fig 9, overall FC 1 exhibits the highest level of synchrony, followed by FC 2. These two communities contain the largest proportions of motor neurons – 55% in FC 1 and 33% in FC 2. Similarly, the forward and backward locomotion circuits are made up of 29% and 68% motor neurons, respectively, and they respond most synchronously (see Figs 11 and 12). Combined with the observation that FC 5 as well as the chemosensation and mechanosensation circuits which are largely made up of sensory neurons, elicit strong synchronization, this again supports the notion of information processing along sensorimotor pathways, which are well established [81,85]. There may be possible relations between neuron type and structural features such as degree distributions etc. which we showed to affect the synchronization behavior (e.g., zero gap junction leading to high synchronization). Future work could explicitly incorporate neuron-type-specific properties in the model to directly examine how particular neuron types influence synchronization.
Synchronization of different motor neuron classes in the locomotion circuits
Because rhythmic undulatory locomotion involves coordinated activity across distinct motor neuron classes [38], we performed an additional class-level synchronization analysis on the motor neurons in our locomotion circuits including DA, VA, DB, and VB, along with the GABAergic DD, and VD neurons which were reported to be crucial in sustaining rapid dorsoventral alternation [67]; the results are provided in Fig J of S1 Appendix. This analysis shows that excitatory A- and B-class motor neurons exhibit relatively strong synchronization within their corresponding locomotor groups, whereas inhibitory D-class motor neurons show weaker synchronization with A- and B-class neurons and also among themselves. This result is broadly consistent with the known organization of the locomotor circuit, where A- and B-class motor neurons are primarily associated with backward and forward locomotion, respectively, while D-class GABAergic neurons contribute to inhibitory regulation of dorsoventral coordination [38,40,67]. At the same time, these findings should be interpreted cautiously, since experimental imaging studies have not yielded a single consistent picture of dorsoventral motor neuron dynamics: although dorsal and ventral motor neurons innervate antagonistic muscles and are often hypothesized to exhibit alternating, anti-phase activity during locomotion, calcium imaging of B-class dorsoventral motor neuron pairs has reported correlated activity [86], while other studies have reported different forms of correlated or alternating activity across motor-neuron classes along with several different hypotheses for locomotion [38,67,87]. Thus, our model-based synchronization patterns should not be interpreted as a direct reconstruction of the experimentally observed dorsoventral locomotor rhythm, but rather as a circuit-level indication of how different locomotor motor neuron classes functionally participate in locomotion.
Comparing model simulations and experimental observations
Our simulation results are broadly consistent with previous experimental and computational studies of the C. elegans nervous system. The dominant influence of gap junctions on functional community organization and global synchronization agrees with earlier reports linking electrical coupling to neuronal coherence, chimera-like dynamics, and coordinated locomotion [29,30,40,77]. Likewise, the relative segregation and stronger synchronous responses of locomotion circuits are consistent with evidence that locomotion is governed by a small set of neuronal classes exhibiting coordinated, low-dimensional activity [4,12,40,86]. In contrast, the broader distribution of sensory circuits across functional communities and their more diverse synchronization responses are consistent with the heterogeneous and stimulus-dependent nature of chemosensory and mechanosensory processing [42,53,79].
A key limitation of our study is that the mapping between “behavioral circuits” and the underlying biophysical substrates is only approximate, because circuit descriptions in C. elegans are inferred from a heterogeneous literature and remain incomplete wherever electrophysiological ground truth is sparse (e.g., uncertainties about synaptic sign and context dependence). At the same time, it should be noted that, our results remain robust both when synaptic signs are explicitly considered and when the locomotion circuits are expanded to include additional motor neurons. Apart from this, our in silico paradigm assumes that the network response to stimulation can be characterized under conditions analogous to whole-brain readout; however, simultaneously measuring all relevant neurons in vivo remains technically challenging, and typical whole-brain imaging often trades temporal resolution and signal fidelity for coverage. Relatedly, our simulations use constant external input currents to elicit and sustain oscillatory regimes, but implementing truly constant, cell-specific current injection at scale is generally not feasible experimentally, and common perturbation modalities (optogenetics, mechanostimulation) impose different input statistics and nonlinearities. Thus, in our model, the external current should be interpreted primarily as a control parameter that drives the system into different dynamical regimes, rather than as a direct experimentally realistic current-injection protocol. Finally, while our analysis emphasizes phase relationships (after normalization) and treats amplitude heterogeneity as secondary, experimental recordings may not reliably capture voltage amplitude variations across the entire network, since calcium signals are indirect, neuron-specific, and can saturate or compress dynamics – potentially obscuring amplitude-dependent effects that our model allows in principle.
Conclusion
Understanding how structural connectivity shapes brain function and behavior remains a fundamental and open question in neuroscience. In this study, we use a computational model to investigate how the structural connectome of C. elegans influences functional connectivity in silico. Building on this, we further explore how some well-known behaviors and their associated neuronal circuits relate to these underlying structural and functional properties. Our analysis revealed several key characteristics of the behavioral circuits and their relationship to structure and function, motivating the following hypotheses: (i) the locomotion circuits function largely independently yet synchronize robustly: their collective dynamics appear similar regardless of how input signals reach them or how they are stimulated; (ii) sensory circuits comprise multiple functional components and exhibit stronger, stimulus-dependent sensitivity; and (iii) neurons that are not connected by gap junctions could serve as organizers that elicit synchronized activity in downstream circuits. Testing these hypotheses experimentally by examining circuit- and neuron-level activity under targeted stimulation using whole-brain calcium imaging and complementary techniques, for example, remains an exciting challenge for the future.
Supporting information
S1 Appendix. Additional tables and figures.
The PDF contains the supplementary figures and tables.
https://doi.org/10.1371/journal.pcbi.1014152.s001
(PDF)
References
- 1. White JG, Southgate E, Thomson JN, Brenner S. The structure of the nervous system of the nematode Caenorhabditis elegans. Philos Trans R Soc Lond B Biol Sci. 1986;314(1165):1–340. pmid:22462104
- 2. Varshney LR, Chen BL, Paniagua E, Hall DH, Chklovskii DB. Structural properties of the Caenorhabditis elegans neuronal network. PLoS Comput Biol. 2011;7(2):e1001066. pmid:21304930
- 3.
Altun ZF, Herndon L, Wolkow C, Crocker C, Lints R, Hall D. WormAtlas. 2002. http://www.wormatlas.org
- 4. Towlson EK, Vértes PE, Yan G, Chew YL, Walker DS, Schafer WR, et al. Caenorhabditis elegans and the network control framework-FAQs. Philos Trans R Soc Lond B Biol Sci. 2018;373(1758):20170372. pmid:30201837
- 5. Haspel G, O’Donovan MJ. A perimotor framework reveals functional segmentation in the motoneuronal network controlling locomotion in Caenorhabditis elegans. J Neurosci. 2011;31(41):14611–23. pmid:21994377
- 6. Haspel G, O’Donovan MJ. A connectivity model for the locomotor network of Caenorhabditis elegans. Worm. 2012;1(2):125–8. pmid:24058836
- 7.
Kim J, Florman JT, Santos JA, Alkema MJ, Shlizerman E. Modular integration of neural connectomics, dynamics and biomechanics for identification of behavioral sensorimotor pathways in Caenorhabditis elegans. In: 2025. https://arxiv.org/abs/250418073
- 8. Kim J, Leahy W, Shlizerman E. Neural Interactome: Interactive Simulation of a Neuronal System. Front Comput Neurosci. 2019;13:8. pmid:30930759
- 9. Gleeson P, Lung D, Grosu R, Hasani R, Larson SD. c302: a multiscale framework for modelling the nervous system of Caenorhabditis elegans. Philos Trans R Soc Lond B Biol Sci. 2018;373(1758):20170379. pmid:30201842
- 10. Boyle JH, Berri S, Cohen N. Gait Modulation in C. elegans: An Integrated Neuromechanical Model. Front Comput Neurosci. 2012;6:10. pmid:22408616
- 11. Bryden J, Cohen N. Neural control of Caenorhabditis elegans forward locomotion: the role of sensory feedback. Biol Cybern. 2008;98(4):339–51. pmid:18350313
- 12. Kato S, Kaplan HS, Schrödel T, Skora S, Lindsay TH, Yemini E, et al. Global brain dynamics embed the motor command sequence of Caenorhabditis elegans. Cell. 2015;163(3):656–69. pmid:26478179
- 13. Dvali S, Seguin C, Betzel R, Leifer AM. Diverging Network Architecture of the C. elegans Connectome and Signaling Network. PRX Life. 2025;3(3).
- 14. Uzel K, Kato S, Zimmer M. A set of hub neurons and non-local connectivity features support global brain dynamics in C. elegans. Current Biology. 2022;32(16):3443–59.
- 15. Atanas AA, Kim J, Wang Z, Bueno E, Becker M, Kang D, et al. Brain-wide representations of behavior spanning multiple timescales and states in C. elegans. Cell. 2023;186(19):4134–51.
- 16. Dag U, Nwabudike I, Kang D, Gomes MA, Kim J, Atanas AA, et al. Dissecting the functional organization of the C. elegans serotonergic system at whole-brain scale. Cell. 2023;186(12):2574–92.
- 17. Creamer MS, Leifer AM, Pillow JW. Bridging the gap between the connectome and whole-brain activity in C. elegans. bioRxiv. 2025;:2024–09.
- 18. Morrison M, Young L-S. A data-driven biology-based network model reproduces C. elegans premotor neural dynamics. PLoS Comput Biol. 2025;21(12):e1013818. pmid:41460929
- 19. Morone F, Makse HA. Symmetry group factorization reveals the structure-function relation in the neural connectome of Caenorhabditis elegans. Nat Commun. 2019;10(1):4961. pmid:31672985
- 20. Avila B, Augusto P, Hashemi A, Phillips D, Gili T, Zimmer M, et al. Symmetries and synchronization from whole-neural activity in the Caenorhabditis elegans connectome: Integration of functional and structural networks. Proc Natl Acad Sci U S A. 2025;122(23):e2417850122. pmid:40455994
- 21. Kunert JM, Proctor JL, Brunton SL, Kutz JN. Spatiotemporal Feedback and Network Structure Drive and Encode Caenorhabditis elegans Locomotion. PLoS Comput Biol. 2017;13(1):e1005303. pmid:28076347
- 22. Yan G, Vértes PE, Towlson EK, Chew YL, Walker DS, Schafer WR, et al. Network control principles predict neuron function in the Caenorhabditis elegans connectome. Nature. 2017;550(7677):519–23. pmid:29045391
- 23. Towlson EK, Barabási A-L. Synthetic ablations in the C. elegans nervous system. Netw Neurosci. 2020;4(1):200–16. pmid:32166208
- 24. Flavell SW, Raizen DM, You Y-J. Behavioral States. Genetics. 2020;216(2):315–32. pmid:33023930
- 25. de Bono M, Maricq AV. Neuronal substrates of complex behaviors in C. elegans. Annu Rev Neurosci. 2005;28:451–501. pmid:16022603
- 26.
Hart AC. Behavior. WormBook: The Online Review of C elegans Biology. 2006. https://www.ncbi.nlm.nih.gov/books/NBK19734/
- 27. Flavell SW, Gordus A. Dynamic functional connectivity in the static connectome of Caenorhabditis elegans. Curr Opin Neurobiol. 2022;73:102515. pmid:35183877
- 28. Randi F, Leifer AM. Measuring and modeling whole-brain neural dynamics in Caenorhabditis elegans. Curr Opin Neurobiol. 2020;65:167–75. pmid:33279794
- 29. Pournaki A, Merfort L, Ruiz J, Kouvaris NE, Hövel P, Hizanidis J. Synchronization Patterns in Modular Neuronal Networks: A Case Study of C. elegans. Front Appl Math Stat. 2019;5.
- 30. Hizanidis J, Kouvaris NE, Zamora-López G, Díaz-Guilera A, Antonopoulos CG. Chimera-like States in Modular Neural Networks. Sci Rep. 2016;6:19845. pmid:26796971
- 31. Liu Q, Hollopeter G, Jorgensen EM. Graded synaptic transmission at the Caenorhabditis elegans neuromuscular junction. Proc Natl Acad Sci U S A. 2009;106(26):10823–8. pmid:19528650
- 32. Gao S, Zhen M. Action potentials drive body wall muscle contractions in Caenorhabditis elegans. Proc Natl Acad Sci U S A. 2011;108(6):2557–62. pmid:21248227
- 33. Jiang J, Su Y, Zhang R, Li H, Tao L, Liu Q. C. elegans enteric motor neurons fire synchronized action potentials underlying the defecation motor program. Nat Commun. 2022;13(1):2783. pmid:35589790
- 34. Kunert J, Shlizerman E, Kutz JN. Low-dimensional functionality of complex network dynamics: neurosensory integration in the Caenorhabditis Elegans connectome. Phys Rev E Stat Nonlin Soft Matter Phys. 2014;89(5):052805. pmid:25353842
- 35. Kunert-Graf JM, Shlizerman E, Walker A, Kutz JN. Multistability and Long-Timescale Transients Encoded by Network Structure in a Model of C. elegans Connectome Dynamics. Front Comput Neurosci. 2017;11:53. pmid:28659783
- 36. Avila B, Serafino M, Augusto P, Zimmer M, Makse HA. Fibration symmetries and cluster synchronization in the Caenorhabditis elegans connectome. PLoS One. 2024;19(4):e0297669. pmid:38598455
- 37. Betzel RF, Medaglia JD, Bassett DS. Diversity of meso-scale architecture in human and non-human connectomes. Nat Commun. 2018;9(1):346. pmid:29367627
- 38. Gjorgjieva J, Biron D, Haspel G. Neurobiology of Caenorhabditis elegans Locomotion: Where Do We Stand?. Bioscience. 2014;64(6):476–86. pmid:26955070
- 39. Olivares EO, Izquierdo EJ, Beer RD. Potential role of a ventral nerve cord central pattern generator in forward and backward locomotion in Caenorhabditis elegans. Netw Neurosci. 2018;2(3):323–43. pmid:30294702
- 40. Zhen M, Samuel ADT. C. elegans locomotion: small circuits, complex functions. Curr Opin Neurobiol. 2015;33:117–26. pmid:25845627
- 41.
Bargmann CI. Chemosensation in C. elegans. WormBook: The online review of C elegans biology. 2006. http://www.wormbook.org
- 42. Luo L, Wen Q, Ren J, Hendricks M, Gershow M, Qin Y, et al. Dynamic encoding of perception, memory, and movement in a C. elegans chemotaxis circuit. Neuron. 2014;82(5):1115–28. pmid:24908490
- 43. Sengupta P. Generation and modulation of chemosensory behaviors in C. elegans. Pflugers Arch. 2007;454(5):721–34. pmid:17206445
- 44. Bargmann CI, Horvitz HR. Chemosensory neurons with overlapping functions direct chemotaxis to multiple chemicals in C. elegans. Neuron. 1991;7(5):729–42. pmid:1660283
- 45. Pirri JK, Alkema MJ. The neuroethology of C. elegans escape. Curr Opin Neurobiol. 2012;22(2):187–93. pmid:22226513
- 46. Campbell JC, Chin-Sang ID, Bendena WG. Mechanosensation circuitry in Caenorhabditis elegans: A focus on gentle touch. Peptides. 2015;68:164–74. pmid:25543196
- 47. Li W, Kang L, Piggott BJ, Feng Z, Xu XZS. The neural circuits and sensory channels mediating harsh touch sensation in Caenorhabditis elegans. Nat Commun. 2011;2:315. pmid:21587232
- 48. Schafer WR. Mechanosensory molecules and circuits in C. elegans. Pflugers Arch. 2015;467(1):39–48. pmid:25053538
- 49. Izquierdo EJ, Beer RD. Connecting a connectome to behavior: an ensemble of neuroanatomical models of C. elegans klinotaxis. PLoS Comput Biol. 2013;9(2):e1002890. pmid:23408877
- 50. Izquierdo EJ, Lockery SR. Evolution and analysis of minimal neural circuits for klinotaxis in Caenorhabditis elegans. J Neurosci. 2010;30(39):12908–17. pmid:20881110
- 51. Chen M, Feng D, Su H, Su T, Wang M. Neural model generating klinotaxis behavior accompanied by a random walk based on C. elegans connectome. Sci Rep. 2022;12(1):3043. pmid:35197494
- 52. Ferkey DM, Sengupta P, L’Etoile ND. Chemosensory signal transduction in Caenorhabditis elegans. Genetics. 2021;217(3):iyab004. pmid:33693646
- 53. Goodman MB, Sengupta P. How Caenorhabditis elegans Senses Mechanical Stress, Temperature, and Other Physical Stimuli. Genetics. 2019;212(1):25–51. pmid:31053616
- 54. Bansal K, Garcia JO, Tompson SH, Verstynen T, Vettel JM, Muldoon SF. Cognitive chimera states in human brain networks. Sci Adv. 2019;5(4):eaau8535. pmid:30949576
- 55. Patton A, Davidsen J. Changing cognitive chimera states in human brain networks with age: Variations in cognitive integration and segregation. PLoS Comput Biol. 2025;21(9):e1013093. pmid:40892961
- 56. Majhi S, Bera BK, Ghosh D, Perc M. Chimera states in neuronal networks: A review. Phys Life Rev. 2019;28:100–21. pmid:30236492
- 57. Cook SJ, Jarrell TA, Brittin CA, Wang Y, Bloniarz AE, Yakovlev MA, et al. Whole-animal connectomes of both Caenorhabditis elegans sexes. Nature. 2019;571(7763):63–71. pmid:31270481
- 58. Fenyves BG, Szilágyi GS, Vassy Z, Sőti C, Csermely P. Synaptic polarity and sign-balance prediction using gene expression data in the Caenorhabditis elegans chemical synapse neuronal connectome network. PLoS Comput Biol. 2020;16(12):e1007974. pmid:33347479
- 59. Lanza E, Di Angelantonio S, Gosti G, Ruocco G, Folli V. A recurrent neural network model of C. elegans responses to aversive stimuli. Neurocomputing. 2021;430:1–13.
- 60. Piggott BJ, Liu J, Feng Z, Wescott SA, Xu XZS. The neural circuits and synaptic mechanisms underlying motor initiation in C. elegans. Cell. 2011;147(4):922–33. pmid:22078887
- 61. Rakowski F, Srinivasan J, Sternberg PW, Karbowski J. Synaptic polarity of the interneuron circuit controlling C. elegans locomotion. Front Comput Neurosci. 2013;7:128. pmid:24106473
- 62. Swierczek NA, Giles AC, Rankin CH, Kerr RA. High-throughput behavioral analysis in C. elegans. Nat Methods. 2011;8(7):592–8. pmid:21642964
- 63. Chronis N, Zimmer M, Bargmann CI. Microfluidics for in vivo imaging of neuronal and behavioral activity in Caenorhabditis elegans. Nat Methods. 2007;4(9):727–31. pmid:17704783
- 64. Husson SJ, Gottschalk A, Leifer AM. Optogenetic manipulation of neural activity in C. elegans: from synapse to circuits and behaviour. Biol Cell. 2013;105(6):235–50. pmid:23458457
- 65. Nguyen JP, Shipley FB, Linder AN, Plummer GS, Liu M, Setru SU, et al. Whole-brain calcium imaging with cellular resolution in freely behaving Caenorhabditis elegans. Proc Natl Acad Sci U S A. 2016;113(8):E1074-81. pmid:26712014
- 66. Fang-Yen C, Gabel CV, Samuel ADT, Bargmann CI, Avery L. Laser microsurgery in Caenorhabditis elegans. Methods Cell Biol. 2012;107:177–206. pmid:22226524
- 67. Deng L, Denham JE, Arya C, Yuval O, Cohen N, Haspel G. Inhibition Underlies Fast Undulatory Locomotion in Caenorhabditis elegans. eNeuro. 2021;8(2):ENEURO.0241-20.2020. pmid:33361147
- 68. Haspel G, Severi KE, Fauci LJ, Cohen N, Tytell ED, Morgan JR. Resilience of neural networks for locomotion. J Physiol. 2021;599(16):3825–40. pmid:34187088
- 69. Wicks SR, Roehrig CJ, Rankin CH. A dynamic network simulation of the nematode tap withdrawal circuit: predictions concerning synaptic function using behavioral criteria. J Neurosci. 1996;16(12):4017–31. pmid:8656295
- 70. Aicher C, Jacobs AZ, Clauset A. Learning latent block structure in weighted networks. Journal of Complex Networks. 2014;3(2):221–48.
- 71. Aicher C, Jacobs AZ, Clauset A. Adapting the stochastic block model to edge-weighted networks. arXiv preprint. 2013.
- 72.
Clauset A. The weighted stochastic block model. https://aaronclauset.github.io/wsbm/
- 73. Mucha PJ, Richardson T, Macon K, Porter MA, Onnela J-P. Community structure in time-dependent, multiscale, and multiplex networks. Science. 2010;328(5980):876–8. pmid:20466926
- 74.
Jeub LGS, Bazzi M, Jutla IS, Mucha PJ. A generalized Louvain method for community detection implemented in MATLAB. 2019. GitHub repository. 2011–9. https://github.com/GenLouvain/GenLouvain
- 75. Towlson EK, Vértes PE, Ahnert SE, Schafer WR, Bullmore ET. The rich club of the C. elegans neuronal connectome. J Neurosci. 2013;33(15):6380–7. pmid:23575836
- 76. Menara T, Baggio G, Bassett D, Pasqualetti F. Functional control of oscillator networks. Nat Commun. 2022;13(1):4721. pmid:35953467
- 77. Hall DH. Gap junctions in C. elegans: Their roles in behavior and development. Dev Neurobiol. 2017;77(5):587–96. pmid:27294317
- 78. Macosko EZ, Pokala N, Feinberg EH, Chalasani SH, Butcher RA, Clardy J, et al. A hub-and-spoke circuit drives pheromone attraction and social behaviour in C. elegans. Nature. 2009;458(7242):1171–5. pmid:19349961
- 79. Lin A, Qin S, Casademunt H, Wu M, Hung W, Cain G, et al. Functional imaging and quantification of multineuronal olfactory responses in C. elegans. Sci Adv. 2023;9(9):eade1249. pmid:36857454
- 80. Choi U, Wang H, Hu M, Kim S, Sieburth D. Presynaptic coupling by electrical synapses coordinates a rhythmic behavior by synchronizing the activities of a neuron pair. Proc Natl Acad Sci U S A. 2021;118(20):e2022599118. pmid:33972428
- 81. Kaplan HS, Nichols ALA, Zimmer M. Sensorimotor integration in Caenorhabditis elegans: a reappraisal towards dynamic and distributed computations. Philos Trans R Soc Lond B Biol Sci. 2018;373(1758):20170371. pmid:30201836
- 82. Randi F, Sharma AK, Dvali S, Leifer AM. Neural signal propagation atlas of Caenorhabditis elegans. Nature. 2023;623(7986):406–14. pmid:37914938
- 83. Bentley B, Branicky R, Barnes CL, Chew YL, Yemini E, Bullmore ET, et al. The Multilayer Connectome of Caenorhabditis elegans. PLoS Comput Biol. 2016;12(12):e1005283. pmid:27984591
- 84. Goodman MB, Lindsay TH, Lockery SR, Richmond JE. Electrophysiological methods for Caenorhabditis elegans neurobiology. Methods Cell Biol. 2012;107:409–36. pmid:22226532
- 85. Kim S, Kim H, Kralik JD, Jeong J. Vulnerability-Based Critical Neurons, Synapses, and Pathways in the Caenorhabditis elegans Connectome. PLoS Comput Biol. 2016;12(8):e1005084. pmid:27540747
- 86. Haspel G, O’Donovan MJ, Hart AC. Motoneurons dedicated to either forward or backward locomotion in the nematode Caenorhabditis elegans. J Neurosci. 2010;30(33):11151–6. pmid:20720122
- 87. Wen Q, Po MD, Hulme E, Chen S, Liu X, Kwok SW, et al. Proprioceptive coupling within motor neurons drives C. elegans forward locomotion. Neuron. 2012;76(4):750–61. pmid:23177960