## Figures

## Abstract

Complex network dynamics have been analyzed with models of systems of coupled switches or systems of coupled oscillators. However, many complex systems are composed of components with diverse dynamics whose interactions drive the system's evolution. We, therefore, introduce a new modeling framework that describes the dynamics of networks composed of both oscillators and switches. Both oscillator synchronization and switch stability are preserved in these heterogeneous, coupled networks. Furthermore, this model recapitulates the qualitative dynamics for the yeast cell cycle consistent with the hypothesized dynamics resulting from decomposition of the regulatory network into dynamic motifs. Introducing feedback into the cell-cycle network induces qualitative dynamics analogous to limitless replicative potential that is a hallmark of cancer. As a result, the proposed model of switch and oscillator coupling provides the ability to incorporate mechanisms that underlie the synchronized stimulus response ubiquitous in biochemical systems.

**Citation: **Francis MR, Fertig EJ (2012) Quantifying the Dynamics of Coupled Networks of Switches and Oscillators. PLoS ONE 7(1):
e29497.
https://doi.org/10.1371/journal.pone.0029497

**Editor: **Matjaz Perc, University of Maribor, Slovenia

**Received: **October 4, 2011; **Accepted: **November 29, 2011; **Published: ** January 5, 2012

**Copyright: ** © 2012 Francis, Fertig. 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.

**Funding: **This work was sponsored by the National Cancer Institute (CA141053). 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

The dynamics in systems ranging from intercellular gene regulation to organogenesis are driven by complex interactions (represented as edges) in subcomponents (represented as nodes) in networks. If the structure of these networks is known, network-wide models of coupled systems have been applied to predict their qualitative dynamics. For example, models of coupled switches based upon Glass networks [1] have been applied to model systems such as neuronal synapses [2] and gene regulatory networks [3]. Similarly, models of coupled oscillators along networks based upon the Kuramoto model [4] have been used to model synchronization of oscillators in diverse systems reviewed in [5]. In biochemical systems, *in vivo* oscillator synchronization has been observed in synthetic oscillatory fluorescent bacteria [6], [7], yeast gene regulatory networks [8], [9], and human cell fate decisions [10]. Such spontaneous synchronization has also been attributed to the development of the mammalian cardiac pacemaker cells (reviewed in [11]) and cortical systems (reviewed in [12]) including notably the circadian pacemaker (e.g., [13]). More recently, these network models have been found to be insufficient to model more complex dynamics in neuronal information transfer [12], [14]–[17] and cardiac arrhythmias [18]–[21]. These limitations extend to physical systems, such as the coupled lasers studied in [22]. Therefore, numerous studies have modified these network models to account for evolving networks [15], [23]–[28], dynamic frequencies [15], [29], [30], or phase delays [16], [31]–[33]. However, these mathematical modifications typically do not encode the mechanism underlying the limitations in the Kuramoto and Glass network models.

We hypothesize that the observed limitations in the standard Kuramoto and Glass models arise from their exclusion of coupling components with qualitatively different dynamics. Several studies have inferred that biochemical systems contain “network motifs” with both oscillatory and switch-like dynamics [34], [35]. The dynamics of these motifs are inferred from the topology of subgraphs in the networks of these systems. Their structures are statistically overrepresented in biochemical networks [36], [37] such as intracellular regulatory networks [38], implicating evolutionary preservation (and thus utility) of these network motifs [39]. The dynamics of these motifs have been used to model yeast cell cycle regulation [40] and have been further confirmed in synthetic, designed biochemical circuits (reviewed in [41]). Because these heterogeneous network motifs are all identified as components within a single biochemical network, their interactions must drive the global dynamics of the network [42]. Previously, [43] have shown that coupling small sets of heterogeneous network motifs ensures the robustness of motif dynamics and [42] have shown that coupling networks changes their dynamics in isolation. However, the network-level dynamics that result from coupling oscillatory and switch-like components have not been studied comprehensively.

In this paper, we develop a theoretical framework to quantify the network-wide dynamics resulting from coupling switches and oscillators. This model is based upon introducing cross-coupling between the Kuramoto and Glass models, due to their wide success in modeling the dynamics in networks of oscillators and networks of switches, respectively. Simulations with the proposed model across state-space in an all-to-all network yields four operational states: (1) switches remain “on” and oscillators synchronize, (2) switches are “off” and oscillators freeze, (3) switches fluctuate in sync with oscillators, and (4) switches fluctuate transitionally until oscillators freeze. Further application of our model to the network motifs identified in yeast in [44] recapitulates the qualitative dynamics of the system observed in that study. However, a simple rewiring of this cell-cycle network that introduces feedback causes a cancer-like sustained re-activation of the cell cycle machinery without regard for external signal growth signals. These dynamics suggest that modeling cross-motif coupling may predict critical processes in the dynamics of biochemical networks with minimal parameterization.

### The Kuramoto model of coupled oscillators

Quantitative studies of coupled oscillators often apply the Kuramoto model of oscillators coupled in an all-to-all network. In this model, the change in time of the phase of the oscillator, , is governed by(1)where is the natural frequency of the oscillator and is the coupling strength of the oscillators [4]. Typically, the values are drawn from a normal distribution centered at 0 with variance .

In the Kuramoto model, the phases of the oscillators will synchronize if is above a threshold coupling strength . Such synchronization is quantified with the mean field of the oscillators as(2)Here is the average phase of the oscillators and the coherence represents the spread of the oscillators from that average phase. Based upon eq. (2), if each and if the values of are distributed uniformly between [45].

### Glass networks of coupled switches

