Abstract
Temporal lobe epilepsy (TLE) is characterized by recurrent seizures driven by synchronous neuronal activity. The reorganization of the dentate gyrus (DG) in TLE may create pathological conduction pathways for synchronous discharges in the temporal lobe, though critical microcircuit-level detail is missing from this pathophysiological intuition. In particular, the relative contribution of adult-born (abGC) and mature (mGC) granule cells to epileptiform network events remains unknown. We assess dynamics of abGCs and mGCs during interictal epileptiform discharges (IEDs) in mice with TLE as well as sharp-wave ripples (SPW-Rs) in healthy mice, and find that abGCs and mGCs are desynchronized and differentially recruited by IEDs compared to SPW-Rs. We introduce a neural topic model to explain these observations, and find that epileptic DG networks organize into disjoint, cell-type specific pathological ensembles in which abGCs play an outsized role. Our results characterize identified GC subpopulation dynamics in TLE, and reveal a specific contribution of abGCs to IEDs.
Subject terms: Epilepsy, Hippocampus, Adult neurogenesis
The dentate gyrus is involved in synchronous discharges and seizures, but its microcircuit functional organization in TLE is unclear. Here, the authors show that interictal discharges recruit specific granule cell ensembles dominated by adult-born immature neurons.
Introduction
Temporal lobe epilepsy (TLE) is a common neurological disorder characterized by recurrent focal seizures originating in the mesial temporal lobe, most commonly the hippocampus (HPC). While the circuit mechanisms of TLE are not well-understood, it is thought that the pathological features of TLE emerge from a complex series of microlevel reorganizational steps leading to persistent perturbation of the excitatory and inhibitory processes regulating entorhinal–HPC interactions1–4. Hypersynchronous macrolevel network events associated with TLE, in turn, are thought to be primarily the result of such microlevel alterations to underlying network connectivity within the HPC formation5–9.
Macrolevel synchronous events in epilepsy can be identified in electroencephalography (EEG) or local field potential (LFP) recordings as large amplitude and long duration electrographic seizures10,11, high frequency events12, and most commonly and frequently, interictal epileptiform discharges (IEDs)13–15. These EEG events are thought to arise from pathophysiological changes to excitatory and inhibitory microcircuits in the epileptic network16. IEDs are transient EEG events characterized by a short duration (<100 ms) and large amplitude, and include multiphasic discharges as well as single interictal spikes17. At the macrolevel, these events appear to be the result of widespread, recurrent, synchronous population firing, though recent investigations into population dynamics at the circuit level have revealed heterogeneity of individual neuron responses during IEDs2,18. This suggests that relatively sparse sub-ensemble dynamics support IEDs, and that these dynamics may contribute to the diversity of epileptiform activity identified in EEG or LFP recordings. These observations have been corroborated in human epilepsy patients via multiunit activity recordings from depth electrodes19. In addition, observations supporting this hypothesis have been made in animal models of TLE by imaging excitatory granule cells (GCs) of the dentate gyrus (DG) in an in vitro slice preparation2, and imaging either excitatory or inhibitory cell types in CA1 in vivo1. While both excitatory and inhibitory cell classes have been shown to be involved in IEDs, how the collective activity of heterogeneous principal cell types gives rise to local network dynamics during pathological activity in chronic epilepsy in vivo, especially in the upstream nodes whose outputs shape CA1 excitation–inhibition dynamics, remains incompletely understood.
As the entry node of the HPC, the DG plays a critical role in cognitive processing by regulating the propagation of HPC feedforward drive20. At the microcircuit level, strong local inhibition and lack of recurrent excitation of GCs result in the sparse GC population activity that is thought to support computational functions such as pattern separation and novelty detection21,22. This intrinsic low excitability is also thought to enable the DG to restrict the relay of synchronous activity from the entorhinal cortex into the HPC, thereby regulating the propagation of excitatory activity, a property known as dentate gating23,24. The breakdown of the DG gate is hypothesized to contribute to epileptogenesis, leading to seizure generalization as well as cognitive and memory deficits25,26. In the adult DG, new GCs are continually generated and functionally integrated into DG circuitry27–29. This adult-born GC (abGC) subpopulation of the DG network is especially sensitive to seizure-induced reorganization30–35, that may take the form of an altered level of neurogenesis36–38, mossy fiber sprouting33,39–43, abnormal formation and persistence of basal dendrites on abGCs31,32,44,45 as well as ectopic dispersion and migration of abGCs into the hilus or CA330,46,47. A recent in vivo study of normal DG function demonstrated that abGCs are intrinsically more active and less stimulus-selective than their mature counterparts (mGCs)48. Together, these findings strongly implicate abGCs in the development of epilepsy, and support a hypothesis in which the relative hyperactivity of abGCs is amplified through recurrent microcircuits in the epileptic DG, resulting in generalized synchronous seizure activity in TLE31,34,35,49–51. However, at present there are no in vivo data allowing direct comparisons of the activity patterns of major GC subpopulations and their relative contribution to functional network structure during macrolevel epileptic events.
In the present study, we genetically label populations of mGCs and abGCs in the HPC, induce the intra-HPC kainic acid (KA) model of chronic TLE, and then dissect the activity dynamics of these neural populations using a combination of in vivo two-photon calcium imaging and LFP recording. To uncover ensemble structure underlying high-density calcium recordings of the chronically epileptic DG network, we introduce a generative model framework for ensemble recruitment that captures existing knowledge and biological intuitions about the mechanisms of IEDs. Performing statistical inference on this class of model is difficult in general, but we show that our biologically motivated model can be reduced to Latent Dirichlet Allocation (LDA), a well-known topic model with many tractable inference algorithms52. We use this reduction, in combination with tools from the LDA literature, to infer the recruitment of microensembles by network-level events. Consistent with previous in vitro functional imaging from the DG of slices taken from chronically epileptic animals2, we found structured ensemble dynamics within the GC population during IEDs in vivo. In addition, we also identified cell-type specific ensemble structure nested within the abGC and mGC populations, with distinct contributions to network dynamics in the interictal period. Finally, we found that abGC ensembles participate in network activity during IEDs to a disproportionately higher degree than mGCs, and in a desynchronized manner compared to activity during physiological high frequency electrographic events i.e., sharp-wave ripples (SPW-Rs)53. These observations suggest that the chronically epileptic DG network exhibits robust underlying functional organization in temporal correlation and GC lineage. Because abGCs are strongly reorganized in TLE compared to their mature counterparts30–33, our results suggest that this reorganization produces functionally distinct ensembles that have different pathophysiological roles identifiable in vivo.
Results
Two-photon calcium imaging of the epileptic DG in vivo
Dissecting the functional and anatomical microcircuit structure of the DG in vivo requires techniques that allow simultaneous recording of neural activity from a wide section of the network at single-cell resolution, while also permitting molecular identification of the recorded cells. This was achieved by performing two-photon calcium imaging of the DG in head-fixed mice on a circular treadmill48. Combining these techniques with a cell-type specific Cre driver line allowed us to indelibly label and image abGCs and mGCs simultaneously in a single recording48 (Fig. 1a, b), which is not feasible with electrophysiological recordings or in freely moving animals. To indelibly label abGCs, NestinCreERT2 mice were crossed with a conditional reporter line (Ai9) and pulsed with tamoxifen (TMX) to express the fluorescent red reporter (tdTomato) in young abGCs (abGCs were 5 weeks old at the start of imaging, Fig. 1c, see “Methods” section). Mice were then stereotactically injected in the dorsal DG with a recombinant adeno-associated virus (rAAV) to express GCaMP6f in all GCs. KA was injected unilaterally into the ventral HPC ipsilateral to the viral injection site to induce status epilepticus, simulating the initial insult that leads to epileptogenesis in humans54,55. The KA injection site was chosen to minimize associated gliosis and cell loss within the imaging field of view, thereby permitting imaging of the DG within the vicinity of the main insult to the network55. Three days later, a chronic imaging window was implanted over the dorsal DG providing optical access necessary for cell-type-specific imaging of the GC layer in the dorsal blade of the DG. An ipsilateral single-channel LFP electrode was also implanted in the HPC ipsilateral to KA injection targeting the DG, and an electromyographic electrode implanted in the cervical trapezius neck muscle (Fig. 1b, c). After recovering from the implant surgery, mice were continuously video-EEG monitored, and TLE onset was determined by the occurrence of the first detected generalized motor seizure event, which occurred on average 10 days after KA injection (242.9 ± 20.4 h, mean ± s.d.) in n = 5 mice.
Given that the laminar organization of GCs in the dorsal DG is parallel to the optical field of view56, we can capture a large number of GCs within the GC layer and the sub-granular zone (Fig. 1b). To further increase simultaneous imaging of multiple cell-type specific populations across these layers, we coupled our image acquisition control to a piezoelectric crystal for fast axial focusing and near simultaneous multiplane imaging57 (Fig. 1b). With multiplane imaging, we were able to simultaneously capture on the order of 433 ± 261 mGC and 56 ± 31 abGC (mean ± s.d.) active regions of interest within a single subject (example LFP recording, population ΔF/F to series of IEDs and example traces triggered by one IED shown in Fig. 1d, note that only a fraction of the GCs participate in any given IED; see below). In total, across five mice, 2164 mGCs (tdTomato-negative) and 278 abGCs (tdTomato-positive) (Table S1) were identified as active GC regions of interest during three consecutive 10 min long imaging sessions for each mouse (see “Methods” section).
Time domain, frequency domain, and mean calcium response of IEDs
The low probability of capturing a spontaneous seizure event during a two-photon imaging session poses a challenge to the optical dissection of epileptic networks in vivo. However, IEDs provide a series of functional “snapshots” of discrete components underlying the ictogenic circuits, during which only a subset of the network is activated1,2. Therefore, we sought to analyze network activations during IEDs with the aim of first understanding these “snapshots” individually, and ultimately assembling them into a complete tapestry of the network. To this end, we segmented the LFP into time bins matching the imaging frames, and classified the imaging frames during which IEDs occurred. Traditionally, IEDs are classified by hand, based on morphological properties such as event width, deflection amplitude, and deflection shape; however, annotating these features for each event manually is labor-intensive. We developed a procedure for semi-supervised IED classification and detection to generalize these principles (Fig. 2a). Because all information about the width, amplitude, and morphology of each event is contained in its frequency-domain representation, we trained a classifier on the power spectrum of a small set of hand-identified IEDs and allowed it to generalize and update its predictions in an interactive manner; final classification results were verified for correctness by the experimenters (see “Methods” section). Other types of interictal events, such as high-frequency oscillations were not included by the classifier and were thus excluded from further analysis (Fig. 2a). Consistent with previous work58, we found morphological heterogeneity within the classified IEDs. Despite this heterogeneity, frames containing IEDs exhibit a stereotyped LFP power spectrum after applying a 1/f correction, supporting the reliability of this classification method (Fig. 2b). We find an average IED rate of 1.13 ± 0.53 IED/s, with an average of 680 ± 319 IEDs per 10-min recording session (mean ± s.d.) (Fig. 2c). We then sought to quantify the modulation of single cells by IEDs. It has been hypothesized that IEDs are primarily driven by abGC activity59, and indeed we found that abGCs are significantly more responsive to IEDs on average compared to mGCs (p < 0.05, Wilcoxon signed-rank test), though both are close to 0 (Fig. S1A), without significant differences in the responses of the two populations to onset (p = 0.89) or offset (p = 0.34) of locomotion (Fig. S1A). Nevertheless, we found that the mean IED-triggered PSTH was flat for both abGCs and mGCs (Fig. 2d). This observation is important as it establishes that at least one of two conditions must hold: either (a) most IEDs only recruit a sparse subset of cells (in which case the “average” cell’s response to any particular IED would be small), or (b) most cells only respond to a sparse subset of IEDs (in which case any particular cell’s response to the “average” IED would be small). In the remainder of the paper, we show that not only are both (a) and (b) true, but we can also identify subsets of cells that are consistently recruited together, thereby relating macrolevel LFP activity to the activity of individual neurons in a local network.
Different IEDs recruit different populations of GCs
IEDs represent heterogeneous, global events in the epileptic brain58,60. Given that we can only observe IEDs in a local network, treating them in aggregate as if they are homogeneous obscures the microlevel population activity patterns underlying each individual IED. We used logistic regression to ask the question of whether abGCs vs mGCs exhibited different IED response profiles: by training a logistic regression linear classifier to decode cell identity based solely on the cells’ IED responses, we assessed whether calcium responses of abGCs and mGCs differed on an IED-by-IED basis (Fig. 3a). This classification procedure is equivalent to projecting the original M-dimensional responsiveness vector for each cell (where M is the number of electrographically identified IEDs) down to a 1D line representing a scalar “mGC-ness” score. The histogram of scores is bimodal, i.e., mGCs (blue) are mapped to positive scores and abGCs (red) are mapped to negative scores (Fig. 3b). To perform the projection, a real-valued “weight” (A.U.) shared by all cells is calculated for each IED, that can be interpreted as the degree to which positive modulation by that IED is associated with mGC identity (positive weights, which we call a “pro-mGC” IED) versus abGCs (negative weights, “anti-mGC” IED). Under logistic regression, the two classes are assumed to be contrastive; that is a “pro-mGC” IED is associated with both positive modulation of mGCs or negative modulation of abGCs, and likewise an “anti-mGC” IED is associated with negative modulation of mGCs or positive modulation of abGCs. Sorting the weights (thresholded to a cutoff of ±0.1) by IED time (Fig. 3b, middle) shows that most events are associated with some pro-mGC or anti-mGC bias, though this analysis does not permit us to say whether the activations are structured, as the sequence of mGC- and abGC-predictive events appears random when treating the two populations as internally homogeneous (Fig. 3b, middle and bottom). Thus, we conclude that each IED carries a small amount of information about cell identity, but the recruitment profile of each event is stochastic as any particular cell may be positively modulated, negatively modulated, or unresponsive to any particular IED regardless of the cell’s identity. However, the complete profile of a cell’s response to all IEDs is sufficient to predict cell identity (i.e., abGC or mGC) with high accuracy (Fig. 3b).
We used L1 and L2 regularization of the classifier in order to further probe how cell identity influences participation in IEDs. The regularized classifier could find that participation in a particular sequence of mixed events is predictive of abGC identity, which would indicate that abGCs and mGCs are internally coherent and respond to IEDs through population-specific patterns. A second possibility is that the regularized classifier may find individual “pure” or near-pure mGC-associated IEDs, which would indicate that some IEDs are attributable almost exclusively to one population. Finally, a third possibility is that the regularization penalty results in a much worse test accuracy, which would indicate that the entire profile of a cell’s response to IEDs is necessary to classify the cells accurately.
Based on the cells’ IED responses, an L2-regularized logistic regression classifier achieved 85 ± 5% accuracy on a test set, balanced to remove the effect of population size, cross-validated over 100 random 80–20 train-test splits (Fig. 3c, left; Fig. S1E). Subsequently, we use a sparsifying (L1) regularization penalty in order to concurrently identify the subset of IEDs that are “most informative” about cell identity, in the sense that knowing a cell’s response to those events is almost as predictive of identity as knowing the cell’s complete response profile (Fig. 3c right; see Methods). The L1 regularization penalty resulted in a slight reduction in test set accuracy (81 ± 5% accuracy using the same procedure), but identified IEDs with population-specific recruitment profiles and disregarded the majority that exhibited mixed activation, suggesting the second hypothesis above holds true, i.e., cell identity can be decoded from participation in events that other cells of the same type are known to participate in (Fig. 3c; see “Methods” section). We verified the efficacy of this classification procedure with a two-way analysis of variance, that yielded a main effect for IED class (pro-mGC vs. anti-mGC; F(3,54) = 14.11, p = 6 × 10−7), such that pro-mGC IEDs significantly positively modulated mGCs compared to anti-mGC IEDs. The main effect of population was non-significant (F(3,54) = 0.13, p = 0.71), suggesting that our observations cannot be explained by intrinsic differences in responsiveness between the two populations independent of the type of IED. However, the interaction effect was significant (F(3,54) = 10.29, p = 0.002), indicating a crossing over effect, i.e., that pro-mGC IEDs significantly positively modulated mGCs over abGCs. This verifies that single cell responses to the “most informative” IEDs identified by this procedure showed high within-population heterogeneity but striking between-population differences (Fig. S1B): in contrast to the flat response to undifferentiated IEDs (Fig. 2d), we found subsets of IEDs that significantly modulate the mGC population (both positively and negatively), while the abGC population is not significantly modulated in either direction by either event type (Fig. 3d and Fig. S1C). Thus, we conclude that most IEDs differentially recruit abGCs compared to mGCs, but the recruitment of any particular cell by any IED appears random. Reliance on only one population is allowable under the assumptions of logistic regression, as an algorithm that classifies from the mGC population with high sensitivity and specificity can achieve high accuracy overall by simply classifying “non-mGC” examples as abGCs. This limitation highlights the need for a model that can more expressively capture the activation of different populations, and perhaps functionally-defined subpopulations, by different subsets of IEDs.
A generative model of latent ensemble recruitment uncovers within-population ensemble dynamics
The linear decoding analyses above imply heterogeneous, cell type-related dynamics among IEDs. However, we have so far assumed that abGCs and mGCs form internally homogeneous populations, while there is a growing body of evidence that this is not the case61. A limitation of logistic regression in this setting is that a mix of abGCs and mGCs respond to most IEDs, but the mix itself may be structured. Even among the “most informative” pro-mGC and anti-mGC IEDs identified by the sparse decoder (Fig. 3c), there is clear heterogeneity of the responses between individual cells within a population, even within a single mouse (Fig. S1B). Furthermore, the linear decoding analysis classified abGCs as those cells that did not significantly respond to pro-mGC or anti-mGC IEDs, whereas we might also like to identify IEDs that independently modulate the abGC population. We sought to construct a generative model that relates the population activity in the imaged local network to macrolevel IEDs via the hidden functional ensemble structure within the network, that can be compared post hoc with ground truth GC identities. This model should be able to account for the ensemble structure and activation underlying the data with the following properties: (1) Identifies functional ensembles that can be compared with cellular identities; (2) Infers underlying ensemble structure incrementally revealed by successive IEDs, even if an entire ensemble is never observed to be active all at once; (3) Sliding scale of activation: ensembles may be activated to differing degrees by different IEDs; (4) Mixed membership: cells may be associated with more than one ensemble, and may be associated to differing degrees to ensembles; and (5) Parameter inference (ensemble composition, activation in each IED) from data is computationally tractable.
We developed a generative model motivated by Bayesian topic modeling52,62, that we call Latent Ensemble Recruitment (LER), and that has all of these properties. This LER model (Fig. 4a and Fig. S2A) assumes that the network consists of K fixed, unobserved ensembles of cells. Each IED recruits a sparse subset of these ensembles, and each ensemble may activate a few or many of its cells, depending on the degree to which it was excited by that IED (see “Methods” section for full description of the generative process). Various strategies are possible for performing inference on this model, though the number of latent variables we must learn compared to the number of observables presents a challenge. One convenient inference strategy is to perform ad hoc inference on z using bootstrapping to binarize the dataset (z′), in order to solve the resulting inference using a standard variational Bayes solver63. This ad hoc procedure is equivalent to reducing our model to Latent Dirichlet Allocation, a closely related model for which the inference problem has been well-studied, using the topic modeling analogies: ensemble ~ “topic”, spike ~ “document”, cell ~ “word”52 (Fig. S2A). The binarized data z′ (Fig. 4b) contains some qualitative ensemble structure and temporally distinct activations between abGCs and mGCs. The ensemble activation matrix θ (Fig. 4c) shows temporally coherent activations (i.e., an ensemble activated by event i is likely to also be activated by events i − 1 and i + 1), despite the exchangeability of IEDs (i.e., the model receives no information about the order or relative timing of events). This temporal coherence may be due to temporary increases in excitability localized to the microcircuits underlying each IED, such that subsequent IEDs are more likely to recruit the previously excited ensembles. Figure 4d shows examples of learned ensembles σ: we say a cell “participates” in an ensemble k if the weight of that cell in σk is >3/N (i.e., greater than 3× uniform prior level). Even though the model receives no information about cell lineage, from these inferred results we can clearly distinguish mGC-predominant, abGC-predominant, and mixed ensembles (Fig. 4d). Consistent with results previously reported in vitro2, we also find low overlap (≤3 cells) between any pair of ensembles, as measured by the Pearson correlation between ensemble vectors (Fig. S2B, top). Because of this low overlap, we can interpret the LER results as a sort on the cell-cell correlation matrix. Sorting the correlation matrix accordingly, we find that the cells within an ensemble are highly correlated to each other and less correlated to cells from other ensembles, as expected (Fig. 4e and Fig. S2B, bottom), providing independent confirmation that the ensembles discovered by the model are reasonable. Finally, we sought to determine whether the most active ensemble in each IED could be decoded from the power spectrum of the IED itself. For small ensemble number (K), we can decode the most active ensemble in a held-out test set significantly better than chance using a random forest classifier with 100 estimators trained on the LFP spectrum collected within an imaging frame (Fig. 4f). We conclude that IEDs are driven by multiple ensembles with temporal and lineage-dependent structure, and conversely, different ensembles are associated with distinct electrographic signatures on LFP.
Statistics of ensemble structure across animals
Finally, we sought to quantify the extent to which the underlying ensemble structure is homologous across animals. We fit LER to data (n = 5 mice) over a range of ensemble numbers K, with ten realizations of LER fitted per K, per mouse. We find that the latent ensembles are disjoint for all animals: for choices of K larger than 3, the cell vectors of distinct ensembles (σ) had Pearson correlations near 0 (Fig. S2A, top). In contrast, we find relatively higher activity correlations between ensembles, as measured by Kendall’s tau (Fig. S2A, bottom). For K values larger than 3, off-diagonal entries in the cell correlation matrix are consistently weakly to moderately correlated; this correlation increases monotonically and reached τ = 0.5 when K = 15. This observation validates our choice of K = 6 across mice, where activity correlation between ensembles is weakly positive, suggesting some contribution of multiple ensembles to each spike; selecting a larger value for K than the true number of underlying ensembles would artificially split the true ensembles, resulting in spurious ensembles with correlated activity. Importantly, we found that irrespective of the number of ensembles specified, the fraction of abGC-dominated ensembles remains fixed at 25% across mice, more than double the proportion of abGCs in the extracted population (~11%) (Fig. 4g). As abGCs themselves represent about 11% of the identified cells in our dataset, and less than 5% of GCs in the DG network27–29, this result strongly suggests that abGC-dominated ensembles disproportionately drive network activity in the epileptic DG during IEDs. We also compared the “purity” of the “purest” abGC ensemble to the “purest” mGC ensemble and found that this “maximum purity” (expressed as a fraction from 0 to 1) was increasing with K for both populations, but nearly pure (>90%) mGC ensembles were identified regardless of K, whereas the purest abGC ensemble only contained 80% abGCs at K = 20 (Fig. S2F). This result further suggests that certain mGCs are coupled to abGCs; given evidence that newborn cells have a more active and independent role in the network while mature cells are more integrated into the feedforward pathway57, one possible explanation of this observation is that the abGC ensemble feeds input to these mGCs, which in turn propagate this activity downstream. Together, we conclude that different epileptic animals organize ensembles with similar statistical properties, suggesting conserved structural and functional motifs underlying the epileptic network.
Sharp-wave ripples recruit synchronized mixed ensembles of abGCs and mGCs
To verify that these observations about ensemble structure are a feature of TLE rather than a physiological feature of the DG network in response to any electrophysiological event, we imaged DG while recording sharp-wave ripples (SPW-Rs) in stratum pyramidale of CA1 in non-epileptic mice (Fig. S4A). We then used our model to examine the ensemble structure underlying SPW-Rs in the control DG. As in Fig. 4, we compute a binarized “recruitment” matrix of cell activity that is significantly positively modulated within SPW-Rs compared to non-SPW-R epochs (see “Methods” section). From the recruitment matrices, we observe qualitatively that the abGC and mGC populations appear to be activated more sparsely and more synchronously with each other than in IEDs in TLE (Fig. S4B). As before, we train the model on the binarized recruitment matrix (Fig. S4C,D). We find that the non-epileptic DG does not segregate into abGC and mGC ensembles; instead, all inferred ensembles are mixed. Nonetheless, we do confirm that the learned ensembles correspond to real correlation structure in the underlying cells (Fig. S4E). To quantify this desynchronization across animals, we calculated Kendall’s tau correlation between the median event responsiveness vectors of the two populations in each recording session, and find that abGCs are significantly less synchronous with mGCs in IEDs in TLE compared to in SPW-Rs in control (p = 0.017, Mann–Whitney U-test on NTLE = 17 IED recording sessions from five mice, NCTRL = 8 SPW-R recording sessions from two mice; Fig. S4F). Furthermore, to correlate this abGC-mGC desynchronization with chronic TLE, we looked at the seizure area-under-curve (AUC) measure of electrographic seizure severity over a 24-h vEEG period while mice were in their home cage. Regression lines fit to either IED synchrony or “event synchrony” (also including non-epileptic mice) vs. seizure AUC suggest an inverse relationship between abGC-mGC event synchrony and severity of the epileptic phenotype. The inverse relationship we find between seizure AUC and abGC-mGC synchrony is consistent with our finding that the two populations are significantly desynchronized in IEDs in TLE compared to in SPW-Rs in the nonepileptic animal (Fig. S4G).
Discussion
How macroscale pathological events emerge from microscale changes at the cellular level has been a longstanding open question in the study of TLE9. Previous imaging and electrophysiological work examining the role of specific cell types in epileptic pathology has shown that inhibitory circuits play a critical role in shaping interictal dynamics in CA11,64,65. However, relatively little is known about how the activity of the DG—the “gating” entry node to the tri-synaptic circuit—shapes downstream excitation–inhibition dynamics in vivo through excitatory output during these events. Changes within the DG abGC network have been hypothesized to contribute to the breakdown of the dentate gate which enables seizures to occur25,26,30,34,38. This question is clinically relevant, as any disease-modifying targeted therapy will depend on a robust understanding of the functional targets of the disease. In this study, we focused on the contribution of abGCs to epileptic DG circuits involved in IEDs and present an approach to evaluate the contribution of genetically identified neural populations to IEDs. We recorded abGCs and mGCs during IEDs, which reveal “snapshots” of discrete functional components underlying the epileptic network, and collated these snapshots under a generative model framework of ensemble recruitment to deduce the hidden functional organization within these networks.
The results presented here describe how populations of abGC and mGCs within the epileptic DG network differentially participate in macrolevel interictal events in vivo. Consistent with previous work in vitro2,18,58, we find significant heterogeneity in LFP and calcium responses between IEDs, with distinctly identifiable pure mGC-driven events. The events in which a cell participates constitute a unique fingerprint that is informative about the cell’s developmental lineage (abGC vs. mGC). We also find significant heterogeneity in the population responses of abGC and mGC cell-types to individual events, as well as in the within-population cell recruitment across cell-type dominated events.
We introduce Latent Ensemble Recruitment (LER), a biologically-motivated generative model of cell recruitment by interictal events. This model applies Bayesian topic modeling to in vivo two-photon calcium imaging data, and presents a conceptual framework for relating interictal events to ictogenic circuits: each microlevel population event represents a “snapshot” of a much wider macrolevel network, whose functional or synaptic organization is not directly observable, yet whose microlevel calcium response at each time point is. Each one of these snapshots reveals some information about the underlying network, that is hypothesized to be structured on multiple scales to support seizure initiation and propagation66,67. While each individual event is relatively uninformative on its own, by accumulating these snapshots in an unsupervised way, it is possible to reconstruct a more complete picture of the underlying macro network structure. When fit to real data, this cell type-agnostic and event time-agnostic model discovers microensembles with clear cell-type and temporal organization. This observation suggests that, while the recruitment of any individual cell by IEDs may appear to be random, the recruitment of ensembles exhibits statistical regularities which strongly imply a role for the underlying microcircuits in the generation of epileptiform events. In particular, the regularities which we observe correspond to biological intuitions about the underlying circuits—e.g., the observed repeated activations in time may correspond to a microcircuit entering and remaining in a hyperexcited state for several seconds, such that the circuit is likely to be recruited by global events which occur within that window. Our modeling approach revealed that IED-associated variance in network activity in the epileptic DG is disproportionately correlated with the activity of abGC-dominated ensembles. We finally explored the implications of this model in the context of SPW-R related ensemble recruitment. We find that the abGC and mGC populations are more synchronous in SPW-Rs and organize into more sparsely activated mixed ensembles compared to IEDs. These observations suggest that within DG microcircuits, these two populations perform ripple-associated computations in conjunction; in contrast, the emergence of desynchronized, population-specific ensembles in TLE suggests that abGCs decoupling from mGCs and becoming coupled to each other may be one of the pathomechanisms of TLE. These observations are consistent with the hypothesis that abGC-dominated ensembles drive pathological IED-associated network activity. However, the experiments performed here cannot definitively exclude alternative hypotheses, such as the possibility that IED and ensemble heterogeneity are driven by variability in the origin of IEDs; testing such hypotheses could form the basis of future experiments.
While our approach combines multipopulation two-photon calcium imaging and LFP recording in vivo, the difference in temporal resolution between LFP events (ms) and calcium signals (100 s of ms) is an important limitation, meaning unambiguous attribution of LFP events to calcium events is not always possible. We opted not to use spike deconvolution because spike deconvolution has not been validated for dentate granule cells, and there remain a number of unresolved questions surrounding the approach, especially on non-pyramidal populations68. To circumvent this problem, we average the calcium traces of many cells and IEDs in order to isolate the cellular IED response by the law of large numbers.
In this work, we investigated whether features of the low-dimensional global LFP signal can be decoded from the activities of individual cells and ensembles. The critical inverse problem of whether the (high-dimensional) population activity can be predicted from the one-dimensional global LFP signal is of great interest, though more difficult as it requires predicting a nonlinear statistic of high-dimensional data from a one-dimensional LFP signal. Our finding that, for small ensemble numbers, the most active ensemble in each IED could be decoded above chance from the power spectrum of the IED alone suggests that specific GC ensembles do have distinct LFP signatures (see Valero et al.69 for another example). The number of ensembles that can be decoded from this low-dimensional signal does not necessarily reflect the number of ensembles in the network; rather, the complexity of decoding increases combinatorially with the number of ensembles to be decoded. We believe decoding of larger ensemble numbers would improve with more training data, though this is outside the scope of this current work. While there is no obvious way to equate ensembles across animals, whether these LFP signatures are conserved across animals poses an interesting open question for future work. We hypothesize that there exists an equivalence relation between the LFP spectral signatures of IEDs (whether from the same or different animals). Combined with our observations here, this would imply that an equivalence class structure exists for cellular ensembles across animals via their LFP signatures, possibly offering an effective bridge to the micro–macro disconnect. While our results apply to the adult-born and mature subpopulations of the principal cell population in the DG, our framework of latent ensemble recruitment could motivate future experiments to also examine DG interneurons and mossy cells, which also play critical roles in the epileptic DG circuit70–72, and more generally, to investigate cell type-specific ensemble dynamics in other HPC subregions during inter-ictal and ictal events1,64,65.
Recent work73 has reported that rAAVs impair neurogenesis in the adult mouse DG, with significant implications for functional recordings of GCs relying on rAAV for delivery of a genetically encode actuators or sensors. Given the design of our study, we believe these findings have limited relevance to the work presented here: principally, Johnston and colleagues73 found that cells born two weeks or more prior to viral injection demonstrate no reduction, and in our study induction of Nestin expression by TMX occurred 2–3 weeks prior to injection with AAV1.Syn.GCaMP6f. In addition, the total volume of virus used in this study, 196 nl, is less than 1/5 the volume found to cause death of newborn cells at the same titer. Finally, even at the larger volume of 1000 nl, Johnston et al. only observed a “partial effect” of ablation at the viral titer used in this study, 1 × 1012. Most compellingly, during imaging 3 weeks post injection, we empirically see a large and active population of abGCs indelibly labeled within the NestinCreERT2 line—if this population has somehow been reduced, this effect would make our observation of an identifiable distinct role for abGCs in TLE even more remarkable.
While our method required ipsilateral partial aspiration of dorsal CA1 to gain high-resolution optical access to DG, normal DG-mediated neural dynamics has been demonstrated using similar methods in non-epileptic mice57,74,75. While normal levels of neurogenesis and general abGC morphology are not altered following aspiration57, we cannot rule out the possibility that the damage caused by the implant contributed to the microcircuit reorganization and functional pathogenesis produced by the TLE model. This is an important question, and we expect that advances in three-photon imaging76 will permit dissection of DG circuits with CA1 intact in the near future.
Although a rAAV-driven expression of GCaMP labels both excitatory and inhibitory populations in the DG, excitatory neurons form the overwhelming majority of the imaged population in this study. To quantify the potential impact of GABAergic neurons labeled among the DG GCs in the KA model, we imaged the GC layer in a Vgat-cre x Ai9-tdTomato mouse line, finding that GABAergic neurons only constitute 2.2% of the neurons in a typical FOV (Fig. S3). Therefore, while there may be a small number of unidentified interneurons in the extracted GC population, we assume that their impact on the results presented here is negligible.
Identification and characterization of circuit-level functional organization represents a critical step toward a general framework for resolving the micro-macro disconnect in chronic epilepsies9. Here we provide in vivo characterization of single cell and microcircuit-level dynamics in multiple cell populations in the epileptic DG and relate them to macroscale events in simultaneously recorded LFP. These results may suggest a new design strategy for closed-loop systems for intervening in epilepsy, based on actively recognizing the patient-specific microcircuit targets for intervention in situ. Two-photon calcium imaging is currently the only technique that permits the longitudinal functional characterization of physiological and pathological neural circuits at the cellular level, which is necessary for the dissection of epileptic microcircuits and their recruitment during IEDs in vivo. Currently, continuous monitoring of microcircuit dynamics using calcium imaging is not translatable to humans. However, long-term scalp and invasive EEG recording is routinely conducted as part of the pre- and post-surgical evaluation for intractable focal epilepsy syndromes, and is the de facto diagnostic and monitoring tool for abnormal brain activity. The input signal to any therapeutic closed-loop intervention system will be electrographic for the foreseeable future, and the critical “inverse problem” for relating electrophysiological observables back to circuit mechanisms is unavoidable. Our work here takes the first steps toward solving this “inverse problem” by connecting signatures in LFP to circuit-level events, which will be essential for the design of new-generation functional closed-loop interventions.
Methods
Experimental model and subject details
Animals: All experiments were conducted in accordance with the US National Institutes of Health guidelines and with the approval of the Columbia University Animal Care and Use committee. Male transgenic mice were obtained from The Jackson Laboratory to establish a local breeding colony on a C57BL/6J background: Nestin-CreERT2 (JAX:016261) and ROSA26-CAG-stopflox-tdTomato Ai9 (JAX:007909). The Nestin-Cre line was crossed with the Ai9 reporter line to express tdTomato in adult-born granule cell populations. Mice were housed in the vivarium on a 12 h light/dark cycle (lights on at 07:00), constant temperature (21–24 °C) and humidity (30–50%), were housed 3–5 mice per cage, and had access food and water ad libitum. Mice were housed individually during video-EEG monitoring following kainic acid injection. Mature male and female mice (>8 weeks of age) were used for all experiments.
Induction of transgene expression and experimental timeline: Expression of the transgene in all mice was induced at approximately eight weeks of age, two weeks prior to kainic acid (KA) injection. Induction in Nestin-CreERT2/tdTomato mice, involved injection of 3 mg tamoxifen (TMX) (20 mg/mL in corn oil/10% ethanol) I.P./day for 5 consecutive days. abGCs were indelibly labeled with tdTomato following injections of TMX that drove expression of Cre in Nestin+ cells. This induction procedure labels approximately 90% of the immature granule cell population expressing doublecortin48. Two weeks later, KA was injected into the ventral hippocampus to induce the epilepsy model, and GCaMP6f injected into the dorsal dentate gyrus. Following recovery from injection of KA, mice were placed in video-EEG enabled housing where LFP and behavioral activity were continuous recorded to monitor ictogenesis77. Three weeks post-KA injection, mice were habituated to being head fixed under the two-photon microscope, and Ca2+ imaging proceeded over the following 1–2 weeks (Fig. 1c).
Imaging window implant: Recombinant adeno-associated virus carrying the GCaMP6f gene (AAV2/1:hSyn-GCaMP6f) was obtained from Addgene (100837-AAV1) with titer ≥1 × 1012. The dorsal dentate gyrus was stereotactically injected using a Nanoject syringe (Drummond Scientific) with a pulled glass capillary. Injection coordinates were −2.3 mm AP, 1.5 mm ML, and −1.8, −1.65, −1.5 mm DV relative to the cortical surface. Sixty-four nanoliter of virus was injected at each DV location in 32 nL increments at a flow rate of 23 nL/s. Three days later, mice were then surgically implanted with an imaging window (diameter: 2.0 mm; height: 2.3 mm) over the left dorsal dentate gyrus. Imaging cannulas were constructed by adhering a 2 mm glass coverslip (custom cut by Potomac) to a cylindrical stainless-steel cannula (2 mm diameter × 2.3 mm height) using optical adhesive (Norland). The imaging window was implanted 100–200 µm above the hippocampal fissure, providing optical access to the granule cells in the dorsal blade of the DG, and the interneurons and mossy cells in the hilus. Briefly, following induction of anesthesia (Isoflurane: 3.5% induction, 1.5–2.0% maintenance; 1.0 L/min O2) and administration of analgesia (Metacam 5 mg/kg i.p.; Bupivacaine 2 mg/kg s.c.), the scalp was removed, and a 2.0 mm diameter craniotomy centered over the injection location was performed, using a fin-tipped dental drill. The dura was removed, and the underlying cortex aspirated until fibers within the stratum lacunosum moleculare were visible. The cannula with window was placed within the aspirated cavity and fixed to the skull with dental cement. A stainless steel straight headpost was then cemented to the skull posterior to the imaging window.
Electrode implants: During the window implant surgery, electrodes were implanted to monitor hippocampal local field potentials and neck muscle electromyographic signals. A custom monopolar electrode was constructed from 127 μm Teflon coated stainless-steel wire (A-M Systems), and inserted near the location of the KA injection in the ventral hippocampus (AP: −3.28 mm, ML: 2.75 mm, DV: −2.5 mm) ipsilateral to the imaging window to monitor and record hippocampal local field potentials. The location of the monopolar depth electrode was chosen based on previous studies showing that spontaneous seizures in the KA epilepsy model typically arise from the hippocampal formation ipsilateral to the KA injection site78. A stainless-steel jewelers screw was placed in the contralateral frontal bone for a ground electrode. To record electromyographic signals, a second stainless-steel screw was inserted in the occipital bone through overlying cervical trapezius muscle. Electrode wires were connected to a custom plug (Mill-Max strip connector) that was then cemented to the headpost. Following recovery from the implant procedure, mice underwent 24 h video-EEG monitoring for seizure detection. Following similar implant procedures, a subset of control mice was implanted with a custom bundled 4-channel electrode constructed from 51 μm PFA coated tungsten wire (A-M Systems) to monitor LFP sharp wave ripples. This probe was implanted in CA1 contralateral to the imaging window, and inserted at a 45° angle lateral to midline at the coordinates 2.3 mm AP, 2.75 mm ML relative to Bregma, and 0.9744 mm DV relative to the cortical surface.
Kainic acid injection: KA (AG Scientific, USA) was dissolved in sterile phosphate buffered saline with a final concentration of 20 mM. Using procedures described above, mice were stereotaxically injected while under isoflurane anesthesia, with 50 nL kainic acid unilaterally into a single location within the ventral hippocampus (AP: −3.28 mm, ML: 2.75 mm, DV: −3.4 mm). The location of the KA injection was chosen to allow for chronic 2-photon imaging of the dorsal dentate gyrus ipsilateral to the KA injection. Intraventral hippocampal KA injection results in epileptogenesis and seizure profiles similar to that found in the dorsal hippocampal KA model55.
In vivo 2-photon imaging of dentate gyrus: All imaging was conducted using a two-photon microscope equipped with an 8 kHz resonant scanner (Bruker). Approximately 50–100 mW of laser power under the objective was used for excitation (Ti:Sapphire laser, (Chameleon Ultra II, Coherent) tuned to 920 nm), with adjustments in power levels to accommodate varying window clarity. To optimize light transmission, we adjusted the angle of the mouse’s head using two goniometers (Edmund Optics, +/− 10-degree range) such that the imaging window was parallel to the objective. A piezoelectric crystal was coupled to the objective (Nikon 40X NIR water-immersion, 0.8 NA, 3.5 mm WD), allowing for rapid displacement of the imaging plane in the z-dimension. We continuously acquired red (tdTomato) and green (GCaMP6f) channels separated by an emission cube set (green, HQ525/70m-2p; red, HQ607/45m-2p; 575dcxr, Chroma Technology) at 512 × 512 pixels covering 225 μm × 225 μm, at 8–30 Hz (dependent on number of planes imaged) with photomultiplier tubes (green GCaMP fluorescence, GaAsP PMT, Hamamatsu Model 7422P-40; red tdTomato fluorescence, multi-alkali PMT, Hamamatsu R3896). A custom dual stage preamp (1.4 × 105 dB, Bruker) was used to amplify signals prior to digitization.
For all experiments, mice were head-fixed and ran freely on a 2 m long treadmill belt. We habituated the mice to the head-fixed condition for at least 1 h per day over three days prior to the beginning of the experiment.
Electrophysiology recording: All mice were implanted with a hippocampal LFP electrode and imaging window. During two-photon imaging, hippocampal LFP was recorded so that electrographic events could be correlated and analyzed with calcium imaging data. Electrophysiology signals were acquired with a multichannel digital recording system (Intan Technologies, USA) at 25 kHz and synchronized with the frame-start signal of the microscope. While not being imaged, mice were routinely monitored for interictal and seizure events using a custom continuous video-EEG comprising an analog multichannel recording system customized to record up to 16 mice simultaneously (NeuraLynx, USA). Briefly, the hippocampal LFP signal and video were acquired by a PC running a custom MATLAB (version R2011b) seizure recording and detection algorithm77. EEG signals were acquired for offline determination of IED, and seizure frequency and duration.
Ca2+ imaging data preprocessing: All imaging data were pre-processed using the SIMA software package79. Motion correction was performed using whole frame registration. In cases where motion artifacts were not adequately corrected, the affected data were discarded from further analysis. We used the Suite2p software package80 to identify spatial masks corresponding to neural regions of interest (ROIs) and extracted associated fluorescence signal within these spatial footprints, correcting for cross-ROI and neuropil contamination. Identified ROIs were curated post-hoc using the Suite2p graphical interface to exclude non-somatic components. ROI detection with Suite2p is inherently activity-dependent, and so for each session, we detected only a subset of neurons that were physically present in the FOV. To track ROIs across imaging sessions, all recordings of the same FOV were first concatenated before calculating spatial masks with Suite2p.
Running modulation calculation: For each calcium trace triggered on an event, the mean of the pre-event activity was subtracted from the mean of the post-event activity (mean ΔF/Fpost-event – mean ΔF/Fpre-event) to calculate the response magnitude. To calculate whether a cell reliably changes its activity on an event type, the response magnitudes for that event type were sampled with replacement, and the mean response magnitude was calculated. We repeated this calculation for 3000 bootstrap resampling iterations, to construct a 99% confidence interval (CI). The cell was determined to have be significantly negative response if the CI was less than 0, significantly positive response if the CI was greater than 0, and non-significant response if the CI contained 0.
Detection of sharp wave ripple events: LFP signals were calculated from the wide-band 25 Hz signal by down-sampling to 1250 Hz. From the four channels on the probe, the wire within the pyramidal layer was identified as showing the greatest ripple-band Gabor wavelet power (100–225 Hz). After the removal of noisy LFP epochs, SPW-R events were detected using a custom supervised algorithm based on a template hand-labeled ground-truth data set of SPW-R events from four mice (separate from those recorded in this study) using k-nearest-neighbor embedding based on wavelet-derived SPW-R features (Matlab version R2019a). Candidate events identified using the supervised template matching procedure, were considered SPW-R-events if their within-event ripple-band wavelet power was at least 12 median absolute deviations above the median for the session. SPW-R-event detection was visually verified. Only SPW-R-events occurring during periods of immobility lasting at least 3 s were included in the analysis. For calculations requiring point time estimates, the within-SPW-R ripple-power peak was used.
Classification of cell type and epileptiform events: IEDs were determined from single-channel LFP using a semi-supervised approach. First, the LFP signal was aligned with each imaging frame using an external frame-trigger ADC channel. The magnitude spectrum of the LFP snippet corresponding to each imaging frame was calculated using the Fast Fourier Transform (FFT). The magnitude spectrum was chosen so that IEDs could be detected regardless of phase within the frame. We then trained an Online Kernelized Perceptron (using a Gaussian radial basis function kernel with σ = 1) to recognize frames containing an IED by hand-annotating a small number of LFP snippets containing IEDs, allowing the classifier to classify all the snippets in the session based on the hand-labeled examples, and updating annotations based on the classifier’s feedback. This classification procedure was conducted according to an iterative feedback process, where human input would train the algorithm while correcting the algorithm’s mistakes, so that each session is hand-curated, but the amount of hand curation necessary is minimized. We verified the internal consistency of this algorithm quantitatively by plotting the 1/f corrected average IED power spectrum (Fig. 2b); we find the classified IEDs share common spectral characteristics. An online perceptron-type algorithm was chosen because it permits efficient human-supervised training with immediate feedback after each labeled example and accurate phase-agnostic classification with a small number of labeled samples. A kernelized algorithm was chosen so that nonlinear relationships between IEDs and the magnitude spectrum could be captured.
Responsiveness of cells to IEDs: A scalar responsiveness ∆ of a cell to an event was calculated as the cell’s mean activity in a fixed 3-s window postevent minus the cell’s mean activity in the same window pre-event. An Ncells × Nevents data matrix was constructed in this manner, and a Ncells × 1 vector of labels was constructed from the red channel, with tdTomato-tagged cells labeled as “abGC” and all others labeled as “mGC”.
Linear classification of abGCs and mGCs based on IED response profiles: A logistic regression linear classifier was trained to classify abGCs and mGCs based on their IED response profiles. Training and testing were performed using the scikit-learn package version 0.23.163.
To assess the data for linear separability and examine the learned weights, logistic regression was first trained on the entire dataset using an L2 regularization penalty to avoid overfitting (Fig. 3a, b). To evaluate the generalization of the model, the dataset was split by cell into 80–20 training and test sets, and test accuracies were computed. The model was trained with L2 regularization to establish an accuracy baseline to compare with L1 accuracy.
UMAP dimensionality reduction: We use supervised UMAP to perform dimensionality reduction in order to visualize the cell IED response profiles in high dimensional space. Dimensionality reduction was performed using the UMAP-learn package81,82. The UMAP embedding was cross-validated in a similar manner to the logistic regression: UMAP was trained on a random 80% of the cells and the learned embedding was applied to a held-out on 20% of the cells.
Latent ensemble recruitment modeling: Synchronous network events were identified using spectral analysis of a simultaneously collected single-channel LFP recording in ipsilateral CA1. The scalar responsiveness ∆ of a cell to an event is defined as above. The responsiveness was binarized to an “activation” variable z′, using the following bootstrapping procedure: a bootstrap responsiveness distribution was calculated by drawing 10,000 random trigger frames with replacement from the ∆F/F trace of each cell, excluding IEDs and seizures, and then used to construct a 95% confidence interval. A cell was determined to be “activated” by an IED if its responsiveness to that IED exceeded the 95th percentile of the bootstrapped responsiveness distribution. Existing data from in vitro physiological studies1 have suggested that epileptiform activity is associated with spatially clustered, temporally coactivated neural ensembles. Our model (Fig. 4a, b) formalizes a weaker version of this hypothesis: that each interictal spike recruits a sparse set of pre-existing ensembles within the network, and each ensemble activates a subset of its constituent cells.
Specifically, we assume the following generative process for a dataset consisting of M events in a population of N cells organized into K ensembles:
Once for the entire network, we sample the ensembles σk for each k from a Dirichlet distribution parameterized by sparsity-controlling hyperparameter β. This gives us K ensembles, where each ensemble σk is a probability vector over the N cells in the network, whose entries correspond to the strength of each cell’s association with that ensemble.
For each event i = 1, …, M, we sample ϑi, a sparse probability vector over ensembles, from another Dirichlet distribution parameterized by hyperparameter α, representing the degree to which each ensemble is recruited by that event.
- For each cell,
- We sample the indicator variable zij from a Bernoulli distribution parameterized by , which represents whether or not that cell was recruited to that event.
- We simultaneously sample an ensemble ζ from the multinomial Multinomial(φ), which gives the ensemble from which the cell j was recruited.
- Finally, we draw our observed responsiveness ∆ from a Gaussian, either depending on the value of zij.
Ensembles dominated by one population: We identified “abGC dominated” and “mGC dominated” ensembles by sampling from a shuffle distribution as follows: The number and sizes of ensembles were fixed from the ensembles identified in real data. The cell type labels were then randomly permuted while preserving the overall number of abGCs and mGCs in the entire population. This procedure was repeated for 10,000 iterations to construct null distributions for the number of abGCs and mGCs expected in each ensemble based on its size. Ensembles which contained more abGCs or mGCs than the 95th percentile of its size-matched shuffle ensemble were termed abGC-“dominated” or mGC-“dominated”, respectively.
Inverse classification: We trained multiple iterations of the model, varying the K hyperparameter from 2 to 10. We then decoded the most active ensemble from the LFP power spectrum of the imaging frame during which the IED occurred using a Random Forest classifier (from the scikit-learn package) with 100 decision tree estimators trained on the LFP power spectrum of that frame, validated across 10 random 80–20 train-test splits.
Synchrony and seizure AUC: The “synchrony” of abGCs and mGCs is defined as the Kendall tau correlation between the median event-activation vector of each population. Kendall’s tau was chosen as a “soft” correlation able to tolerate small displacements in time, meaning desynchronization in time is penalized on a continuous basis rather than as an all-or-nothing correlation as with e.g., Pearson’s r.
Reporting Summary
Further information on research design is available in the Nature Research Reporting Summary linked to this article.
Supplementary information
Acknowledgements
Supported by grants NINDS-1U19NS104590 (A.L., I.S.), NINDS-1R01NS094668 (A.L., I.S.), Kavli Foundation (A.L.), American Epilepsy Society Junior Investigator Award (F.T.S.), NINDS-1F31NS120783-01 (Z.L.) and T32GM007367 (Z.L.). We would like to thank P. Maccario for help running IED classification, H. Kim for assisting with vEEG software, and D. Hadjiabadi and C. Schevon for comments on the manuscript.
Source data
Author contributions
F.T.S., Z.L., I.S., and A.L. designed the experiments. F.T.S. and Z.L. collected and analyzed the data. F.T.S. and W.L. designed electrophysiology hardware components. F.T.S., Z.L., and A.G. collected and analyzed control SPW-R recordings. F.T.S., Z.L., I.S., and A.L. wrote the manuscript.
Data availability
All data supporting the findings of this study are provided within the paper and its supplementary information. All additional information will be made available upon reasonable request to the authors. Source data are provided with this paper.
Code availability
The data analysis for this study was mainly performed using Python 2.7 and the open source packages scikit-learn and SIMA, which are available at https://github.com/scikit-learn/scikit-learn and https://github.com/losonczylab/sima/. Custom code used in this study is also available at https://github.com/losonczylab (10.5281/zenodo.4158960 and 10.3389/fninf.2014.00077).
Competing interests
The authors declare no competing interests.
Footnotes
Peer review information Nature Communications thanks the anonymous reviewer(s) for their contribution to the peer review of this work. Peer reviewer reports are available.
Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
These authors contributed equally: F. T. Sparks, Z. Liao.
Supplementary information
Supplementary information is available for this paper at 10.1038/s41467-020-19969-2.
References
- 1.Muldoon SF, et al. GABAergic inhibition shapes interictal dynamics in awake epileptic mice. Brain. 2015;138:2875–2890. doi: 10.1093/brain/awv227. [DOI] [PubMed] [Google Scholar]
- 2.Feldt Muldoon S, Soltesz I, Cossart R. Spatially clustered neuronal assemblies comprise the microstructure of synchrony in chronically epileptic networks. Proc. Natl Acad. Sci. USA. 2013;110:3567–3572. doi: 10.1073/pnas.1216958110. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 3.Bragin A, Engel J, Jr., Wilson CL, Fried I, Buzsaki G. High-frequency oscillations in human brain. Hippocampus. 1999;9:137–142. doi: 10.1002/(SICI)1098-1063(1999)9:2<137::AID-HIPO5>3.0.CO;2-0. [DOI] [PubMed] [Google Scholar]
- 4.Uhlhaas PJ, Singer W. Neural synchrony in brain disorders: relevance for cognitive dysfunctions and pathophysiology. Neuron. 2006;52:155–168. doi: 10.1016/j.neuron.2006.09.020. [DOI] [PubMed] [Google Scholar]
- 5.Netoff TI, Clewley R, Arno S, Keck T, White JA. Epilepsy in small-world networks. J. Neurosci. 2004;24:8075–8083. doi: 10.1523/JNEUROSCI.1509-04.2004. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 6.Percha B, Dzakpasu R, Zochowski M, Parent J. Transition from local to global phase synchrony in small world neural network and its possible implications for epilepsy. Phys. Rev. E. 2005;72:031909. doi: 10.1103/PhysRevE.72.031909. [DOI] [PubMed] [Google Scholar]
- 7.Dyhrfjeld-Johnsen J, et al. Topological determinants of epileptogenesis in large-scale structural and functional models of the dentate gyrus derived from experimental data. J. Neurophysiol. 2007;97:1566–1587. doi: 10.1152/jn.00950.2006. [DOI] [PubMed] [Google Scholar]
- 8.Morgan RJ, Soltesz I. Nonrandom connectivity of the epileptic dentate gyrus predicts a major role for neuronal hubs in seizures. Proc. Natl Acad. Sci. USA. 2008;105:6179–6184. doi: 10.1073/pnas.0801372105. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 9.Farrell JS, Nguyen QA, Soltesz I. Resolving the micro-macro disconnect to address core features of seizure networks. Neuron. 2019;101:1016–1028. doi: 10.1016/j.neuron.2019.01.043. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 10.Gibbs FA, Davis H, Lennox WG. The electro-encephalogram in epilepsy and in conditions of impaired consciousness. Arch. Neurol. Psychiatry. 1935;34:1133. doi: 10.1001/archneurpsyc.1935.02250240002001. [DOI] [Google Scholar]
- 11.Penfield W. The epilepsies: with a note on radical therapy. N. Engl. J. Med. 1939;221:209–218. doi: 10.1056/NEJM193908102210601. [DOI] [Google Scholar]
- 12.Urrestarazu E, Chander R, Dubeau F, Gotman J. Interictal high-frequency oscillations (100–500 Hz) in the intracerebral EEG of epileptic patients. Brain. 2007;130:2354–2366. doi: 10.1093/brain/awm149. [DOI] [PubMed] [Google Scholar]
- 13.Dichter MA. Basic mechanisms of epilepsy: targets for therapeutic intervention. Epilepsia. 1997;38:S2–S6. doi: 10.1111/j.1528-1157.1997.tb05200.x. [DOI] [PubMed] [Google Scholar]
- 14.Staley KJ, White A, Dudek FE. Interictal spikes: harbingers or causes of epilepsy? Neurosci. Lett. 2011;497:247–250. doi: 10.1016/j.neulet.2011.03.070. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 15.McCormick DA, Contreras D. On the cellular and network bases of epileptic seizures. Annu Rev. Physiol. 2001;63:815–846. doi: 10.1146/annurev.physiol.63.1.815. [DOI] [PubMed] [Google Scholar]
- 16.Dudek FE, Staley KJ. How does the balance of excitation and inhibition shift during epileptogenesis? Epilepsy Curr. 2007;7:86–88. doi: 10.1111/j.1535-7511.2007.00181.x. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 17.Huneau C, et al. Shape features of epileptic spikes are a marker of epileptogenesis in mice. Epilepsia. 2013;54:2219–2227. doi: 10.1111/epi.12406. [DOI] [PubMed] [Google Scholar]
- 18.Keller CJ, et al. Heterogeneous neuronal firing patterns during interictal epileptiform discharges in the human cortex. Brain. 2010;133:1668–1681. doi: 10.1093/brain/awq112. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 19.Schevon CA, et al. Multiscale recordings reveal the dynamic spatial structure of human seizures. Neurobiol. Dis. 2019;127:303–311. doi: 10.1016/j.nbd.2019.03.015. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 20.Hainmueller T, Bartos M. Dentate gyrus circuits for encoding, retrieval and discrimination of episodic memories. Nat. Rev. Neurosci. 2020;21:153–168. doi: 10.1038/s41583-019-0260-z. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 21.Chawla MK, et al. Sparse, environmentally selective expression of Arc RNA in the upper blade of the rodent fascia dentata by brief spatial experience. Hippocampus. 2005;15:579–586. doi: 10.1002/hipo.20091. [DOI] [PubMed] [Google Scholar]
- 22.Leutgeb JK, Leutgeb S, Moser MB, Moser EI. Pattern separation in the dentate gyrus and CA3 of the hippocampus. Science. 2007;315:961–966. doi: 10.1126/science.1135801. [DOI] [PubMed] [Google Scholar]
- 23.Heinemann U, et al. The dentate gyrus as a regulated gate for the propagation of epileptiform activity. Epilepsy Res. Suppl. 1992;7:273–280. [PubMed] [Google Scholar]
- 24.Lothman EW, Bertram EH, 3rd, Stringer JL. Functional anatomy of hippocampal seizures. Prog. Neurobiol. 1991;37:1–82. doi: 10.1016/0301-0082(91)90011-O. [DOI] [PubMed] [Google Scholar]
- 25.Thind KK, Ribak CE, Buckmaster PS. Synaptic input to dentate granule cell basal dendrites in a rat model of temporal lobe epilepsy. J. Comp. Neurol. 2008;509:190–202. doi: 10.1002/cne.21745. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 26.Krook-Magnuson E, et al. In vivo evaluation of the dentate gate theory in epilepsy. J. Physiol. 2015;593:2379–2388. doi: 10.1113/JP270056. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 27.Toni N, et al. Synapse formation on neurons born in the adult hippocampus. Nat. Neurosci. 2007;10:727–734. doi: 10.1038/nn1908. [DOI] [PubMed] [Google Scholar]
- 28.Toni N, et al. Neurons born in the adult dentate gyrus form functional synapses with target cells. Nat. Neurosci. 2008;11:901–907. doi: 10.1038/nn.2156. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 29.van Praag H, et al. Functional neurogenesis in the adult hippocampus. Nature. 2002;415:1030–1034. doi: 10.1038/4151030a. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 30.Althaus AL, et al. Altered synaptic drive onto birthdated dentate granule cells in experimental temporal lobe epilepsy. J. Neurosci. 2019;39:7604–7614. doi: 10.1523/JNEUROSCI.0654-18.2019. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 31.Buckmaster PS, Schwartzkroin PA. Hyperexcitability in the dentate gyrus of the epileptic Mongolian gerbil. Epilepsy Res. 1994;18:23–28. doi: 10.1016/0920-1211(94)90030-2. [DOI] [PubMed] [Google Scholar]
- 32.Buckmaster PS, Dudek FE. In vivo intracellular analysis of granule cell axon reorganization in epileptic rats. J. Neurophysiol. 1999;81:712–721. doi: 10.1152/jn.1999.81.2.712. [DOI] [PubMed] [Google Scholar]
- 33.Althaus AL, Zhang H, Parent JM. Axonal plasticity of age-defined dentate granule cells in a rat model of mesial temporal lobe epilepsy. Neurobiol. Dis. 2016;86:187–196. doi: 10.1016/j.nbd.2015.11.024. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 34.Danzer SC. Contributions of adult-generated granule cells to hippocampal pathology in temporal lobe epilepsy: a neuronal bestiary. Brain Plast. 2018;3:169–181. doi: 10.3233/BPL-170056. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 35.Danzer SC. Adult neurogenesis in the development of epilepsy. Epilepsy Curr. 2019;19:316–320. doi: 10.1177/1535759719868186. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 36.Varma P, Brulet R, Zhang L, Hsieh J. Targeting seizure-Induced neurogenesis in a clinically relevant time period leads to transient but not persistent seizure reduction. J. Neurosci. 2019;39:7019–7028. doi: 10.1523/JNEUROSCI.0920-19.2019. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 37.Parent JM, et al. Dentate granule cell neurogenesis is increased by seizures and contributes to aberrant network reorganization in the adult rat hippocampus. J. Neurosci. 1997;17:3727–3738. doi: 10.1523/JNEUROSCI.17-10-03727.1997. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 38.Cho KO, et al. Aberrant hippocampal neurogenesis contributes to epilepsy and associated cognitive decline. Nat. Commun. 2015;6:6606. doi: 10.1038/ncomms7606. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 39.Dudek FE, Sutula TP. Epileptogenesis in the dentate gyrus: a critical perspective. Prog. Brain Res. 2007;163:755–773. doi: 10.1016/S0079-6123(07)63041-6. [DOI] [PubMed] [Google Scholar]
- 40.Sutula T, He XX, Cavazos J, Scott G. Synaptic reorganization in the hippocampus induced by abnormal functional activity. Science. 1988;239:1147–1150. doi: 10.1126/science.2449733. [DOI] [PubMed] [Google Scholar]
- 41.Tauck DL, Nadler JV. Evidence of functional mossy fiber sprouting in hippocampal formation of kainic acid-treated rats. J. Neurosci. 1985;5:1016–1022. doi: 10.1523/JNEUROSCI.05-04-01016.1985. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 42.Scharfman HE, Sollas AL, Berger RE, Goodman JH. Electrophysiological evidence of monosynaptic excitatory transmission between granule cells after seizure-induced mossy fiber sprouting. J. Neurophysiol. 2003;90:2536–2547. doi: 10.1152/jn.00251.2003. [DOI] [PubMed] [Google Scholar]
- 43.Zhou QG, et al. Chemogenetic silencing of hippocampal neurons suppresses epileptic neural circuits. J. Clin. Invest. 2019;129:310–323. doi: 10.1172/JCI95731. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 44.Murphy BL, Danzer SC. Somatic translocation: a novel mechanism of granule cell dendritic dysmorphogenesis and dispersion. J. Neurosci. 2011;31:2959–2964. doi: 10.1523/JNEUROSCI.3381-10.2011. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 45.Ribak CE, Tran PH, Spigelman I, Okazaki MM, Nadler JV. Status epilepticus-induced hilar basal dendrites on rodent granule cells contribute to recurrent excitatory circuitry. J. Comp. Neurol. 2000;428:240–253. doi: 10.1002/1096-9861(20001211)428:2<240::AID-CNE4>3.0.CO;2-Q. [DOI] [PubMed] [Google Scholar]
- 46.Scharfman HE, Goodman JH, Sollas AL. Granule-like neurons at the hilar/CA3 border after status epilepticus and their synchrony with area CA3 pyramidal cells: functional implications of seizure-induced neurogenesis. J. Neurosci. 2000;20:6144–6158. doi: 10.1523/JNEUROSCI.20-16-06144.2000. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 47.Houser CR, Swartz BE, Walsh GO, Delgado-Escueta AV. Granule cell disorganization in the dentate gyrus: possible alterations of neuronal migration in human temporal lobe epilepsy. Epilepsy Res. Suppl. 1992;9:48–49. [PubMed] [Google Scholar]
- 48.Danielson NB, et al. Distinct contribution of adult-born hippocampal granule cells to context encoding. Neuron. 2016;90:101–112. doi: 10.1016/j.neuron.2016.02.019. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 49.Knight LS, Wenzel HJ, Schwartzkroin PA. Inhibition and interneuron distribution in the dentate gyrus of p35 knockout mice. Epilepsia. 2012;53:161–170. doi: 10.1111/j.1528-1167.2012.03487.x. [DOI] [PubMed] [Google Scholar]
- 50.Patel LS, Wenzel HJ, Schwartzkroin PA. Physiological and morphological characterization of dentate granule cells in the p35 knock-out mouse hippocampus: evidence for an epileptic circuit. J. Neurosci. 2004;24:9005–9014. doi: 10.1523/JNEUROSCI.2943-04.2004. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 51.Hester MS, Danzer SC. Hippocampal granule cell pathology in epilepsy - a possible structural basis for comorbidities of epilepsy? Epilepsy Behav. 2014;38:105–116. doi: 10.1016/j.yebeh.2013.12.022. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 52.Blei DM, Ng AY, Jordan MI. Latent Dirichlet allocation. J. Mach. Learn. Res. 2003;3:993–1022. [Google Scholar]
- 53.Buzsaki G. Hippocampal sharp wave-ripple: a cognitive biomarker for episodic memory and planning. Hippocampus. 2015;25:1073–1188. doi: 10.1002/hipo.22488. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 54.Levesque M, Avoli M. The kainic acid model of temporal lobe epilepsy. Neurosci. Biobehav Rev. 2013;37:2887–2899. doi: 10.1016/j.neubiorev.2013.10.011. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 55.Zeidler, Z. et al. Targeting the mouse ventral hippocampus in the Intrahippocampal kainic acid model of temporal lobe epilepsy. eNeuro10.1523/ENEURO.0158-18.2018 (2018). [DOI] [PMC free article] [PubMed]
- 56.Amaral DG, Scharfman HE, Lavenex P. The dentate gyrus: fundamental neuroanatomical organization (dentate gyrus for dummies) Prog. Brain Res. 2007;163:3–22. doi: 10.1016/S0079-6123(07)63001-5. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 57.Danielson NB, et al. Sublayer-Specific Coding Dynamics during spatial navigation and learning in hippocampal area CA1. Neuron. 2016;91:652–665. doi: 10.1016/j.neuron.2016.06.020. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 58.Staley KJ, Dudek FE. Interictal spikes and epileptogenesis. Epilepsy Curr. 2006;6:199–202. doi: 10.1111/j.1535-7511.2006.00145.x. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 59.Iyengar SS, et al. Suppression of adult neurogenesis increases the acute effects of kainic acid. Exp. Neurol. 2015;264:135–149. doi: 10.1016/j.expneurol.2014.11.009. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 60.Bragin A, Wilson CL, Engel J., Jr Chronic epileptogenesis requires development of a network of pathologically interconnected neuron clusters: a hypothesis. Epilepsia. 2000;41:S144–S152. doi: 10.1111/j.1528-1157.2000.tb01573.x. [DOI] [PubMed] [Google Scholar]
- 61.Erwin, S. R. et al. A sparse, spatially biased subtype of mature granule cell is preferentially recruited in hippocampal-associated behaviors. bioRxiv10.1101/804393 (2019).
- 62.Hathway, P. & Goodman, D. Cognitive Computational Neuroscience (IntechOpen, Berlin, 2019).
- 63.Pedregosa F, et al. Scikit-learn: machine learning in python. J. Mach. Learn. Res. 2011;12:2825–2830. [Google Scholar]
- 64.Ewell LA, et al. Brain state is a major factor in preseizure hippocampal network activity and influences success of seizure intervention. J. Neurosci. 2015;35:15635–15648. doi: 10.1523/JNEUROSCI.5112-14.2015. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 65.Miri, M. L., Vinck, M., Pant, R. & Cardin, J. A. Altered hippocampal interneuron activity precedes ictal onset. Elife10.7554/eLife.40750 (2018). [DOI] [PMC free article] [PubMed]
- 66.Paz JT, Huguenard JR. Microcircuits and their interactions in epilepsy: is the focus out of focus? Nat. Neurosci. 2015;18:351–359. doi: 10.1038/nn.3950. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 67.de Curtis M, Avoli M. Initiation, propagation, and termination of partial (Focal) seizures. Cold Spring Harb. Perspect. Med. 2015;5:a022368. doi: 10.1101/cshperspect.a022368. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 68.Evans, M. H., Petersen, R. S. & Humphries, M. D. On the use of calcium deconvolution algorithms in practical contexts. bioRxiv10.1101/871137 (2019).
- 69.Valero M, et al. Mechanisms for selective single-cell reactivation during offline sharp-wave ripples and their distortion by fast ripples. Neuron. 2017;94:1234–1247. doi: 10.1016/j.neuron.2017.05.032. [DOI] [PubMed] [Google Scholar]
- 70.Hofmann G, Balgooyen L, Mattis J, Deisseroth K, Buckmaster PS. Hilar somatostatin interneuron loss reduces dentate gyrus inhibition in a mouse model of temporal lobe epilepsy. Epilepsia. 2016;57:977–983. doi: 10.1111/epi.13376. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 71.Bui AD, et al. Dentate gyrus mossy cells control spontaneous convulsive seizures and spatial memory. Science. 2018;359:787–790. doi: 10.1126/science.aan4074. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 72.Scharfman HE. The enigmatic mossy cell of the dentate gyrus. Nat. Rev. Neurosci. 2016;17:562–575. doi: 10.1038/nrn.2016.87. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 73.Johnston, S. T. et al. AAV ablates neurogenesis in the adult murine hippocampus. bioRxiv10.1101/2020.01.18.911362 (2020). [DOI] [PMC free article] [PubMed]
- 74.Hainmueller T, Bartos M. Parallel emergence of stable and dynamic memory engrams in the hippocampus. Nature. 2018;558:292–296. doi: 10.1038/s41586-018-0191-2. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 75.Woods NI, et al. The dentate gyrus classifies cortical representations of learned stimuli. Neuron. 2020;107:173–184. doi: 10.1016/j.neuron.2020.04.002. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 76.Weisenburger S, et al. Volumetric Ca(2+) imaging in the mouse brain using hybrid multiplexed sculpted light microscopy. Cell. 2019;177:1050–1066. doi: 10.1016/j.cell.2019.03.011. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 77.Armstrong C, Krook-Magnuson E, Oijala M, Soltesz I. Closed-loop optogenetic intervention in mice. Nat. Protoc. 2013;8:1475–1493. doi: 10.1038/nprot.2013.080. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 78.Bragin A, Engel J, Jr., Wilson CL, Vizentin E, Mathern GW. Electrophysiologic analysis of a chronic seizure model after unilateral hippocampal KA injection. Epilepsia. 1999;40:1210–1221. doi: 10.1111/j.1528-1157.1999.tb00849.x. [DOI] [PubMed] [Google Scholar]
- 79.Kaifosh P, Zaremba JD, Danielson NB, Losonczy A. SIMA: python software for analysis of dynamic fluorescence imaging data. Front. Neuroinform. 2014;8:80. doi: 10.3389/fninf.2014.00080. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 80.Pachitariu, M. S. C. et al. Suite2p: beyond 10,000 neurons with standard two-photon microscopy. bioRxiv10.1101/061507 (2017).
- 81.McInnes, L., Healy, J. & Melville, J. UMAP: Uniform manifold approximation and projection for dimension reduction. https://arXiv.org/abs/1802.03426v2 (2018).
- 82.McInnes L, Healy J, Saul N, Grosberger L. UMAP: uniform manifold approximation and projection. J. Open Source Softw. 2018;3:861. doi: 10.21105/joss.00861. [DOI] [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
All data supporting the findings of this study are provided within the paper and its supplementary information. All additional information will be made available upon reasonable request to the authors. Source data are provided with this paper.
The data analysis for this study was mainly performed using Python 2.7 and the open source packages scikit-learn and SIMA, which are available at https://github.com/scikit-learn/scikit-learn and https://github.com/losonczylab/sima/. Custom code used in this study is also available at https://github.com/losonczylab (10.5281/zenodo.4158960 and 10.3389/fninf.2014.00077).