Abstract
Breathing is vital and must be concurrently robust and flexible. This rhythmic behavior is generated and maintained within a rostrocaudally aligned set of medullary nuclei called the ventral respiratory column (VRC). The rhythmic properties of individual VRC nuclei are well known, yet technical challenges have limited the interrogation of the entire VRC population simultaneously. Here we characterize over 15,000 medullary units using high-density electrophysiology, opto-tagging and histological reconstruction. Population dynamics analysis reveals consistent rotational trajectories through a low-dimensional neural manifold. These rotations are robust and maintained even during opioid-induced respiratory depression. During severe hypoxia-induced gasping, the low-dimensional dynamics of the VRC reconfigure from rotational to all-or-none, ballistic efforts. Thus, latent dynamics provide a unifying lens onto the activities of large, heterogeneous populations of neurons involved in the simple, yet vital, behavior of breathing, and well describe how these populations respond to a variety of perturbations.
Subject terms: Central pattern generators, Respiration, Neurophysiology, Neural circuits, Dynamical systems
Bush and Ramirez show that the activity of neuronal populations implicated in generating breathing evolves along a rotational low-dimensional trajectory that is stably maintained even when challenged with opioids but collapses during gasping.
Main
Recent advances in the ability to record the activity of large populations of neurons have driven concurrent adoption of dimensionality reduction techniques to describe complex population dynamics1–4. These approaches have been widely successful across many systems to uncover simple attractor-like dynamics that describe neural population activity.
Additionally, studies from small invertebrate neuronal networks have demonstrated that qualitatively and quantitatively similar patterns of rhythmic activity can be observed over a large regime of varying combinations of biophysical properties, suggesting that neuronal networks maintain specific patterns of activity that can emerge from many different sets of synaptic strengths and intrinsic membrane properties5. That is, numerous solutions for a given neural behavior can arise from a degenerate space of constituent cellular components.
The neural circuits that underly breathing in mammals afford a tractable handle on the intersection of these two complementary descriptions of redundancy underlying neural processes. Breathing is a rhythmic, stereotyped motor behavior that is constitutively maintained throughout the life of an animal. Despite the relative simplicity of this behavior, the neural circuits that drive and maintain breathing are distributed throughout anatomically distributed and molecularly diverse neural populations that compose the rostrocaudally extended ventral respiratory column (VRC)6–10. The VRC contains vital centers that act as the scaffold for maintaining breathing, including the intrinsically rhythmic, bilaterally synchronized, preBötzinger complex (preBötC)11–13, the chemo-sensitive retrotrapezoid nucleus (also termed the parafacial respiratory group)14 and bulbospinal premotor neurons of the ventral respiratory group15. The VRC also participates in critical bidirectional integration with medullary, pontine, thalamic and cortical centers16–18, as well as the peripheral nervous system19,20. This vast interconnectivity imbues the respiratory centers with sufficient flexibility to support varied control of breathing during behaviors such as whisking and vocalizing21,22.
In this Article, we introduce a novel experimental preparation that allows for large-scale electrophysiological recordings along the rostrocaudal extent of the medulla. We combine recordings from Neuropixel probes23 with optogenetic tagging24 and 3D histological reconstructions (Methods) to detail the respiratory-related activities of identified VRC neural populations in freely breathing mice with intact trachea and vagal nerves. Our results show that VRC population activity evolves along a continuous, rotational trajectory on a low-dimensional neural manifold that is consistent across animals and recordings. Inspiratory and expiratory activity can be described by intersecting, linear dynamical systems governed by rotational dynamics. Notably, the discrete phase transition into expiration forms an attractive target in neural population space. We thus expand on the classical idea of the ‘inspiratory off-switch’25–27 such that the offset of inspiration is the critical temporal reorganizing feature for dynamics of the entire VRC population. The rotational trajectories, however, reflect a continuous and gradual transition of neuronal population activity from the expiratory through the inspiratory phase.
This approach provides novel insights into the coordinated activity of respiratory neural populations and allows us further to test how these rotational dynamics are disrupted by systemic, physiologically relevant perturbations to respiratory dynamics: opioids and hypoxia. Opioid-induced respiratory depression (OIRD) is a leading cause of death in the United States28,29 and our understanding of the molecular, cellular and circuit mechanisms of OIRD is continually evolving30–33. Here we show that opioids cause complex, diverse and intractable changes in the firing activity of single units. However, when viewed at the level of the low-dimensional population dynamics, the trajectories are preserved, but slowed, suggesting that there are redundant network compensations to preserve respiratory function in response to perturbations.
In contrast, acute hypoxia induces dramatic physiological pressure that alters the normal breathing pattern to produce auto-resuscitative gasping34,35. The failure to rouse during gasping is thought to underlie susceptibility to sudden unexpected infant death syndrome (SUIDS)36–38. Our data show that, during gasping, the rotational dynamics observed during eupnea (normal breathing) collapse towards the inspiratory-off attractor and gasps manifest as ballistic, all-or-nothing, monophasic excursions in the latent state.
Together, these data provide a novel and comprehensive survey of the constituent neural populations in the ventrolateral medulla that are involved in breathing and place the neural circuits that govern breathing in the context of the burgeoning field of neural population dynamics.
Mapping of anatomically and optogenetically identified VRC units
Neuropixel probes23 were inserted along the rostrocaudal axis of the VRC of 36 urethane anesthetized mice to record single unit activity from the entire VRC simultaneously (Fig. 1a, Supplementary Fig. 1 and Supplementary Video 1). Urethane anesthesia sustains respiratory rates close to those observed in awake animals39 (approximately 2–4 Hz) and maintains many cardiorespiratory reflexes. Breathing was monitored with diaphragm electromyogram (EMG). Across all animals, we analyzed 15,299 single units in 139 separate recordings (average 3.8 recordings per animal, 114 units per recording). Repeated insertion of the Neuropixel probe did not severely alter respiratory activity (Supplementary Fig. 1). We identify units as putatively axonal (n = 7,298) or somatic (n = 8,001) in origin on the basis of their extracellular waveform shape40 by modifying a method recently described by Sibille et al.41 (Supplementary Fig. 2). Further analyses in which somatic and axonal units are combined will refer generally to ‘neurons’ or ‘units’. Fluorescent DiI was used to identify the locations of each probe insertion in post-hoc histological analyses (Fig. 1b and Supplementary Fig. 1). In addition, we use opto-tagging24 to identify a subset of recorded neurons by their transcriptional markers (Supplementary Fig. 2h–j). We identified 192/2,504 (7.7%) Vglut2+; 156/2,866 (5.4%) ChAT+; 334/5,774 (5.8%) Vgat+; 346/2,192 (15.8%) Dbx1+; and 106/2,469 (4.3%) SST+ units. Dbx1+ and SST+ units are of interest as they are involved in generating breathing rhythm and pattern, respectively15,42–44.
An example raster of 128 simultaneously recorded single units is shown in Fig. 1c, along with integrated diaphragm for four breaths. As expected, single units exhibit varied breath-averaged activity patterns (Fig. 1d). Since respiratory rate and inspiratory durations vary over time and across animals, we map each breath to phase (ϕ) such that the onset of inspiration occurs at ϕ = 0, inspiratory bursts have 0 ≤ ϕ ≤ π and inter-breath intervals (IBIs) (referred to as expiration throughout) have −π < ϕ < 0. We avoid more granular discretization of phase (for example, pre-inspiratory, which has no quantitatively defined temporal marker) in favor of reporting the exact ϕ values. We then quantify each neuron’s activity as a function of this normalized phase (Fig. 1e–h). Individual neurons are parameterized by coherence (quantifies how strongly a neuron shares frequency components with breathing; Supplementary Fig. 3), and phase lag (that is, phase of breathing cycle in which the neuron’s activity is biased). We compute the coherence and phase lag with Chronux (Methods) and use the lower bound on coherence (Clb; 99.9% confidence interval) so as to not categorize some neurons as more coherent than statistically likely. Neurons with Clb > 0.1 were categorized to be phasic, and any neuron with Clb ≤ 0.1 to be tonic; this categorization is used throughout. We choose a low value of Clb to include neurons that may be only weakly correlated with breathing (Supplementary Fig. 3b). Putative axonal units had lower respiratory coherence and firing rates than putative somatic units (Supplementary Fig. 2e,f). Slightly more than half of all somatic units showed at least minor evidence of respiratory coherence (4,304 of 8,001, 53%). Phasic somatic neurons were more likely to be inspiratory (2,586 of 4,304; 60%) (Fig. 1g,h). On average, inspiratory units have higher firing rates and are more coherent than expiratory units (Supplementary Fig. 3c,d,g).
The phase-averaged and maximum rate normalized activities of all putatively somatic, coherent (Clb> 0.1) units smoothly tile the respiratory cycle (Fig. 1f). Notably, there is sequential recruitment of neurons during progression of the inspiratory (I) phase. While the inspiratory and expiratory phases recruit largely nonoverlapping neural populations, the boundary from expiration to inspiration is straddled by many neurons. By contrast, fewer neurons straddle the inspiration-to-expiration transition (Fig. 1f). Thus, the onset of inspiration is a gradual, continuous neural process while the offset of inspiration is a sharp transition.
We next determined the anatomical location of each single unit. We reconstruct the 3D location of the fluorescent probe tract with respect to the AllenCCF and identify the location of the channel on which the neuron’s spike waveform was largest. Inspiratory and expiratory neurons were found continuously distributed throughout the anterior–posterior (AP) axis of the VRC (Fig. 1i, Supplementary Fig. 3 and Extended Data Figs. 1–3). As expected, proportionally more phasic neurons were found along the anatomical bounds of the VRC, while tonic neurons were more widely spatially distributed (Fig. 1i, Supplementary Fig. 3, Extended Data Figs. 1–3 and Supplementary Video 2). These distributions were not qualitatively affected by varying the coherence threshold (Supplementary Fig. 3a). However, as the coherence threshold is raised (that is, we consider only strongly coherent neurons in the analysis), classical parcellations of the VRC become more pronounced (Supplementary Fig. 3 and Extended Data Fig. 2). In all locations, inspiratory neurons were more numerous than expiratory neurons. There is a predominant rostrocaudal gradient where expiratory neurons are found rostrally, while inspiratory neurons are found caudally (Supplementary Fig. 3 and Extended Data Figs. 1 and 2).
Lastly, we assessed the respiratory related neural activity patterns and anatomical distribution of optogenetically identified, putatively somatic units. In general, units of all optogenetic identities and phasic firing patterns are found widely distributed throughout the VRC (Fig. 1j–l). However, some populations overrepresent certain phases of breathing (Fig. 1l and Extended Data Fig. 3e,f). Of particular note is the small population of SST+ expiratory neurons that were found primarily just caudal to the facial nucleus (VII), while inspiratory SST+ neurons were found throughout the AP axis. On average, Vgat+ and Dbx1+ neurons are more strongly respiratory tuned than the Vglut2+, ChAT+ or untagged populations (Fig. 1m). Vgat+ neurons overrepresent expiratory phase; and inhibitory, expiratory neurons tend to be—but are not exclusively—found in the rostral VRC (that is, Bötzinger complex (BötC)/parafacial respiratory group). Dbx1+ neurons overrepresent the inspiratory phase, and these inspiratory neurons are found more caudally in the VRC.
Activity-based clustering reveals continuously distributed activity patterns
VRC units are typically categorized into one of several groups based on their phase-averaged activity pattern. These categories describe the relationship between the unit’s activity and phase and allow for comparisons across units. For example, a typical pre-inspiratory unit will exhibit a ramp in firing rate before the onset of the breath (or burst in vitro) and decay during the inspiratory effort (Fig. 2a). While many studies agree qualitatively on inclusion of units into these categories7,45,46, the number of categories varies across studies, and no quantitative categorization scheme exists. Several units that exemplify some of these categories are shown in Fig. 2a.
The ability to record from thousands of respiratory neurons affords data-driven clustering methods for identifying groups of neurons that exhibit similar phase-aligned activity. We first normalize the binned activity (100 bins, phase-averaged activity from −π to π) of each somatic unit between zero and one. We perform both hierarchical clustering and k-means clustering on both the full data (each unit has 100 features, one for each phase bin) and two sets of reduced data (Methods). We vary the number of discovered clusters from 2 to 15 to determine the optimal number of activity-based clusters as defined by maximal silhouette score.
To exemplify the results of such a clustering approach, we find that splitting into three clusters returns inspiratory, expiratory and weakly phasic cluster means; splitting into 6 clusters returns cluster means consistent with classical categories; and splitting into 15 clusters returns cluster means that sequentially tile phase (Fig. 2b–e). We compute the silhouette score and find that the optimal number of clusters is 3 (Fig. 2f,h), which is fewer than is typically described and clearly inadequate to account for the heterogeneity seen in the phase-averaged activities. However, further discretization oversplits the data. In this analysis we include even weakly coherent units that could contaminate the clustering and give an erroneous appearance of continuity in the population (Fig. 2g). Therefore, we systematically vary a coherence threshold such that we cluster only on increasingly exclusive populations of increasingly coherent units. We find that as weakly coherent units are excluded, the maximal silhouette score becomes two, and the cluster means resemble inspiratory and expiratory units only (Fig. 2h). While two clusters of coherent neurons are quantitatively supported, such a dichotomy clearly underrepresents the heterogeneity of phase-activity patterns. Thus, these phase-related activity-based cell classes are bound to overcluster, suggesting that respiratory-related neurons form a continuum of patterns, rather than a set of discrete activity-based classes. Cell clustering applied to putative axonal rather than somatic units also indicates a continuum of activity-based cell classes (Supplementary Fig. 4).
Neural trajectories target the offset of inspiration
Recording of simultaneous neural activity allows for the quantification of low-dimensional, coordinated activity patterns across the population of recorded neurons. The low-dimensional subspace that contains the majority of the neural variance is referred to as a neural manifold3,47, while the evolution of the low-dimensional activity through that subspace is referred to as its latent trajectory.
We first use principal components analysis (PCA) to decompose the high-dimensional activity of simultaneously recorded units (Fig. 3a–d and Extended Data Fig. 4). All units recorded simultaneously for a given recording (including somatic and axonal units from all locations on the probe) are included in a given PCA, but inclusion only of somatic units generally recapitulates results seen with the full dataset (Extended Data Fig. 4). Low-dimensional neural activity evolves through a consistent rotational trajectory in the principal component (PC) space, and the location along that trajectory is highly correlated with the respiratory phase (Fig. 3b,c,e,g and Supplementary Videos 3 and 4). These trajectories show conserved temporal evolution such that the trajectory is fastest (that is, the population activity changes most quickly) during the inspiration-off/expiration-on transition (Fig. 3d,h). To compare PCs across recordings, we reorder the PCs by coherence such that the leading PC is the most coherent with respiration, regardless of the variance accounted for (Extended Data Fig. 4). We compute the average low-dimensional trajectory across all recordings (Fig. 3e–i) by first reordering the PCs by their respiratory coherence, and then normalizing the time domain to phase. We visualize the first four PCs for illustration, but some respiratory coherence is observed even in higher-order PCs (Extended Data Fig. 4). Ordered PC1 exhibits pre-inspiratory and inspiratory activity, PC2 augments during inspiration and peaks at the offset of inspiration, and PC3,4 exhibit more complex, but consistent, relationships with phase. Both trajectory speed (which quantifies rate of change of neural state) and distance to mean trajectory (which quantifies the breath-to-breath variability of neural state) are maximal before offset of inspiration, and minimal just after offset of inspiration (Fig. 3f,i). This suggests that the peak of inspiration represents an unstable region of the latent space, and the offset of inspiration resembles an attractive ‘target’. Such a target represents that the neural configuration of inspiration-off is most consistent across breaths. This low-dimensional landscape is conserved across recordings and animals (Extended Data Fig. 4).
Dynamical systems modeling of VRC population activity
The above PCA inherently treats all points in time as independent and does not incorporate temporal dynamics of the neural activity. Therefore, we estimate latent linear dynamics from the high-dimensional observations (that is, the activity of the recorded neural population) using a recently developed recurrent switching linear dynamical system (rSLDS)48. This model allows for multiple sets of linear dynamical systems to govern the latent evolution (‘switching’), and the dynamics to be employed at any one point in time are determined by the current latent state (‘recurrent’). Thus, we approximate the underlying nonlinear dynamical system with discrete, intersecting linear systems.
We fit two-state, two-dimensional rSLDS (Methods) to compute the latent dynamics of the neural population (Fig. 4a,b and Extended Data Fig. 5). As with the PCA, all simultaneously recorded units (including putatively somatic and axonal units from all anatomical locations on the probe) are included to fit the rSLDS. We then simulated the latent dynamics (Fig. 4b) and resultant neural activity (Fig. 4c) by supplying the dynamics matrices as inferred from the experimental data and visualized by the flow fields in Fig. 4b. Simulated firing rates were estimated using a Poisson generalized linear model (GLM) with the latent state as inputs. Lastly, we use support vector regression to predict the diaphragm activity from the two-dimensional latent state (Fig. 4c). This allows us to simulate the entire recorded population and diaphragm activity from only the two-dimensional latent state. By aligning the simulated firing rates to the simulated diaphragm onsets, we can well recreate the breath-averaged activity of the recorded VRC population (Fig. 4d,e). We found that the dynamics fit from a recording can either be ‘regenerative’ (Fig. 4f–j), in that the dynamics matrices (that is, flow fields) alone are sufficient to recreate oscillatory latent state evolution and subsequent rhythmic simulated diaphragm activity (Fig. 4h,i), or nonregenerative (Fig. 4k–n). In the nonregenerative case, simulations could not produce oscillations or rhythmic simulated diaphragm activity, despite oscillations in the observed latent dynamics (Fig. 4k,l). Dropout analysis of the regenerative recordings determined that regeneration relied on inclusion of sufficient populations of highly coherent units (Extended Data Fig. 5d). Thus, if a model was nonregenerative, it means that the neural population sampled did not observe enough coherent units to generate oscillatory dynamics. Units with high firing rates are also important for regenerative dynamics, but these fast units are more likely to be highly coherent (Spearman correlation coherence versus average firing rate; R = 0.43, P = 0, n = 15,299). Models with only 1 state (K = 1, that is, not switching48) could never be regenerative (Extended Data Fig. 5), but rather formed decaying spirals. Models with three states were no more likely to be regenerative than models with two states (n = 37/116 regenerative for K = 2, 37/116 regenerative for K = 3; Extended Data Fig. 5).
We then investigate the properties of the dynamics matrices as inferred by the rSLDS models. The two inferred states of regenerative recordings are clearly restricted to either the inspiratory or expiratory phase of the breath. That is, the neural population follows one set of dynamics during inspiration, and another during expiration. For the regenerative recordings, the dynamics were strikingly similar across recordings (Extended Data Fig. 5e). By examining the eigenvalues of the A matrix for each state (Fig. 4j), we find that all inspiratory dynamics were governed by spirals (37/37 recordings), and these spirals were mostly unstable (28/37 recordings). Expiratory dynamics rarely exhibited rotations (3/37 recordings) and were governed by stable nodes (32/37 recordings) or saddles (5/37 recordings). These dynamical regimes intersected to generate alternation between these two states, which approximates an underlying nonlinear system.
To test whether rostrocaudal subregions of the VRC were sufficient to recapitulate oscillatory dynamics, we refit and resimulated all the regenerative recordings but systematically removed subsets of the population along the rostrocaudal extent of the recording. Models with access to the caudal or rostral extremes of the VRC were less likely to be regenerative than those with access to the middle sections that contain the preBötC and BötC (Fig. 4p).
In contrast, nonregenerative recordings showed no clear patterns in their dynamics across recordings and states (Fig. 4o and Extended Data Fig. 5e). We found that whether the recording was regenerative or not depended primarily on the mediolateral anatomical location of the recording. If the recording was restricted to the center of the VRC, where many respiratory tuned neurons are located, it was more likely to be regenerative than at the borders of the VRC (Fig. 4q–s).
Opioids alter timing, not rotational dynamics, of population activity
We next sought to quantify network-wide activity changes in response to systemic opioid administration. To investigate network-wide neural reconfiguration during OIRD, we administered a single dose of morphine (150 mg kg−1, 4 VgatCre;Ai32 mice, 2 Dbx1CreERT2;Ai32 mice) during recordings from the VRC. Respiratory rate decreased by an average of 21% (± 9% standard deviation (s.d.)), and inspiratory duration increased by an average of 105% (± 22% s.d.) (Extended Data Fig. 6). An example raster of 262 simultaneously recorded neurons and associated diaphragm activity are shown before and after morphine administration (Fig. 5a). Gas supplied was 100% O2, and we include both somatic and axonal units in these analyses.
We first determined the extent to which morphine altered the activity of single neurons of the VRC. We found that morphine does not unilaterally reduce the firing rate of neurons, but instead induced coordinated changes across the entire population of VRC neurons (Fig. 5b–e). The duration of spiking in individual neurons increased and spike rates changed for many neurons, but the phasic patterns were preserved (Fig. 5b,c and Extended Data Fig. 6). On average, inspiratory and expiratory units show reduced firing during morphine administration, while tonic units are activated. Of the 1,610 units recorded after morphine administration, 57 were identified as Vgat+ (inhibitory) and 23 as Dbx1+ (excitatory). On average no change was observed in Dbx1+ units. Inspiratory and expiratory inhibitory neurons showed reduced firing, while presumably distinct populations of tonic inhibitory neurons were either recruited or silenced (Extended Data Fig. 6j,k).
To determine the extent to which coordinated population activity changes during OIRD, we examined the neural manifolds before and after morphine administration. We found that rotational PC trajectories of the neural population were qualitatively similar across conditions (Fig. 5f and Extended Data Figs. 6g and 7). The relationship between location in the PC space and breathing phase was conserved (Fig. 5f), indicating that the underlying latent structure of the population remained largely unchanged. The inspiration-off target was preserved during opioid administration (Fig. 5f). Surprisingly, morphine slowed the evolution of the trajectory through PC space (Fig. 5g and Supplementary Video 5). This slowing occurred at most phases of the respiratory cycle, but most dramatically during the second half of inspiration (Fig. 5g,h). By examining the breath aligned averages of the PCs we saw that morphine slowed the latent temporal evolution of the PCs, but the phasic relationship between these PCs was preserved.
We next computed the pairwise zero-lag correlations of spike rates for all neurons in baseline (100% O2) and after morphine administration. We found that the change in correlation structure during OIRD was more pronounced than the change observed when exposed to room air (Fig. 5i–k), primarily in recordings that did not exhibit rotations during baseline. We further quantified the changes in low-dimensional structure by separately computing the PCA decompositions in control and in morphine, and then comparing the subspaces spanned by the leading eigenvectors of those decompositions49. We quantified the similarity between these subspaces using principal angles (Methods) and found that the subspaces largely overlapped, indicating overall conservation of the low-dimensional population structure in OIRD (Extended Data Fig. 8). Lastly, to confirm that the rotational dynamical structure was not disrupted during OIRD, we refit the rSLDS model only on data recorded after morphine administration, for the recordings that were regenerative during normal breathing (n = 4). We found that spiral sources and stable/saddle nodes continued to govern inspiration and expiration, respectively. (Fig. 5l and Supplementary Fig. 5).
Sighs are inspiratory excursions along neural manifold
Sighs are intermittent, large amplitude breaths that occur at regular intervals50. Sighs are critical for maintaining blood gas homeostasis by preventing atelectasis; loss of this behavior is fatal51. As sighs are known to cause reconfiguration of VRC activity, we sought to determine how VRC population activity was modulated during sighing.
A sigh is exemplified by increased diaphragmatic activation and a prolonged period of apnea after the sigh (Extended Data Fig. 9). In this experimental preparation we could evoke sighs by presenting room air (21% O2) instead of 100% O2 (Fig. 6a). Sighs show pronounced increase in firing rates of inspiratory neurons throughout the VRC (Fig. 6b–d and Extended Data Fig. 9).
Examination of the low-dimensional trajectories of eupnea and sighs shows that sigh trajectories largely overlap with eupnea during the expiratory and pre-inspiratory phase, exhibit an augmented excursion during the inspiratory phase and target the same post-inspiratory region that was observed during eupnea (Fig. 6e,f and Supplementary Video 3). This altered trajectory is consistent across animals and recordings (Extended Data Fig. 9f). The trajectories of the subsequent breath after the sigh trace out the same shape as a eupnea in the PC space, but with smaller radii, indicating the neural population is incompletely recruited in the breaths following a sigh (Fig. 6f). The recovery to normal eupnea after a sigh takes several breaths (Extended Data Fig. 9e).
We show that correlated activity across the VRC population is altered during sighs by comparing the pairwise correlations between eupnea in 100% O2 with eupnea in room air and with sighs (Fig. 6g–i). The pairwise correlations are altered during sighs in comparison to eupnea in room air, but the principal angles between the eupneic and sigh low-dimensional projections show that the subspaces are largely overlapping (Extended Data Fig. 8), indicating a minor and temporary disruption of VRC manifolds.
Gasps collapse rotational dynamics into ballistic trajectories
Under severely hypoxic conditions, the respiratory network generates auto-resuscitative gasps34,35,52. During gasping, breaths become punctuated large amplitude events with long inter-gasp intervals, larger diaphragmatic activity and recruitment of more auxiliary inspiratory muscles (Fig. 7a)35. Inspiratory, expiratory and tonic neurons of all genotypes have reduced firing rates on average (Fig. 7b–d and Extended Data Fig. 10a–c). Activity during the inter-burst interval is reduced across the population as evidenced by an increase in respiratory tuning strength (Extended Data Fig. 10f). Many normally expiratory neurons reconfigure and become active during inspiration (Extended Data Fig. 10d,e).
Importantly, the rotational dynamics observed during eupnea are diminished or lost during gasping. Instead, the low-dimensional trajectories reconfigure to exhibit all-or-none, ballistic dynamics in which both pre-inspiratory and post-inspiratory activity is lost, and the PCs evolve only during the gasp effort. (Fig. 7e–g). During gasping, the population is constrained to a stable region between gasp efforts, and each gasp is characterized by a quick and symmetric excursion away from, and back to, this region (Fig. 7e–g and Supplementary Video 6). Further, the transition from eupnea into gasping is smooth and characterized by a progressive ‘shrinking’ of the rotational trajectories (Extended Data Fig. 10i). To examine the structure of the latent dynamics during gasping, we refit the rSLDS model to the period of time in which the animal was gasping, and only for the recordings that were regenerative during normal breathing (n = 11). We find that the eigenvalues no longer cleanly separate into distinct dynamics for inspiration and expiration as they did during eupnea (Fig. 7h and Supplementary Fig. 5). Lastly, we quantify the changes in correlation structure during gasping as was done for morphine and sighs (Fig. 7i–k). The correlation structure is drastically altered during gasping across all recordings, indicative of a VRC wide reconfiguration.
Discussion
Growing adoption of large-scale population recording and analysis techniques has driven widespread appreciation of low-dimensional patterns as a ubiquitous feature of neural circuits49,53. Here we show that this framework elucidates the network dynamics of distributed VRC populations that are critical to generating, patterning and maintaining breathing. The VRC population evolves through rotational trajectories on a low-dimensional manifold of neural activity space that are consistent across individual animals. These trajectories target an ‘inspiratory-off’ attractive region, expanding the well-described phenomenon of an inspiratory off-switch25–27 to the network activity of the entire VRC. Further, VRC populations can be well simulated by a simple dynamical model in which inspiration and expiration, respectively, are governed by alternation between discrete, intersecting linear dynamical regimes. The piecewise linear model used here does not necessarily imply that the biological system performs a discrete switch between linear systems, but that the underlying nonlinear dynamics that govern the system are well approximated by these linear dynamics. Practically, quantitative comparisons across animals and conditions are afforded by the analysis of the eigenvalues of the constituent linear systems.
The high-resolution mapping data support the general organizational structure of the VRC as proposed in previous models6,7, but also reveal that these models are underresolved to fully capture the distributed, heterogenous nature of the neural populations that underlie breathing and its associated behaviors. Inspiratory neurons are more numerous, exhibit higher firing rates and are more coherent than expiratory neurons, potentially contributing to their over representation in local field potential analyses, and their historic preoccupation in the literature9. However, we observe a critical importance of the expiratory phase in the population dynamics, particularly as a low-dimensional temporal reorganizing feature for the entire population. The combined anatomical, transcriptional and electrophysiological characterization here highlights the potential for overlapping functional populations. Optogenetic and/or chemogenetic manipulations of subsets of neurons based on anatomical and transcriptional factors may still target intrinsically heterogeneous populations that could be performing orthogonal functions. We note that light scattering causes optogenetic tagging efficiency to decreases rostrally (Supplementary Fig. 2). Neurons cannot be identified by a lack of optical response, which thus limits the completeness of cell-type characterizations. However, we expect this drop in tagging efficiency should affect all driver lines equally, and we still observe differential distributions of tagged neurons even rostrally (for example, a small population of SST+ expiratory neurons are found predominately rostrally). Our data further support the idea that discrete boundaries between VRC subdivisions are as not apparent in freely breathing animals9,54. We emphasize that these conclusions do not contradict the fact that the preBötC is necessary for breathing when lesioned acutely34,55 or when isolated in slices12, nor that the BötC is a region within the VRC that is biased towards inhibition of inspiration6.
This work is a significant advance on previous efforts to create maps of VRC activity patterns. Recently, Dhingra et al.56 performed a comprehensive mapping of local field potentials across the isolated rat brainstem. A large body of work from Morris, Lindsay and colleagues46,57 also recorded from many isolated respiratory units simultaneously in cats. The data presented here are restricted to the ventrolateral medulla but offer advances on those works in that we record simultaneously from an order of magnitude more single units in animals with a fully intact neuro-respiratory system breathing in a dynamic regime similar to that during awake, quiescent breathing. Importantly, we find that the proliferation of activity-based cell classes are better quantitatively described as a continuum of activity patterns rather than sets of discrete types, at least when considered on the basis of respiratory-related electrophysiological activity patterns (Fig. 2). Further, we employ optogenetic tagging to identify and characterize neurons that express particular transcriptional markers (for example, excitatory versus inhibitory) and detail their anatomical and electrophysiological characteristics.
Analyses of latent population dynamics allow for quantitative and qualitative investigation of the activity patterns of large populations of respiratory neurons. We find two salient features of the latent trajectories that are consistent in both the PCA and rSLDS models. First, the trajectories evolve continuously throughout the respiratory phase, and second, inspiration-off/expiration-on represents a highly attractive region in the latent space. Importantly, trajectories evolve continuously during the expiratory period in which there is no overt diaphragm activation. This is corroborated by the single neuron phase tuning curves that continuously tile the respiratory phase. This continuous representation is lost during gasping and is thus probably not strictly necessary for rhythmic inspiratory efforts. We speculate that these continuous dynamics may be supported through inputs from vagal afferents and inhibitory populations that permit fast respiratory rates.
Low-dimensional analysis of respiratory populations revealed that the respiratory networks evolve through a rotational trajectory. This is particularly important for breathing, which involves the temporal coordination of numerous muscles (including abdominal, laryngeal and oropharyngeal) that must be differentially activated and inactivated to generate a functional breath58. We hypothesize that a rotational trajectory creates a temporal framework upon which motor effectors can be sequentially and continuously timed. This may also allow other orofacial behaviors to ‘read out’ the appropriate respiratory phase from the ventrolateral medullary population. Within the rotational dynamics, the inspiratory-off attractor is a crucial feature that may allow for precise timing of these behaviors within the respiratory phase. For example, vocalization, swallowing and coughing all occur predominantly during the expiratory phase59,60. We further support this notion with our observation of a preponderance of inhibitory, expiratory neurons in the intermediate reticular nucleus, a region that hosts circuits for a multitude of orofacial behaviors21,22,59. An open question remains whether activation of phase-delaying behaviors such as vocalization evokes an excursion within the manifold which effectively increases the radius of the trajectory (akin to the observations of sighs during the inspiratory phase), or if these behaviors would evoke an ‘off-manifold’ excursion into an orthogonal region of the latent space.
A major advantage afforded by large-scale recording and subsequent low-dimensional analyses is that it allows intuitive interpretation of network-wide compensations to perturbations that would otherwise be impenetrable. Systemic opioid administration evokes widespread and diverse changes in individual cell spiking activity. Optogenetic tagging and large-scale recordings together suggest a potentially important effect of increases in the activity of tonic inhibitory neurons during opioid administration. When taken alone, the changes of single units ‘in a vacuum’ in response to opioids underresolve the covariation that is present in the population. Importantly, the low-dimensional rotational behavior of the VRC is largely preserved during OIRD, suggesting the possibility of compensatory network solutions to maintain robust breathing. The overarching effect of OIRD can be described as a slowing of the network dynamics. Opioids have been demonstrated to cause both hyperpolarization of Oprm1+ neurons as well as decreases in synaptic efficiency30. These mechanisms may, at the level of the network dynamics, impose a ‘frictional effect’, which in the extreme may sufficiently slow breathing to result in inescapable hypoxia.
Subsequently, hypoxia-induced gasping results in a collapse of the rotational dynamics. This collapse implies that network mechanisms that support normal breathing are no longer maintained. Given that the neural population collapse into gasping is continuous, it may be the case that there is not a discrete ‘switch’ or triggering mechanism involved in evoking gasping. Instead, gasping may come about as a degeneration of the normal eupneic behavior as it gradually becomes unable to be sustained by network interactions. These data augment observations in slices that show the cellular and molecular mechanisms governing rhythmic activity during eupnea are fundamentally different than that of gasping52; the latter is selectively dependent on serotonergic and noradrenergic mechanisms61–64. These modulatory systems have been found to be disrupted in children that died of SUIDS36–38. Importantly, the serotonergic disturbances are widely distributed in the medulla and include the nucleus gigantocellularis located in the rostral medulla, an area that is critical for arousal65. We speculate that these disturbances remain undetectable under normal breathing conditions because the VRC-wide rotational coordination between inspiratory and expiratory populations imbues the respiratory network with increased robustness. However, during hypoxic and gasping bouts, when the network dynamics transition from rotational to ballistic dynamics along the entire VRC, these rostrally located disturbances may become fatal in children susceptible to SUIDS.
The large-scale neural population dynamics associated with behaviors so stereotyped as breathing are just beginning to be explored4,66. The consistency of low-dimensional structures across animals seen here, and the similarity to the neural rotations in the spinal cord described by Lindén et al.4 suggest that stereotypical behaviors may be governed by fundamental neural dynamics that are similar across motor behaviors and species. The comparable low-dimensional structure of neuronal population dynamics contrasts with the striking cellular diversity and drastic differences in the biological substrate responsible for the generation and reconfiguration of these rhythmic behaviors. This suggests the possibility of a convergent and/or degenerate solutions for neural systems to perform computationally similar operations in disparate systems5.
Methods
Animals
All procedures were approved by the Seattle Children’s Research Institute Institutional Animal Care and Use Committee. Both male and female mice aged p46-p155 were used. Homozygous Vglut2Cre (Jax# 028863), VgatCre (Jax# 016962), ChATCre (Jax# 031661), SSTCre (Jax# 013044) and Dbx1CreERT2 (donated by Dr. Del Negro College of William and Mary, VA) mice were crossed with homozygous Ai32 mice (Jax# 012569) that contain a flox-STOP-flox sequence fused to channelrhodopsin (ChR2) and enhanced yellow fluorescent protein at the Rosa26 locus. Thus, offspring expressed ChR2 and enhanced yellow fluorescent protein only in the neurons that expressed the promoter for the Cre driver. In Dbx1CreERT2 animals, tamoxifen (24 mg kg−1 intraperitoneally) was injected at E10.5 to target neurons of the preBötC42. Animals were randomly selected for recording based on availability. Data collection and analysis were not performed blind to the conditions of the experiments.
In vivo surgical preparation and data acquisition
Anesthesia was induced in 3% isoflurane and urethane (150 g kg−1) was administered intraperitoneally; animals were then removed from isoflurane. Animals were placed on a temperature regulating heating bed (Kent Scientific) and maintained at 37 °C for the remainder of the experiment. Two fine (0.005 inch diameter) stainless steel wire EMGs (AM-systems) were inserted into the right diaphragm. The EMG was amplified (10,000×) and filtered (100 Hz to 5 kHz) (AM-systems 1700) before being digitized at 10 kHz (NI PXIe-8381). Ear bars were used to affix the head in a stereotactic frame. The skin overlying the scalp and neck musculature was removed and the skull surface cleared (Supplementary Fig. 1). The neck musculature was removed to expose the occipital bone, dural surface just ventral to the cerebellum, and the first cervical vertebra. The skull was then leveled such that bregma and lambda lie in the horizontal plane. A titanium headplate was then affixed to the skull surface with ultraviolet cure dental cement. The animal was removed from the stereotactic frame and repositioned in a separate headfixing frame equipped with a motorized micromanipulator. A custom 3D-printed nosecone was placed on the nose of the animal, and 100% O2 was then supplied to the mouse. We carefully removed the dura overlying the left caudal surface of the brainstem with a #11 scalpel, taking care not to damage underlying brain tissue or vasculature. A single Neuropixel probe (IMEC) was dipped in DiI (Thermofisher V22885) and then placed in a motorized manipulator (Sutter MPC-325) positioned caudal to the animal. The probe was aligned in the horizontal plane, with the probe tip toward the animal. We then find what we term the ‘skull apex’ point (Supplementary Fig. 1), the point at the midline of the suture between the intraparietal and the occipital bone. We then target the VRC at 1.25 mm lateral, 4.8 mm ventral to this point. The probe is advanced to touch the caudal surface of the brainstem, then advanced 4 mm into the brainstem at a rate of approximately 1 mm min−1. The probe settles for ≥15 min before recording begins. Neural and EMG data are acquired with SpikeGLX. Gas presentation was controlled by electrical solenoid valves (Beduan) connected to a single flowmeter (Cole Parmer). Timing of solenoid valves and laser pulses (see ‘Optical tagging’ section) were controlled by a Teensy 3.2 microcontroller. In some recordings, a single dose of morphine (150 mg kg−1) was administered intraperitoneally following a baseline recording period (3–5 min) and the optical tagging protocol. After recording, the probe is retracted, and repositioned approximately 100 μm away in either the mediolateral or dorsoventral axis before another insertion and recording procedure. Following all recordings, the probe is extracted and placed in 1% Tergazyme (Sigma-Aldrich Z273287) overnight. The animal is perfused with saline and 4% paraformaldehyde (PFA), and the brain is removed for histological processing.
Optical tagging
During recording, a Cobalt 473-nm laser is attached to a 600-μm-diameter 0.22 numerical aperture fiber optic with a cleaved end (Doric). Fiber power measured at the tip was 50–70 mW; high power and large fiber diameter was used to increase the likelihood of evoking spiking in rostrally located neurons that are far from the caudal surface of the brainstem. The fiber optic was placed just caudal to the brainstem surface. To perform optical tagging, 75 sequential 10-ms laser pulses with a 1.5-ms-duration sigmoidal on-ramp and off-ramp and a 3-s delay between each pulse was presented to the caudal surface of the brainstem (Supplementary Fig. 1). This causes light-evoked spiking in neurons that express ChR2. This stimulation can directly alter respiratory activity and so periods of opto-tagging are not used in analyses. Positively tagged neurons are determined using the stimulus-associated latency test24. Neurons with a stimulus-associated latency test P < 0.0001 and spiking on at least 25% of stimulations were considered positively tagged.
Data processing and spike sorting
The action potential band (acquired at 30 kHz) Neuropixels data were filtered (CatGT global demux), and spikes were extracted, drift corrected and sorted using Kilosort3 (for KS3 parameters, see Supplementary Table 1). Putative single units were then quality sorted using the ecephys pipeline67. Double-counted spikes were removed. Only units that were classified by the ecephys pipeline as not ‘noise’ units had inter-spike interval violations <0.5, amplitude cutoff <0.1 and a presence ratio >0.9, and were also labeled as ‘good’ by KS3 were retained for analysis. This restrictive filtering potentially missed viable single units, but probably rejected most false positive units67. Administration of morphine caused complete silencing and recruitment of units. Thus, for analysis of recordings with morphine administration the presence ratio threshold was relaxed to 0.25. Units from these recordings are included only in Fig. 5 and Extended Data Figs. 7–9 as they apply to OIRD.
Raw diaphragm EMG data (acquired at 10 kHz) were processed offline using custom software. First, the electrocardiogram signal was removed, the signal was bandpass filtered between 300 and 5,000 Hz and rectified, a 50-ms median filter was applied, and the signal was downsampled to 1 kHz. The amplitude of the diaphragm signal was then normalized by dividing by the s.d. Diaphragm bursts were detected using the scipy ‘find_peaks’ function. Units were identified as putatively axonal and somatic on the basis of the method described in Sibille et al.41. Waveshape features were calculated as in Sibille et al., whitened and projected onto the leading two PCs. A manual decision boundary was drawn to separate the two densities in that space (Supplementary Fig. 2c). Some units were labeled as neither axonal nor somatic.
Probe localization
Before inserting the probes into the caudal brainstem, they were dipped five times, for 5 s each dip, in DiI (Thermofisher V22885), a red fluorescent dye, to mark the probe track. After the final recording of the procedure, the animal was euthanized, perfused with phosphate-buffered saline, followed by 4% PFA, and the brain is removed. The brain was fixed overnight in 4% PFA, 15% sucrose for 24 h and finally 30% sucrose. The brain was embedded in embedding medium (NEG-50) and frozen at −80 °C. Then 25-μm coronal sections were collected, and imaged on an Olympus BX61VS slide scanner at 4× magnification using Olypmia VS-ASW. We then used SHARP-Track68 to downsample and manually transform each image to match a corresponding section of the Allen CCF. The fluorescent probe tracks were identified in the registered slices and reconstructed in 3D atlas space. Special care was taken to accurately identify the probe tip position (that is, the most rostral slice that DiI staining could be observed) to accurately reconstruct the rostrocaudal positioning of the probe, and the respective channels. We then visualized the activity of the probe alongside the extracted anatomical location to fine tune the rostrocaudal position of the probe. Units that projected below the ventral surface of the Allen CCF were omitted from analyses.
Anatomical subdivision of VRC and medulla
Since the preBötC and BötC are not defined in the AllenCCF, we create a manual subdivision of the paragigantocellular reticular nucleus, lateral part (PGRNl) to create these regions in our analyses. We define BötC as extending from the caudal edge of the VII (−5.96 mm AP) for about 400 μm in the caudal direction (−6.4 mm AP); preBötC as extending from this caudal edge (−6.4 mm AP) to include the remaining PGRNl (−6.85 mm AP). We restrict both preBötC and BötC such that the medial edge is in line with VII (0.89 mm lateral). Any PGRNl units that do not fall into these defined regions remained labeled as PGRNl. Lastly, we combine the superior olivary complex lateral (SOCl) and medial (SOCm) parts into one region (SOC).
Coherence calculations
Coherence estimates whether two signals (here the breathing activity and a given neuron’s spiking activity) share frequency components. We use Chronux69 to compute the multi-taper coherence of the continuous integrated diaphragm signal (subsampled to 1 kHz) with the point process signal of the spike times for a given unit within the first 5 min of a recording (coherencysegcpt). We use a time bandwidth product of 3 with 5 tapers. We compute the lower and upper bound on coherence using Jackknife error method with error bounds of [0.001, 0.999]. Chronux computes the phase lag of the unit (ϕ) at each frequency component. We determine the phase lag of a unit to be the value of ϕ at the frequency that is maximally coherent between the diaphragmatic signal and the unit’s spiking activity.
In addition to computing coherence, we also compute the directional selectivity index L (ref. 70) of each unit by:
where r(ϕ) is the phasic firing rate of the unit as a function of respiratory phase, and ϕj is the value of phase in the jth phase bin. L is 1 − σ2 where σ2 is the circular variance of the firing rate as a function of respiratory phase.
Phase computation and phasic responses
Phase (ϕ) is defined here from −π to π to normalize breaths across time and animals. We set the onset of each breath to ϕ = 0 and offset of each breath to ϕ = π. We then linearly interpolate a value of ϕ for each time sample between onset and offset. We set the sample immediately following breath offset to ϕ = −π, and linearly interpolate the samples until the next breath onset on the interval [−π, 0). Phasic responses of individual neurons is computed as . Note, the phase lag of a unit (defined in ‘Coherence calculations’ section) is not necessarily the phase of the respiratory cycle for which that unit’s spike rate is maximal.
Activity-based cell class decomposition
We perform unsupervised clustering to identify classes of neurons on the basis of their phasic activity patterns. We first compute the phasic activity of a given unit as above (‘Phase computation and phasic responses’ section) to get firing rate as a function of breathing phase. We bin the respiratory phase into 100 bins ( radian bin width). We then smooth the phasic curve with a three-sample Savitzky–Golay filter and normalize to that unit’s maximal firing rate. To account for possible dimensionality issues when clustering the phasic data, we create three sets of data to be clustered independently. The first set is the raw firing patterns, which is a matrix R of size n by t where n is the number of units and t is the number of phase bins (100). We create the second set by performing PCA decomposition on the matrix R. We retain only the leading four PCs, which account for >95% of the variance of R to create P, which is of size n by 4. We create the third set N by performing nonnegative matrix factorization decomposition on R. We retain 20 nonnegative matrix factorization components, such that N is of size n by 20. We then cluster each set of data using KMeans clustering and Ward agglomerative clustering (sklearn). We vary the desired number of clusters from 2 to 15. We then compute the silhouette score for each combination of data preconditioning, clustering method and number of desired clusters. Controls are performed by randomly shuffling the cluster label assigned to each unit and recomputing the silhouette score. Shuffles are repeated 5,000 times, and the 99th percentile silhouette score is reported. Lastly, we repeat this analysis for subsets of R that include only units that have a lower bound of coherence value greater than a given threshold T where T = [0, 0.1, 0.3, 0.5, 0.7, 0.9, 0.99].
Low-dimensional population analyses
To compute the PCA decompositions of the populations, we first convert the spike times into a normalized, smooth spike rate by binning the spike rates into 5-ms bins, smooth the bins with a Gaussian kernel with σ = 10 ms and compute the square root transform. The smoothed spike rates form a matrix X of size ‘number of neurons by number of time bins’, which is passed to the PCA. We fit PCA on data obtained during 100% O2 presentation and apply that PCA decomposition to the entire recording.
For Extended Data Fig. 8 we compute the PCA decompositions for a given recording separately on each condition, which results in two square matrices A, B each of size n by n where n is the number of units. We compute the principal angles71 by first computing the singular value decomposition (SVD) of the product of these two matrices:
where Σ is a diagonal matrix in which the diagonal entries are the cosines of the principal angles θ between the subspaces, ranked by decreasing magnitude. We report the cos(θ) as ‘similarity’.
In addition to PCA, we also fit rSLDS48. For detailed examples and explanations, see https://github.com/lindermanlab/ssm. Briefly, these models consist of K linear dynamical systems of the form:
where xt is the low-dimensional continuous state vector of the system at time t, A is the matrix that specifies the continuous state update at each time step, b is a bias vector and w is a noise term. xt and b have dimension D, and A is a [D × D] matrix. In the rSLDS, there are K number of A matrices and b vectors, one for each discrete state k, which we refer to as Ak and bk. When the system is in discrete state k, the continuous state is now updated as:
In comparison with a switching linear dynamical system (SLDS) in which the transition between the discrete states (k) is dependent only on the previous discrete state, switches between states in the rSLDS are dependent on the value of the continuous state xt. In other words, the low-dimensional representation of neural activity will affect the probability of being in a discrete state. More precisely, the probability of the current discrete state zt transitioning from discrete state j to discrete state i is given by:
Ri is a vector that weights the previous state .
We fit the rSLDS models with the number of discrete states K = 2 and the dimensionality of the continuous state D = 2. We use an isotropic Gaussian noise model for the dynamics. We employ a Poisson emissions model so that the mapping between the continuous state xt and the estimated neural activity yt (where yt is a vector of spike counts of length # neurons at time bin t) is a GLM with a Poisson distribution. We pass the spike counts in 10-ms bins for all neurons during 100% O2 presentation as the inputs to fit the rSLDS model.
This fits two matrices A and bias vectors b—one for each of the K states—as well as defines the transition dynamics between these two dynamical systems. A and b define the flow fields in Fig. 4. We then supply an initial to generate simulated continuous states forward in time that depend only on the fit dynamics. We set the noise term w to zero after the observation that including a w term resulted in simulated states that were far more variable than the observed states, and that states simulated with omission of the w resembled the observed states. Lastly, we perform support vector regression (scikit-learn) to generate a mapping from the observed states xt to the observed integrated diaphragm activity. We then apply that mapping to the simulated continuous states to generate a simulated diaphragm activity. The generative models either evoked a simulated diaphragm activity that exhibited periodicity and resembled normal diaphragm activity or did not generate periodic activity (nonregenerative). This distinction was clear, and no qualitatively in-between types of simulated diaphragm activity was observed. We tested whether a dynamical system with K = 2 discrete states was necessary and sufficient to result in a generative model capable of simulating diaphragm activity by fitting models with K = 1 and K = 3, respectively (Extended Data Fig. 5).
To test the robustness of the regenerative models and the relative importance of highly coherent and high firing rate neurons we perform a dropout analysis of the rSLDS model. For each recording that was capable of generating simulated diaphragmatic activity (regenerative), we sequentially removed neurons in order of their coherence (both increasing and decreasing), firing rate (highest firing rates first) or randomly, and then refit the rSLDS model and the subsequent support vector regression to the observed diaphragm. We then compute how many neurons can be removed from the population while retaining simulated diaphragmatic activity. If the dropout model’s simulated diaphragm activity exhibited a frequency 75–150% and inspiratory duration 75–125% of the full model’s simulated diaphragm activity it was considered regenerative. We fit a logistic regression on the binary variable of regenerative or not as a function of number of units dropped and determine the decision boundary of that logistic regression. In cases where very few units could be dropped while maintaining regeneration, the decision boundary was below one unit dropped despite maintenance of regeneration; we therefore define the number of units to failure to be either the decision boundary or the first failed regeneration, whichever is greater. Lastly, we divide by the total number of recorded neurons to report the percent of the population that can be lost while maintaining diaphragm activity that resembles the full model.
To align the latent dynamics of the rSLDS models, we first compute the average of the 2D continuous state xt as a function of phase by computing where ϕ is subdivided into 100 bins of size radians. This gives us a (100 by 2) matrix for each recording. We choose one recording to be the ‘target’ recording, which we denote as Z and all others as source recordings, which we denote as X. We then compute the 2-by-2 alignment matrix W as:
We then compute the aligned state: .
Sigh and gasp detection
Sighs were detected by first computing the area under the curve of the integrated diaphragm signal for each breath. We then compute the rolling median absolute deviance (MAD) with a centered 51 breath window. This gave, for each breath, the MAD of the 25 previous and 25 following breaths. Breaths for which the area under the curve of the integrated diaphragm was greater than seven times the surrounding MAD were identified as sighs.
Periods of gasping were detected only during hypoxia presentation by first computing the IBI for each breath. We smooth the IBI with a centered median filter with window length of seven breaths. If the smoothed IBI exceeded 1 s, a gasping period is determined to begin. The gasping period was deemed concluded if the smoothed IBI became shorter than 0.85 s.
Statistics
Sample sizes were not determined a priori with a power analysis. Individual datapoints are shown where feasible, and nonparametric tests are used where data are expected to be nonnormal. Otherwise data were assumed to be normal, but this was not formally tested. No animals were excluded from data analysis. In some cases, mice failed to resuscitate from hypoxia exposure; such recordings were not used.
Reporting summary
Further information on research design is available in the Nature Portfolio Reporting Summary linked to this article.
Online content
Any methods, additional references, Nature Portfolio reporting summaries, source data, extended data, supplementary information, acknowledgements, peer review information; details of author contributions and competing interests; and statements of data and code availability are available at 10.1038/s41593-023-01520-3.
Supplementary information
Source data
Acknowledgements
We thank L. Quina and S. Guan for contributions to histological processing, and A. Wei and J. Glaser for discussions and comments on the manuscript. We acknowledge Research Scientific Computing at Seattle Children’s Research Institute for providing high-performance computing (HPC) resources that have contributed to the research results reported within this paper. This work was funded by grants from the National Institutes of Health, National Heart, Lung, and Blood Institute: P01 HL14454 Project 2, R01HL151389, R01HL126523, R01HL144801 to J.-M.R.; F32HL159904 to N.E.B.
Extended data
Author contributions
N.E.B. and J.-M.R. conceived the study and designed experiments. N.E.B. performed and analyzed the experiments. N.E.B. and J.-M.R. wrote and edited the paper and figures.
Peer review
Peer review information
Nature Neuroscience thanks Juan Alvaro Gallego and the other, anonymous, reviewer(s) for their contribution to the peer review of this work.
Data availability
Data presented in this paper are available upon reasonable request. Source data are provided with this paper.
Code availability
Custom MATLAB and Python code was used to process and visualize the data in this study. All codes are available upon reasonable request.
Competing interests
The authors declare no competing interests.
Footnotes
Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Extended data
is available for this paper at 10.1038/s41593-023-01520-3.
Supplementary information
The online version contains supplementary material available at 10.1038/s41593-023-01520-3.
References
- 1.Churchland MM, et al. Neural population dynamics during reaching. Nature. 2012;487:51–56. doi: 10.1038/nature11129. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 2.Cunningham JP, Yu BM. Dimensionality reduction for large-scale neural recordings. Nat. Neurosci. 2014;17:1500–1509. doi: 10.1038/nn.3776. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 3.Gallego JA, Perich MG, Miller LE, Solla SA. Neural manifolds for the control of movement. Neuron. 2017;94:978–984. doi: 10.1016/j.neuron.2017.05.025. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 4.Lindén H, Petersen PC, Vestergaard M, Berg RW. Movement is governed by rotational neural dynamics in spinal motor networks. Nature. 2022;610:526–531. doi: 10.1038/s41586-022-05293-w. [DOI] [PubMed] [Google Scholar]
- 5.Prinz AA, Bucher D, Marder E. Similar network activity from disparate circuit parameters. Nat. Neurosci. 2004;7:1345–1352. doi: 10.1038/nn1352. [DOI] [PubMed] [Google Scholar]
- 6.Smith JC, Abdala APL, Borgmann A, Rybak IA, Paton JFR. Brainstem respiratory networks: building blocks and microcircuits. Trends Neurosci. 2013;36:152–162. doi: 10.1016/j.tins.2012.11.004. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 7.Alheid GF, McCrimmon DR. The chemical neuroanatomy of breathing. Resp. Physiol. Neurobiol. 2008;164:3–11. doi: 10.1016/j.resp.2008.07.014. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 8.Anderson TM, et al. A novel excitatory network for the control of breathing. Nature. 2016;536:76–80. doi: 10.1038/nature18944. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 9.Baertsch NA, Severs LJ, Anderson TM, Ramirez JM. A spatially dynamic network underlies the generation of inspiratory behaviors. Proc. Natl Acad. Sci. USA. 2019;116:7493–7502. doi: 10.1073/pnas.1900523116. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 10.Baertsch NA, Baertsch HC, Ramirez JM. The interdependence of excitation and inhibition for the control of dynamic breathing rhythms. Nat. Commun. 2018;9:843. doi: 10.1038/s41467-018-03223-x. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 11.Kam K, Worrell JW, Ventalon C, Emiliani V, Feldman JL. Emergence of population bursts from simultaneous activation of small subsets of preBötzinger complex inspiratory neurons. J. Neurosci. 2013;33:3332–3338. doi: 10.1523/JNEUROSCI.4574-12.2013. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 12.Smith JC, Ellenberger HH, Ballanyi K, Richter DW, Feldman JL. Pre-Bötzinger complex: a brainstem region that may generate respiratory rhythm in mammals. Science. 1991;254:726–729. doi: 10.1126/science.1683005. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 13.Thoby-Brisson M, Ramirez J-M. Identification of two types of inspiratory pacemaker neurons in the isolated respiratory neural network of mice. J. Neurophysiol. 2001;86:104–112. doi: 10.1152/jn.2001.86.1.104. [DOI] [PubMed] [Google Scholar]
- 14.Guyenet PG, Bayliss DA. Neural control of breathing and CO2 homeostasis. Neuron. 2015;87:946–961. doi: 10.1016/j.neuron.2015.08.001. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 15.Wu J, et al. A V0 core neuronal circuit for inspiration. Nat. Commun. 2017;8:544. doi: 10.1038/s41467-017-00589-2. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 16.Tan W, Pagliardini S, Yang P, Janczewski WA, Feldman JL. Projections of preBötzinger complex neurons in adult rats. J. Comp. Neurol. 2010;518:1862–1878. doi: 10.1002/cne.22308. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 17.Yang CF, Kim EJ, Callaway EM, Feldman JL. Monosynaptic projections to excitatory and inhibitory preBötzinger complex neurons. Front. Neuroanat. 2020;14:58. doi: 10.3389/fnana.2020.00058. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 18.Yang CF, Feldman JL. Efferent projections of excitatory and inhibitory preBötzinger complex neurons. J. Comp. Neurol. 2018;526:1389–1402. doi: 10.1002/cne.24415. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 19.Nonomura K, et al. Piezo2 senses airway stretch and mediates lung inflation-induced apnoea. Nature. 2016;541:176–181. doi: 10.1038/nature20793. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 20.Yu J. Airway mechanosensors. Respir. Physiol. Neurobiol. 2005;148:217–243. doi: 10.1016/j.resp.2004.12.007. [DOI] [PubMed] [Google Scholar]
- 21.Moore JD, et al. Hierarchy of orofacial rhythms revealed through whisking and breathing. Nature. 2013;497:205–210. doi: 10.1038/nature12076. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 22.Takatoh, J. et al. The whisking oscillator circuit. Nature10.1038/s41586-022-05144-8 (2022). [DOI] [PMC free article] [PubMed]
- 23.Jun JJ, et al. Fully integrated silicon probes for high-density recording of neural activity. Nature. 2017;551:232. doi: 10.1038/nature24636. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 24.Kvitsiani D, et al. Distinct behavioural and network correlates of two interneuron types in prefrontal cortex. Nature. 2013;498:363–366. doi: 10.1038/nature12176. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 25.Richter DW. Generation and maintenance of the respiratory rhythm. J. Exp. Biol. 1982;100:93–107. doi: 10.1242/jeb.100.1.93. [DOI] [PubMed] [Google Scholar]
- 26.Dutschmann M, Dick TE. Pontine mechanisms of respiratory control. Compr. Physiol. 2012;2:2443–2469. doi: 10.1002/cphy.c100015. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 27.von Euler C. On the central pattern generator for the basic breathing rhythmicity. J. Appl. Physiol. 1983;55:1647–1659. doi: 10.1152/jappl.1983.55.6.1647. [DOI] [PubMed] [Google Scholar]
- 28.Mattson CL, et al. Trends and geographic patterns in drug and synthetic opioid overdose deaths—United States, 2013–2019. Morb. Mortal. Wkly Rep. 2021;70:202. doi: 10.15585/mmwr.mm7006a4. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 29.Wilson N, Kariisa M, Seth P, Smith H, IV, Davis NL. Drug and opioid-involved overdose deaths—United States. 2017–2018. Morb. Mortal. Wkly Rep. 2020;69:290. doi: 10.15585/mmwr.mm6911a4. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 30.Baertsch NA, Bush NE, Burgraff NJ, Ramirez J-M. Dual mechanisms of opioid-induced respiratory depression in the inspiratory rhythm-generating network. eLife. 2021;10:e67523. doi: 10.7554/eLife.67523. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 31.Montandon G, et al. PreBötzinger complex neurokinin-1 receptor-expressing neurons mediate opioid-induced respiratory depression. J. Neurosci. 2011;31:1292–1301. doi: 10.1523/JNEUROSCI.4611-10.2011. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 32.Ramirez J-M, et al. Neuronal mechanisms underlying opioid-induced respiratory depression: our current understanding. J. Neurophysiol. 2021;125:1899–1919. doi: 10.1152/jn.00017.2021. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 33.Saunders SE, Baekey DM, Levitt ES. Fentanyl effects on respiratory neuron activity in the dorsolateral pons. J. Neurophysiol. 2022;128:1117–1132. doi: 10.1152/jn.00113.2022. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 34.Ramirez JM, Schwarzacher SW, Pierrefiche O, Olivera BM, Richter DW. Selective lesioning of the cat pre-Bötzinger complex in vivo eliminates breathing but not gasping. J. Physiol. 1998;507:895–907. doi: 10.1111/j.1469-7793.1998.895bs.x. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 35.St John W. Neurogenesis, control, and functional significance of gasping. J. Appl. Physiol. 1990;68:1305–1315. doi: 10.1152/jappl.1990.68.4.1305. [DOI] [PubMed] [Google Scholar]
- 36.Bright, F. M., Vink, R. & Byard, R. W. Brainstem Neuropathology in Sudden Infant Death Syndrome. in SIDS Sudden Infant and Early Childhood Death: The Past, the Present and the Future (eds Duncan, J. R. & Byard, R. W.) (Univ. Adelaide Press, 2018). [PubMed]
- 37.Kinney HC, Thach BT. The sudden infant death syndrome. N. Engl. J. Med. 2009;361:795–805. doi: 10.1056/NEJMra0803836. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 38.Obonai T, Yasuhara M, Nakamura T, Takashima S. Catecholamine neurons alteration in the brainstem of sudden infant death syndrome victims. Pediatrics. 1998;101:285–288. doi: 10.1542/peds.101.2.285. [DOI] [PubMed] [Google Scholar]
- 39.Deschênes M, et al. Inhibition, not excitation, drives rhythmic whisking. Neuron. 2016;90:374–387. doi: 10.1016/j.neuron.2016.03.007. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 40.Jack, J. J. B., Noble, D. & Tsien, R. W. Electric Current Flow in Excitable Cells (Oxford University Press, 1975).
- 41.Sibille J, et al. High-density electrode recordings reveal strong and specific connections between retinal ganglion cells and midbrain neurons. Nat. Commun. 2022;13:5218. doi: 10.1038/s41467-022-32775-2. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 42.Bouvier J, et al. Hindbrain interneurons and axon guidance signaling critical for breathing. Nat. Neurosci. 2010;13:1066–1074. doi: 10.1038/nn.2622. [DOI] [PubMed] [Google Scholar]
- 43.Cui Y, et al. Defining preBötzinger complex rhythm- and pattern-generating neural microcircuits in vivo. Neuron. 2016;91:602–614. doi: 10.1016/j.neuron.2016.07.003. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 44.Koizumi H, et al. Voltage-dependent rhythmogenic property of respiratory pre-Bötzinger complex glutamatergic, Dbx1-derived, and somatostatin-expressing neuron populations revealed by graded optogenetic inhibition. eNeuro. 2016;3:1047–1061. doi: 10.1523/ENEURO.0081-16.2016. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 45.Rybak IA, et al. Reconfiguration of the pontomedullary respiratory network: a computational modeling study with coordinated in vivo experiments. J. Neurophysiol. 2008;100:1770–1799. doi: 10.1152/jn.90416.2008. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 46.Segers LS, et al. Functional connectivity in the pontomedullary respiratory network. J. Neurophysiol. 2008;100:1749–1769. doi: 10.1152/jn.90414.2008. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 47.Gao P, Ganguli S. On simplicity and complexity in the brave new world of large-scale neuroscience. Curr. Opin. Neurobiol. 2015;32:148–155. doi: 10.1016/j.conb.2015.04.003. [DOI] [PubMed] [Google Scholar]
- 48.Linderman, S. et al. Bayesian learning and inference in recurrent switching linear dynamical systems. in Proceedings of the 20th International Conference on Artificial Intelligence and Statistics 914–922 (PMLR, 2017).
- 49.Gallego JA, et al. Cortical population activity within a preserved neural manifold underlies multiple motor behaviors. Nat. Commun. 2018;9:4233. doi: 10.1038/s41467-018-06560-z. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 50.Lieske SP, Thoby-Brisson M, Telgkamp P, Ramirez JM. Reconfiguration of the neural network controlling multiple breathing patterns: eupnea, sighs and gasps. Nat. Neurosci. 2000;3:600–607. doi: 10.1038/75776. [DOI] [PubMed] [Google Scholar]
- 51.Koch H, et al. Stable respiratory activity requires both P/Q-type and N-type voltage-gated calcium channels. J. Neurosci. 2013;33:3633–3645. doi: 10.1523/JNEUROSCI.6390-11.2013. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 52.Juárez-Vidales J, et al. Configuration and dynamics of dominant inspiratory multineuronal activity patterns during eupnea and gasping generation in vitro. J. Neurophysiol. 2021;125:1289–1306. doi: 10.1152/jn.00563.2020. [DOI] [PubMed] [Google Scholar]
- 53.Gardner, R. J. et al. Toroidal topology of population activity in grid cells. Nature10.1038/s41586-021-04268-7 (2022). [DOI] [PMC free article] [PubMed]
- 54.Del Negro CA, Funk GD, Feldman JL. Breathing matters. Nat. Rev. Neurosci. 2018;19:351–367. doi: 10.1038/s41583-018-0003-6. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 55.Tan W, et al. Silencing preBötzinger complex somatostatin-expressing neurons induces persistent apnea in awake rat. Nat. Neurosci. 2008;11:538–540. doi: 10.1038/nn.2104. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 56.Dhingra RR, Dick TE, Furuya WI, Galán RF, Dutschmann M. Volumetric mapping of the functional neuroanatomy of the respiratory network in the perfused brainstem preparation of rats. J. Physiol. 2020;598:2061–2079. doi: 10.1113/JP279605. [DOI] [PubMed] [Google Scholar]
- 57.Morris KF, et al. Carotid chemoreceptors tune breathing via multipath routing: reticular chain and loop operations supported by parallel spike train correlations. J. Neurophysiol. 2018;119:700–722. doi: 10.1152/jn.00630.2017. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 58.Pilarski JQ, Leiter JC, Fregosi RF. Muscles of breathing: development, function, and patterns of activation. Compr. Physiol. 2011;9:1025–1080. doi: 10.1002/cphy.c180008. [DOI] [PubMed] [Google Scholar]
- 59.Wei XP, Collie M, Dempsey B, Fortin G, Yackle K. A novel reticular node in the brainstem synchronizes neonatal mouse crying with breathing. Neuron. 2022;110:644–657. doi: 10.1016/j.neuron.2021.12.014. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 60.Huff A, et al. Strategies for the integration of cough and swallow to maintain airway protection in humans. Lung. 2018;196:601–608. doi: 10.1007/s00408-018-0133-7. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 61.Garcia AJ, Koschnitzky JE, Ramirez JM. The physiological determinants of sudden infant death syndrome. Resp. Physiol. Neurobiol. 2013;189:288–300. doi: 10.1016/j.resp.2013.05.032. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 62.Pena F, Parkis MA, Tryba AK, Ramirez JM. Differential contribution of pacemaker properties to the generation of respiratory rhythms during normoxia and hypoxia. Neuron. 2004;43:105–117. doi: 10.1016/j.neuron.2004.06.023. [DOI] [PubMed] [Google Scholar]
- 63.Tryba AK, Peña F, Ramirez J-M. Gasping activity in vitro: a rhythm dependent on 5-HT2A receptors. J. Neurosci. 2006;26:2623–2634. doi: 10.1523/JNEUROSCI.4186-05.2006. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 64.Viemari J-C, Garcia AJ, III, Doi A, Ramirez J-M. Activation of alpha-2 noradrenergic receptors is critical for the generation of fictive eupnea and fictive gasping inspiratory activities in mammals in vitro. Eur. J. Neurosci. 2011;33:2228–2237. doi: 10.1111/j.1460-9568.2011.07706.x. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 65.Kinney HC, Haynes RL. The serotonin brainstem hypothesis for the sudden infant death syndrome. J. Neuropathol. Exp. Neurol. 2019;78:765–779. doi: 10.1093/jnen/nlz062. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 66.Bruno AM, Frost WN, Humphries MD. A spiral attractor network drives rhythmic locomotion. eLife. 2017;6:e27342. doi: 10.7554/eLife.27342. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 67.Siegle JH, et al. Survey of spiking in the mouse visual system reveals functional hierarchy. Nature. 2021;592:86–92. doi: 10.1038/s41586-020-03171-x. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 68.Shamash, P., Carandini, M., Harris, K. & Steinmetz, N. A tool for analyzing electrode tracks from slice histology. Preprint at bioRxiv10.1101/447995 (2018).
- 69.Bokil H, Andrews P, Kulkarni JE, Mehta S, Mitra PP. Chronux: a platform for analyzing neural signals. J. Neurosci. Meth. 2010;192:146–151. doi: 10.1016/j.jneumeth.2010.06.020. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 70.Mazurek M, Kager M, Van Hooser SD. Robust quantification of orientation selectivity and direction selectivity. Front. Neural Circuits. 2014;8:92. doi: 10.3389/fncir.2014.00092. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 71.Björck Ȧ, Golub GH. Numerical methods for computing angles between linear subspaces. Math. Comput. 1973;27:579–594. [Google Scholar]
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.
Supplementary Materials
Data Availability Statement
Data presented in this paper are available upon reasonable request. Source data are provided with this paper.
Custom MATLAB and Python code was used to process and visualize the data in this study. All codes are available upon reasonable request.