Coupled sets of switches, which adopt one of a set of binary states, are modeled with Glass networks [1]. These models describe the evolution of the switch () as follows(3)(4)where represents the change in time of the value of each , which are unobservable continuous variables that control the time of switching between observable, discrete states in . In this model, describes the change in state of the switch due to the coupling with the other switches in the network [1]. In specified network structures and functions , such Glass networks can exhibit complex dynamics, including periodic and aperiodic orbits (e.g., [46]).

One type of Glass network, called a Hopfield network [2], has dynamics applicable to the smooth-decay of signal in biochemical switches [2]. The Hopfield model lets(5)where takes values between and representing the relative strength of the connection between switches and , is the magnitude of coupling strengths, and the threshold for switch activation. Similar to the Kuramoto model, sets of the switches will synchronize for above a threshold in appropriate network topologies.

## Results

### Network model of coupled oscillators and switches

By combining the established models for switches and oscillators, we model the dynamics of the heterogeneous system of coupled switches and oscillators in systems including biochemical networks with the following set of equations:(6)(7)Here, eq. (6) is analogous to the Glass network in eq. (3) and is defined according to eq. (4).

In this study, we explore a case of the switch-oscillator model in eqs. (6) and (7) which contains an all-to-all network that couples the Kuramoto model, eq. (1), and Hopfield network, eqs. (3)–(5), as follows(8)(9)(10)where and are cross-component coupling strengths. In eq. (10), is the time-varying frequency of the oscillator resulting from switch coupling, with initial values , and(11)In this system, zero values of the cross-coupling parameters and cause the model to reduce to the standard uncoupled Kuramoto and Hopfield models. Similar decoupling of the models occurs if the switch and oscillator systems are at vastly different timescales, determined by the and parameters, respectively. The transformation in eq. (11) facilitates comparable switch-like dynamics in the oscillators when they interact with switches in eq. (8). Nonzero switch-oscillator () interactions will cause an oscillator in the “up” part () of its cycle to feed energy into the switch in question, nudging it towards the “on” state if off or delaying its decay if already on. Similarly, an “on” switch with a nonzero oscillator-switch interaction () will feed energy into the oscillators causing them to cycle at their natural frequency if coupled to that switch.

By thus incorporating coupling between switches and oscillators within the framework established by the standard Kuramoto and Hopfield models, the dynamics of our model in eqs. (8)–(10) can be analyzed within the framework of these well established models. Similar to analysis of the Kuramoto model and Glass network, we summarize the dynamics of our system using order parameters. For oscillators, we utilize the order parameter defined in eq. (2). We introduce a new order parameter(12)that tracks how closely each individual oscillator's frequency corresponds to the natural frequency . Analogously, we measure the fraction of switches that are in the “on” position at a given time using a switch-switch order parameter defined by(13)Both of these functions will have a maximum of 1 when all switches are on, and minimum 0 if all switches are off.

### Simulation results in all-to-all networks

We first explore the qualitative dynamics of the heterogeneous system through numerical simulations in all-to-all networks. We limited these simulations to all-to-all networks, because of the ability of this network topology to describe the qualitative dynamics from the Kuramoto model. These simulations explore the majority of parameter space defined by , , , , and . Specifically, we select to ensure that switches are able to turn off without appropriate stimulation from the oscillators. We consider the effects of switches on oscillators for values of both above and below the Kuramoto threshold . Figure 1 plots the time-dependent order parameters observed in the four qualitative states observed in simulations of the coupled model eqs. (8)–(10) that are reflective of the qualitative dynamics observed in simulations with these parameter values. Movies S1– S4 further summarize the results of these simulations. We note that these four states were the only qualitative states observed for our coupled model in all-to-all networks simulated according to the description in the Methods section. Because , , and all control the relative timing of switches and oscillators, their values were selected in these simulations to optimize visualization in the supplemental videos. When exploring the effect of timing on the system dynamics, we hold and fixed while varying . Figure 2 shows the probability of observing the states in Figures 1(a)–1(c) in 100 simulations of all-to-all systems containing 100 switches and oscillators as a function of and . Because of their common control of system timing, we would obtain comparable distributions when varying either or instead of .

In all figures, top-panel shows temporal evolution of the mean field statistics ( black, solid; green, dashed; and blue, dash-dotted) and the bottom-panel shows the evolution of the mean phase (red, solid). (a) Oscillators synchronize and switches stay “on” (, , , , and ), (b) oscillators freeze (as evidenced by unchanging ) and switches stay “off” (, , , , and ), (c) oscillators synchronize and switches oscillate (, , , , and ), and (d) transitory oscillations in oscillators and switches (, , , , and ).

In (a) oscillators synchronize and switches are “on”, in (b) oscillators freeze and switches are “off”, and in (c) switches vary with oscillators vs for (solid), (dotted) and (dashed). , , and .

### The coupled system preserves synchronization in both oscillators and switches

Figure 1(a) shows a state of the model in which the switches are all in the “on” state and oscillators are synchronized ( near 1, near 1, and oscillating between periodically). While such synchronization is observed in the uncoupled Hopfield and Kuramoto models, the oscillator-switch cross coupling extends the region of parameter space over which this synchronization occurs. Specifically, modest values of can induce sustained switch activity for parameter values of in which switches would decay in the uncoupled system. Furthermore, this switch synchronization will occur for all values of in which synchronization occurs in the uncoupled Hopfield model (i.e., all larger than a threshold value ) because the oscillators only contribute positively to the derivative in eq. (8) in our model. On the other hand, no value of will cause oscillator phases to synchronize if is below the critical coupling parameter for the pure Kuramoto model (). However, there are parameter regimes in which this synchronization occurs stochastically, depending on the initial values selected for , , and (Figure 2(a)). In these cases, the average decrease in oscillator natural frequencies caused by decreasing or will increase the effective period of oscillators, thereby increasing the probability of switches being locked in the “on” state and oscillator synchronization in the heterogeneous system.

### Coupling switches to unsynchronized oscillators can freeze network-wide dynamics

Figure 1(b) depicts a model state in which switches are all “off” ( near zero) and oscillators “freeze”: each for some constant values for all beyond the preliminary freezing time . While the decaying switches are observed in an uncoupled Hopfield model, the freezing oscillators cannot be simulated in the uncoupled Kuramoto model. Such oscillator freezing will occur whenever the oscillators decay to the “off” state by virtue of the coupling of the oscillators to switches through the in eq. (10). Specifically, this frozen state can occur whenever depending on the values of , , and . However, the probability of selecting these initial states is decreased when the heterogeneity of the oscillators increases through incomplete synchronization () or increased (Figure 2(b)). In these cases, a single oscillator in the “up” phase () can contribute positively to the switch states, forcing the system out of this frozen state. The probability of obtaining this frozen model state further depends on the relative timing of switch decay and oscillator freezing. Specifically, the probability of obtaining the frozen state decreases with the average oscillator frequency, determined predominantly by the parameter (Figure 2(b)).

### Coupling switches to synchronized oscillators can induce synchronized oscillations in switches

An additional consequence of coupling switches and oscillators in a state in which switches vacillate between all “on” and all “off” along with the synchronized oscillator frequency (Figure 1(c)). This oscillatory synchronization occurs when the pure Hopfield model would turn switches “off” (), the pure Kuramoto model would induce oscillator synchronization (), and the timing between the oscillators and switches are balanced such that the average period of the coupled oscillators is slightly less than the average decay time of the system of switches. Figure 2(c) shows that this balance in switch-oscillator timescales increases with decreasing and depends non-monotonically on . As we see in the plot of in Figure 1(c), the average oscillator natural frequencies will decrease towards the end of the “down” phase in response to switches turning off, and then increase to their full natural values in the “up” phase as switches turn back “on”. Therefore, if synchronized oscillator period is too slow (i.e., is too large), the system will tend to be locked in the “on” state (Figure 2(a)); if too fast (i.e., too small) the system will tend to be locked in the “off” state (Figure 2(b)).

### Synchronization of network-wide oscillations may be transitory

Oscillatory behavior in the switches is also observed for unsynchronized oscillators () as depicted in Figure 1(d). In this case, the value of must be large enough to enable switches to freeze the oscillators' phases. However, because the oscillators are uncoupled, a small subset of oscillators in the “up” phase can drive the switches to turn on for large-enough values of . These switch oscillations are transitory, ending when at last the switch coupling dominates the system and induces all of the oscillators to freeze. For unsynchronized oscillators in the parameter range of Figure 1(d), the transitional oscillations in the switch state occurs regularly in 21 of 100 simulations. In 8 of these 21 simulations, the switch state turns “on” after decaying at least twice. More rarely, transitory changes in switch state may be induced by a similar mechanism in simulations for which and switches ultimately settle on the all “on” or all “off” states.

### System size affects the distribution of qualitative dynamics

We also explored the dynamics of the coupled system for networks of sizes ranging from to nodes, described in the methods. For networks of all sizes, we observe that the dynamics of the system was limited to the four qualitative behaviors observed for networks of size depicted in Figure 1. However, the system size does have a notable effect on the frequency with which each of these behaviors occurs. The figures in Figures S1, S2, and S3 plot the observed frequencies for each of the network sizes as a function of the and values considered in Figure 2.

When , the observed frequencies of the system states depend most strongly on network size in simulations using the smallest value of is also small (Figure S1). In this case, the probability of observing the system with synchronized oscillatory dynamics in both switches and oscillators decays as the network grows. Both the state in which the switches are on and oscillators are synchronized and the state in which the switches are off and oscillators are frozen have with compensatory increases in probability (Figure 3). The relative probability of obtaining the frozen state increases, with notable decay in the probability of obtaining the state in which switches are “on” and oscillators are synchronized in large networks.

** and ****.** Percentage of simulations in which the qualitative dynamics have switches off and oscillators frozen (blue, solid), switches on and oscillators synchronized (green, dashed), and oscillatory switches and synchronized oscillators (red, dotted).

On the other hand, when , the system size has the greatest influence on the resulting dynamics for large values of (Figure S3). In this case, the system changes from containing mostly switches in the on state and synchronized oscillators to switches that are entirely in the “frozen” state for large network sizes (Figure 4). We hypothesize that the system is forced into the frozen state in larger networks because of increased oscillator synchronization in large networks. Therefore, small networks would have a higher probability of having few oscillators that are unsynchronized and in the “up” phase (), causing the switches to turn “on” () due to the structure of eq. (8) as was discussed previously. Furthermore, the rare oscillations observed in both switches and oscillators when occur only when the network is small. Intermediate values of show similar changes to those described for when and to those described for when (Figure S2).

** and ****.** Percentage of simulations with qualitative dynamics plotted as described in Figure 3.

### The heterogeneous network models qualitative dynamics of the yeast cell cycle derived from network motifs

Previous work by [47] make the cell cycle processes controlling mitotic division of fission yeast *Schizosaccharomyces pombe* cells provides an optimal system in which to apply our model. The biochemical reactions responsible for driving the cell cycle are well understood and the resulting dynamics in each of the stages of the cell cycle have been characterized extensively in [40], [44], [47]. The cell cycle machinery in mitosis is divided into four, sequential stages: phase 1 is a gap or rest phase (G1); phase 2 is a DNA synthesis stage (S); phase 3 is an additional gap stage (G2); and phase 4 is the mitotic division stage (M). Previously, [47] observed that the dynamics of the yeast cell cycle can be divided into three sequentially interacting modules, triggered by a signal based upon cell size: (1) G1/S transitions with a toggle-switch, (2) S/G2 transitions with a toggle-switch, and (3) G2/M transitions with an oscillator. Although the specific timing differs from [47], we observe similar qualitative dynamics to that observed in [47] when applying our heterogeneous model to evolve the state of these cell cycle stages (Figure 5) as described in the Methods section. We note that the response in this system is consistent with the transitory oscillations observed in Figure 1(d) in the case of all-to-all coupling. We also modeled this cell-cycle system in a rewired-network, in which the G2/M transitions feedback into G1/S (Figure 6). In this case, we observe sustained reactivation of the cell cycle regardless of the external signal. These dynamics are analogous to the synchronized dynamics in Figure 1(c) and consistent with cell growth arising from re-wiring biochemical reactions in cancer cells [48].

Evolution of the states of the cell cycle modules (G1/S top, green dashed; S/G2 top, red dotted; G2/M bottom, black) in response to an external stimulus to initiate the cell cycle (top, blue solid).

As for Figure 5 with a network topology linking the G2/M module to the G1/S module.

## Discussion

Our model of coupled switches and oscillators in all-to-all networks demonstrates that networks with components having heterogeneous dynamics can exhibit synchronization similar to that observed in homogeneous systems. As is the case in homogeneous models (e.g., [49]–[52]), we expect analogous synchronization to hold in small-world, biochemical network topologies (e.g., [53]). However, these alternative topologies would likely change the probability of observing each of the qualitative model behaviors similar to the observed dependence of probabilities in network size. In this alternative network topologies, the qualitative states of the network model may have greater variability in small network sizes in accordance with the findings of [54]. Finally, in these topologies the heterogeneous model could yield additional, complex qualitative dynamic states, resulting from the complex dynamics that they cause in models of coupled switches alone [46].

While uncoupled network motifs may adopt switch-like or oscillatory dynamics, coupling between these components can induce switch-like behavior in oscillators and oscillatory behavior in switches. These qualitative changes in component dynamics occur stochastically, depending on the distribution of frequencies and switch states. They are more likely to occur in simulations with an imbalance in relative timescales, in which the dynamics of the faster network motif will dominate the system. Similarly, when and are both small, the coordinated oscillations in the switches and oscillators that occur in frequently small networks are largely eliminated in larger networks. We hypothesize that this larger network effectively increases the range of natural frequencies and phases, making the simulation less likely to have the constrained distribution required to obtain such synchronized oscillations. We can expect that biological systems have evolved components according to these distributions to ensure the robustness of the dynamics in the system. For example, multiple proteins can often serve similar functions in cell signaling pathways, which would increase the system size and decrease the probability of transient behaviors in our model. This robustness will be further ensured through the sheer size of most biochemical systems. For example, in humans yeast two-hybrid maps and metabolic network maps both contain on the order of thousands of interactions between thousands of species [53].

Furthermore, we have also observed that the heterogeneous network model will freeze the oscillator dynamics in the presence of inactive switches and then subsequently activate in synchrony in the presence of active switches. As a result, our model provides a natural mechanism for the coordination of complex machinery such as the initiation of cell-cycle dynamics. For example, when we apply our model to the yeast cell cycle motifs in [47], we recapitulate the qualitative dynamics of delayed initiation of stages of the cell cycle observed in simulations with differential equations of the regulatory dynamics in [47]. Additional tuning of the model parameters or incorporation of additional cell cycle checkpoints would facilitate a precise match of the timing of [47]. Because parameters are defined for modules and their interaction, our model requires far fewer rate parameters than any differential equation model of sets of biochemical reactions of the yeast cell cycle. Generally, the oscillator in the final G2/M step of the cell cycle is active only when the series of switches in the previous steps of the cell cycle are activated, consistent with the transient dynamics observed in our network model. However, rewiring the network to introduce feedback from the G2/M stage to the G1/S stage of the cell cycle will cause the modeled cell cycle machinery to engage continually without regard to the external growth signals, consistent with the malignant rewring in cancer cells [48]. Similar to the oscillatory behavior induced in switches in simulations in all-to-all networks, this small modification to the topology of cell cycle interactions altered the resulting dynamics of the network motifs for the G1/S and S/G2 motifs. We, therefore, hypothesize that motif dynamics predicted by the structure of subgraphs may not accurately describe their *in vivo* dynamics if considered in isolation, consistent with the hypothesis in [55] and findings of [42].

We observed that the switches in the cell cycle block activation of the yeast cell cycle when no external signal is present. Similarly, when part of the larger but sparse networks that compose biochemical systems [53], inactive switches would effectively destroy links between nodes on the network. As a result, the proposed heterogeneous model provides a potential mechanism for Kuramoto-based models with evolving network topologies such as [15], [23]–[28]. Similarly, we observed that the intermediate switches delay the oscillations in the final G2/M motif in the simulated yeast cell cycle. As a result, we hypothesize that coupling switches to oscillators through their frequencies in this model also provides a natural mechanism for extensions of the Kuramoto model with dynamic frequencies [15], [29], [30] or phase delays [16], [31]–[33].

The heterogeneous network model described in this paper facilitates characterization of the dynamics of complex, biochemical systems by abstracting the dynamics of their composite motifs such as the yeast cell cycle based upon [47]. We note that the proposed heterogeneous network model is deterministic once the initial values of all the switches and oscillator frequencies have been specified. However, many intracellular reactions (e.g., [56]) and neuronal systems (reviewed in [57], [58]) evolve stochastically. In these cases, the Hopfield networks used to model the switches could be replaced with probabilistic Boolean networks [3] and the oscillators evolved with stochastic solvers such as the stochastic simulation algorithm (reviewed in [59]), integrated with the methodology developed in [60]. Similar modifications could also extend the heterogeneous model to incorporate coupling with components of additional dynamics pertinent to biochemical systems, such as those of the network motifs enumerated in [34], [35], [44]. These studies would also ideally consider the dynamics of the heterogeneous network model in additional small-world and random network topologies, as well as the topologies defined by neuronal systems and gene regulatory networks.

## Materials and Methods

### Numerical simulations in the all-to-all network

In this study, we analyze the range of possible dynamics of the coupled, heterogeneous networks by applying this model to all-to-all networks. Analyses were performed for networks with equal number of switches and oscillators () of sizes 10, 50, 100, 200, and 500. All simulations are run one hundred times from random initial conditions for the state of switches () and oscillators (), drawn from a Gaussian distribution and a uniform distribution on , respectively. Similarly, oscillator natural frequencies are drawn randomly from a Gaussian distribution of mean zero and standard deviation parameter . Simulations of 100 seconds (in the arbitrary units of the model), with a time step of 0.01 seconds were found sufficient to reflect the range of possible model behaviors and verify consistency across initial conditions. The behavior of each simulation is summarized based on the time-dependent order parameters and , , and .

### Numerical simulations of the yeast cell cycle

Based upon [47], we model the yeast cell cycle as an initiating external signal (namely the cell size), coupled to a toggle switch representing the transition between G1/S, a toggle switch representing the transition between S/G2, and an oscillator representing the transition from G2/M. While the external signal is incorporated into the model with coupling to the other switches in eq. (6), its state is not updated by the model. The duration of this external signal is set at 10 simulated minutes, based upon [47]. Similarly, the initial values of the hidden variable for the switches in the G1/S and S/G2 modules are set at −0.5, to 1, and to 2 to reproduce the approximate 10 minute duration of these switches in [47]. The natural frequency is for the G2/M module set to to likewise reflect the timescale reported in [47], while the remainder of the coupling parameters are left untuned, set to because we sought only to reproduce the qualitative dynamics of the [47] model. The rewiring in the system with enduring cell cycle activation is achieved by adding an edge from the module for G2/M to the switch in the G1/S module.

## Supporting Information

### Movie S1.

**Movie of the dynamics in ****Figure 1(a)****.** Left panel displays the evolution of the total number of switches (out of 100) in the on state (left) and off state (right). Right panel displays the evolution of the phase of each of the one hundred oscillators.

https://doi.org/10.1371/journal.pone.0029497.s001

(AVI)

### Movie S2.

**Movie of the dynamics in ****Figure 1(b)****.** As for Movie S1.

https://doi.org/10.1371/journal.pone.0029497.s002

(AVI)

### Movie S3.

**Movie of the dynamics in ****Figure 1(c)****.** As for Movie S1.

https://doi.org/10.1371/journal.pone.0029497.s003

(AVI)

### Movie S4.

**Movie of the dynamics in ****Figure 1(d)****.** As for Movie S1.

https://doi.org/10.1371/journal.pone.0029497.s004

(AVI)

### Figure S1.

**Dependence of dynamics on network size for ****.** Number of simulations (of 100) for which the switches are off and oscillators are frozen (left panel), the switches are on and the oscillators are synchronized (center panel), and both the oscillators and switches have synchronized oscillations (right).

https://doi.org/10.1371/journal.pone.0029497.s005

(PDF)

### Figure S2.

**Dependence of dynamics on network size for ****.** As for Figure S1.

https://doi.org/10.1371/journal.pone.0029497.s006

(PDF)

### Figure S3.

**Dependence of dynamics on network size for ****.** As for Figure S1.

https://doi.org/10.1371/journal.pone.0029497.s007

(PDF)

## Acknowledgments

We thank LV Danilova, B Fertig, AV Favorov, BR Hunt, MJ Stern, MF Ochs, E Ott, E Webster, and LM Weiner for advice. Code available upon request.

## Author Contributions

Conceived and designed the experiments: EJF. Performed the experiments: MRF EJF. Analyzed the data: MRF EJF. Wrote the paper: MRF EJF. Designed the model software: MRF EJF.

## References

- 1. Glass L, Kauffman S (1973) The logical analysis of continuous, non-linear biochemical control networks. Journal of Theoretical Biology 39: 103–129.L. GlassS. Kauffman1973The logical analysis of continuous, non-linear biochemical control networks.Journal of Theoretical Biology39103129
- 2. Hopfield JJ (1982) Neural networks and physical systems with emergent collective computational abilities. Proc Natl Acad Sci U S A 79: 2554–8.JJ Hopfield1982Neural networks and physical systems with emergent collective computational abilities.Proc Natl Acad Sci U S A7925548
- 3. Shmulevich I, Dougherty ER, Zhang W (2002) From boolean to probabilistic boolean networks as models of genetic regulatory networks. Proceedings of the IEEE 90: 1778–1792.I. ShmulevichER DoughertyW. Zhang2002From boolean to probabilistic boolean networks as models of genetic regulatory networks.Proceedings of the IEEE9017781792
- 4.
Kuramoto Y (1975) International Symposium on Mathematical Problems in Theoretical Physics, volume 39 of Lecture Notes in Physics. Springer. 420 p.Y. Kuramoto1975International Symposium on Mathematical Problems in Theoretical Physics, volume 39 of Lecture Notes in PhysicsSpringer420
- 5.
Strogatz SH (2003) Sync: the emerging science of spontaneous order. New York: Hyperion, 1st ed edition. 338 p.SH Strogatz2003Sync: the emerging science of spontaneous orderNew YorkHyperion, 1st ed edition338
- 6. Garcia-Ojalvo J, Elowitz MB, Strogatz SH (2004) Modeling a synthetic multicellular clock: repressilators coupled by quorum sensing. Proc Natl Acad Sci U S A 101: 10955–60.J. Garcia-OjalvoMB ElowitzSH Strogatz2004Modeling a synthetic multicellular clock: repressilators coupled by quorum sensing.Proc Natl Acad Sci U S A1011095560
- 7. Danino T, Mondragόn-Palomino O, Tsimring L, Hasty J (2010) A synchronized quorum of genetic clocks. Nature 463: 326–30.T. DaninoO. Mondragόn-PalominoL. TsimringJ. Hasty2010A synchronized quorum of genetic clocks.Nature46332630
- 8. Tu BP, Kudlicki A, Rowicka M, McKnight SL (2005) Logic of the yeast metabolic cycle: temporal compartmentalization of cellular processes. Science 310: 1152–8.BP TuA. KudlickiM. RowickaSL McKnight2005Logic of the yeast metabolic cycle: temporal compartmentalization of cellular processes.Science31011528
- 9. Klevecz RR, Li CM, Marcus I, Frankel PH (2008) Collective behavior in gene regulation: the cell is an oscillator, the cell cycle a developmental process. FEBS J 275: 2372–84.RR KleveczCM LiI. MarcusPH Frankel2008Collective behavior in gene regulation: the cell is an oscillator, the cell cycle a developmental process.FEBS J275237284
- 10. Huang S, Eichler G, Bar-Yam Y, Ingber D (2005) Cell fates as high-dimensional attractor states of a complex gene regulatory network. Phys Rev Lett 94: 128701.S. HuangG. EichlerY. Bar-YamD. Ingber2005Cell fates as high-dimensional attractor states of a complex gene regulatory network.Phys Rev Lett94128701
- 11.
Peskin C (1975) Mathematical Aspects of Heart Physiology. 278 p.C. Peskin1975Mathematical Aspects of Heart Physiology.Courant Institute Lecture Notes. Courant Institute of Mathematical Sciences. 278 Courant Institute Lecture Notes. Courant Institute of Mathematical Sciences.
- 12. Breakspear M, Heitmann S, Daffertshofer A (2010) Generative models of cortical oscillations: neurobiological implications of the kuramoto model. Front Hum Neurosci 4: 190.M. BreakspearS. HeitmannA. Daffertshofer2010Generative models of cortical oscillations: neurobiological implications of the kuramoto model.Front Hum Neurosci4190
- 13. Strogatz SH (1987) Human sleep and circadian rhythms: a simple model based on two coupled oscillators. J Math Biol 25: 327–47.SH Strogatz1987Human sleep and circadian rhythms: a simple model based on two coupled oscillators.J Math Biol2532747
- 14. Fox JJ, Jayaprakash C, Wang D, Campbell SR (2001) Synchronization in relaxation oscillator networks with conduction delays. Neural Comput 13: 1003–21.JJ FoxC. JayaprakashD. WangSR Campbell2001Synchronization in relaxation oscillator networks with conduction delays.Neural Comput13100321
- 15. Cumin D, Unsworth C (2007) Generalizing the Kuramoto model for the study of neuronal synchronization in the brain. Physica D 226: 181–196.D. CuminC. Unsworth2007Generalizing the Kuramoto model for the study of neuronal synchronization in the brain.Physica D226181196
- 16. Wang Q, Duan Z, Perc M, Chen G (2008) Synchronization transitions on small-world neuronal networks: Effects of information transmission delay and rewiring probability. EPL 83: 50008.Q. WangZ. DuanM. PercG. Chen2008Synchronization transitions on small-world neuronal networks: Effects of information transmission delay and rewiring probability.EPL8350008
- 17. Pérez T, Garcia GC, Eguíluz VM, Vicente R, Pipa G, et al. (2011) Effect of the topology and delayed interactions in neuronal networks synchronization. PLoS One 6: e19900.T. PérezGC GarciaVM EguíluzR. VicenteG. Pipa2011Effect of the topology and delayed interactions in neuronal networks synchronization.PLoS One6e19900
- 18. Kunysz A, Shrier A, Glass L (1997) The challenge of complex dynamics for theoretical models of cardiac activity. Journal of Theoretical Medicine 1: 79–90.A. KunyszA. ShrierL. Glass1997The challenge of complex dynamics for theoretical models of cardiac activity.Journal of Theoretical Medicine17990
- 19. Chang HS, Staras K, Gilbey MP (2000) Multiple oscillators provide metastability in rhythm generation. J Neurosci 20: 5135–43.HS ChangK. StarasMP Gilbey2000Multiple oscillators provide metastability in rhythm generation.J Neurosci20513543
- 20. Sato D, Xie LH, Sovari AA, Tran DX, Morita N, et al. (2009) Synchronization of chaotic early afterdepolarizations in the genesis of cardiac arrhythmias. Proc Natl Acad Sci U S A 106: 2983–8.D. SatoLH XieAA SovariDX TranN. Morita2009Synchronization of chaotic early afterdepolarizations in the genesis of cardiac arrhythmias.Proc Natl Acad Sci U S A10629838
- 21. Zahanich I, Sirenko SG, Maltseva LA, Tarasova YS, Spurgeon HA, et al. (2011) Rhythmic beating of stem cell-derived cardiac cells requires dynamic coupling of electrophysiology and ca cycling. J Mol Cell Cardiol 50: 66–76.I. ZahanichSG SirenkoLA MaltsevaYS TarasovaHA Spurgeon2011Rhythmic beating of stem cell-derived cardiac cells requires dynamic coupling of electrophysiology and ca cycling.J Mol Cell Cardiol506676
- 22. Tiana-Alsina J, Garcia-Lopez JH, Torrent M, Garcia-Ojalvo J (2011) Dual-lag synchronization between coupled chaotic lasers due to path-delay interference. Chaos 21: 043102.J. Tiana-AlsinaJH Garcia-LopezM. TorrentJ. Garcia-Ojalvo2011Dual-lag synchronization between coupled chaotic lasers due to path-delay interference.Chaos21043102
- 23. Mondal A, Sinha S, Kurths J (2008) Rapidly switched random links enhance spatiotemporal regularity. Phys Rev E Stat Nonlin Soft Matter Phys 78: 066209.A. MondalS. SinhaJ. Kurths2008Rapidly switched random links enhance spatiotemporal regularity.Phys Rev E Stat Nonlin Soft Matter Phys78066209
- 24. Sorrentino F, Ott E (2008) Adaptive synchronization of dynamics on evolving complex networks. Phys Rev Lett 100: 114101.F. SorrentinoE. Ott2008Adaptive synchronization of dynamics on evolving complex networks.Phys Rev Lett100114101
- 25. Jiang M, Ma P (2009) Coherence resonance induced by rewiring in complex networks. Chaos 19: 013115.M. JiangP. Ma2009Coherence resonance induced by rewiring in complex networks.Chaos19013115
- 26. Volman V, Perc M (2010) Fast random rewiring and strong connectivity impair fast random rewiring and strong connectivity impair subthreshold signal detection in excitable networks. New Journal of Physics 12: 043013.V. VolmanM. Perc2010Fast random rewiring and strong connectivity impair fast random rewiring and strong connectivity impair subthreshold signal detection in excitable networks.New Journal of Physics12043013
- 27. Adhikari BM, Prasad A, Dhamala M (2011) Time-delay-induced phase-transition to synchrony in coupled bursting neurons. Chaos 21: 023116.BM AdhikariA. PrasadM. Dhamala2011Time-delay-induced phase-transition to synchrony in coupled bursting neurons.Chaos21023116
- 28. Gόomez-Gardees J, Gόmez S, Arenas A, Moreno Y (2011) Explosive synchronization transitions in scale-free networks. Phys Rev Lett 106: 128701.J. Gόomez-GardeesS. GόmezA. ArenasY. Moreno2011Explosive synchronization transitions in scale-free networks.Phys Rev Lett106128701
- 29. Martens E, Barreto E, Strogatz S, Ott E, So P, et al. (2009) Exact results for the kuramoto model with a bimodal frequency distribution. Phys Rev E 79: 026204.E. MartensE. BarretoS. StrogatzE. OttP. So2009Exact results for the kuramoto model with a bimodal frequency distribution.Phys Rev E79026204
- 30. Taylor D, Ott E, Restrepo JG (2010) Spontaneous synchronization of coupled oscillator systems with frequency adaptation. Phys Rev E Stat Nonlin Soft Matter Phys 81: 046214.D. TaylorE. OttJG Restrepo2010Spontaneous synchronization of coupled oscillator systems with frequency adaptation.Phys Rev E Stat Nonlin Soft Matter Phys81046214
- 31. Ermentrout B, Ko TW (2009) Delays and weakly coupled neuronal oscillators. Philos Transact A Math Phys Eng Sci 367: 1097–115.B. ErmentroutTW Ko2009Delays and weakly coupled neuronal oscillators.Philos Transact A Math Phys Eng Sci3671097115
- 32. Wang Q, Perc M, Duan Z, Chen G (2009) Synchronization transitions on scale-free neuronal networks due to finite information transmission delays. Phys Rev E Stat Nonlin Soft Matter Phys 80: 026206.Q. WangM. PercZ. DuanG. Chen2009Synchronization transitions on scale-free neuronal networks due to finite information transmission delays.Phys Rev E Stat Nonlin Soft Matter Phys80026206
- 33. Wang Q, Chen G, Perc M (2011) Synchronous bursts on scale-free neuronal networks with attractive and repulsive coupling. PLoS One 6: e15851.Q. WangG. ChenM. Perc2011Synchronous bursts on scale-free neuronal networks with attractive and repulsive coupling.PLoS One6e15851
- 34. Alon U (2007) Network motifs: theory and experimental approaches. Nat Rev Genet 8: 450–461.U. Alon2007Network motifs: theory and experimental approaches.Nat Rev Genet8450461
- 35. Novak B, Tyson JJ (2008) Design principles of biochemical oscillators. Nat Rev Mol Cell Biol 9: 981–991.B. NovakJJ Tyson2008Design principles of biochemical oscillators.Nat Rev Mol Cell Biol9981991
- 36. Milo R, Shen-Orr S, Itzkovitz S, Kashtan N, Chklovskii D, et al. (2002) Network motifs: simple building blocks of complex networks. Science 298: 824–7.R. MiloS. Shen-OrrS. ItzkovitzN. KashtanD. Chklovskii2002Network motifs: simple building blocks of complex networks.Science2988247
- 37. Shen-Orr SS, Milo R, Mangan S, Alon U (2002) Network motifs in the transcriptional regulation network of escherichia coli. Nat Genet 31: 64–8.SS Shen-OrrR. MiloS. ManganU. Alon2002Network motifs in the transcriptional regulation network of escherichia coli.Nat Genet31648
- 38. Rao CV, Arkin AP (2001) Control motifs for intracellular regulatory networks. Annu Rev Biomed Eng 3: 391–419.CV RaoAP Arkin2001Control motifs for intracellular regulatory networks.Annu Rev Biomed Eng3391419
- 39. Prill RJ, Iglesias PA, Levchenko A (2005) Dynamic properties of network motifs contribute to biological network organization. PLoS Biol 3: e343.RJ PrillPA IglesiasA. Levchenko2005Dynamic properties of network motifs contribute to biological network organization.PLoS Biol3e343
- 40. Csikász-Nagy A, Novák B, Tyson JJ (2008) Reverse engineering models of cell cycle regulation. Adv Exp Med Biol 641: 88–97.A. Csikász-NagyB. NovákJJ Tyson2008Reverse engineering models of cell cycle regulation.Adv Exp Med Biol6418897
- 41. Purcell O, Savery NJ, Grierson CS, di Bernardo M (2010) A comparative analysis of synthetic genetic oscillators. J R Soc Interface 7: 1503–24.O. PurcellNJ SaveryCS GriersonM. di Bernardo2010A comparative analysis of synthetic genetic oscillators.J R Soc Interface7150324
- 42. Taylor D, Restrepo JG (2011) Network connectivity during mergers and growth: optimizing the addition of a module. Phys Rev E Stat Nonlin Soft Matter Phys 83: 066112.D. TaylorJG Restrepo2011Network connectivity during mergers and growth: optimizing the addition of a module.Phys Rev E Stat Nonlin Soft Matter Phys83066112
- 43. Kim JR, Yoon Y, Cho KH (2008) Coupled feedback loops form dynamic motifs of cellular networks. Biophys J 94: 359–65.JR KimY. YoonKH Cho2008Coupled feedback loops form dynamic motifs of cellular networks.Biophys J9435965
- 44. Tyson JJ, Chen KC, Novak B (2003) Sniffers, buzzers, toggles and blinkers: dynamics of regulatory and signaling pathways in the cell. Curr Opin Cell Biol 15: 221–231.JJ TysonKC ChenB. Novak2003Sniffers, buzzers, toggles and blinkers: dynamics of regulatory and signaling pathways in the cell.Curr Opin Cell Biol15221231
- 45. Strogatz SH (2000) From Kuramoto to Crawford: exploring the onset of synchronization in populations of coupled oscillators. Physica D 143: 1–20.SH Strogatz2000From Kuramoto to Crawford: exploring the onset of synchronization in populations of coupled oscillators.Physica D143120
- 46. Edwards R (2000) Analysis of continuous-time switching networks. Physica D 146: 165–199.R. Edwards2000Analysis of continuous-time switching networks.Physica D146165199
- 47. Tyson JJ, Chen K, Novak B (2001) Network dynamics and cell physiology. Nat Rev Mol Cell Biol 2: 908.JJ TysonK. ChenB. Novak2001Network dynamics and cell physiology.Nat Rev Mol Cell Biol2908
- 48. Hanahan D, Weinberg R (2000) The hallmarks of cancer. Cell 100: 57–70.D. HanahanR. Weinberg2000The hallmarks of cancer.Cell1005770
- 49. Restrepo JG, Ott E, Hunt B (2005) Onset of synchronization in large networks of coupled oscillators. Phys Rev E 71: 036151.JG RestrepoE. OttB. Hunt2005Onset of synchronization in large networks of coupled oscillators.Phys Rev E71036151
- 50. Restrepo JG, Ott E, Hunt B (2005) Synchronization in large directed networks of coupled phase oscillators. Chaos 16: 015107.JG RestrepoE. OttB. Hunt2005Synchronization in large directed networks of coupled phase oscillators.Chaos16015107
- 51. Restrepo JG, Ott E, Hunt B (2006) Emergence of coherence in complex networks of heterogeneous dynamical systems. Phys Rev Lett 96: 254103.JG RestrepoE. OttB. Hunt2006Emergence of coherence in complex networks of heterogeneous dynamical systems.Phys Rev Lett96254103
- 52. Restrepo JG, Ott E, Hunt B (2006) Emergence of synchronization in complex networks of interacting dynamical systems. Physica D 224: 114–122.JG RestrepoE. OttB. Hunt2006Emergence of synchronization in complex networks of interacting dynamical systems.Physica D224114122
- 53. Barabási AL, Oltvai ZN (2004) Network biology: understanding the cell's functional organization. Nat Rev Genet 5: 101–13.AL BarabásiZN Oltvai2004Network biology: understanding the cell's functional organization.Nat Rev Genet510113
- 54. Pikovsky A, Zaikin A, de la Casa MA (2002) System size resonance in coupled noisy systems and in the ising model. Phys Rev Lett 88: 050601.A. PikovskyA. ZaikinMA de la Casa2002System size resonance in coupled noisy systems and in the ising model.Phys Rev Lett88050601
- 55.
Dorogovtsev S (2010) Lectures on Complex Networks. Oxford University Press. 144 p.S. Dorogovtsev2010Lectures on Complex NetworksOxford University Press144
- 56. Kaern M, Elston TC, Blake WJ, Collins JJ (2005) Stochasticity in gene expression: from theories to phenotypes. Nat Rev Genet 6: 451–464.M. KaernTC ElstonWJ BlakeJJ Collins2005Stochasticity in gene expression: from theories to phenotypes.Nat Rev Genet6451464
- 57. Stein RB, Gossen ER, Jones KE (2005) Neuronal variability: noise or part of the signal? Nat Rev Neurosci 6: 389–97.RB SteinER GossenKE Jones2005Neuronal variability: noise or part of the signal?Nat Rev Neurosci638997
- 58. Faisal AA, Selen LPJ, Wolpert DM (2008) Noise in the nervous system. Nat Rev Neurosci 9: 292–303.AA FaisalLPJ SelenDM Wolpert2008Noise in the nervous system.Nat Rev Neurosci9292303
- 59. Gillespie DT (2007) Stochastic simulation of chemical kinetics. Annu Rev Phys Chem 58: 35–55.DT Gillespie2007Stochastic simulation of chemical kinetics.Annu Rev Phys Chem583555
- 60. Fertig EJ, Danilova LV, Favorov AV, Ochs MF (2011) Hybrid modeling of cell signaling and transcriptional reprogramming and its application in c. elegans development. Frontiers in Bioinformatics and Computational Biology 2: 77.EJ FertigLV DanilovaAV FavorovMF Ochs2011Hybrid modeling of cell signaling and transcriptional reprogramming and its application in c. elegans development.Frontiers in Bioinformatics and Computational Biology277