Abstract
The relation between epileptic spikes and seizures is an important but still unresolved question in epilepsy research. Preclinical and clinical studies have produced inconclusive results on the causality or even on the existence of such a relation. We set to investigate this relation taking in consideration seizure severity and spatial extent of spike rate. We developed a novel automated spike detection algorithm based on morphological filtering techniques and then tested the hypothesis that there is a pre-ictal increase and post-ictal decrease of the spatial extent of spike rate. Peri-ictal (around seizures) spikes were detected from intracranial EEG recordings in 5 patients with temporal lobe epilepsy. The 94 recorded seizures were classified into two classes, based on the percentage of brain sites having higher or lower rate of spikes in the pre-ictal compared to post-ictal periods, with a classification accuracy of 87.4%. This seizure classification showed that seizures with increased pre-ictal spike rate and spatial extent compared to the post-ictal period weremostly (83%) clinical seizures, whereas no such statistically significant (α = 0.05) increase was observed peri-ictally in 93% of sub-clinical seizures. These consistent across patients results show the existence of a causal relation between spikes and clinical seizures, and imply resetting of the preceding spiking process by clinical seizures.
Keywords: Morphological filter, Spatiotemporal analysis, EEG, Spikes, Seizures, Ictogenesis, Epilepsy
INTRODUCTION
Epilepsy affects 1% of the world's population and is currently the most common neurological disorder after stroke and Alzheimer's disease. It is characterized by two hallmarks: seizures and spikes.8 While the nature and role of seizures (ictal states) have been widely investigated, the role of interictal (between seizures) spikes in epilepsy, and importantly in ictogenesis (seizure generation), is still elusive. Interictal spikes (IS) are abnormally synchronized discharges of thousands of neurons, manifested in the electroencephalogram (EEG) as localized in space and time, a couple of hundreds of milliseconds in duration and of high amplitude (>50 μV), electrographic activity frequently followed by slow waves.7 Elucidation of the cause and effect of spikes may provide additional clues to the process of epileptogenesis10,16 and new treatment paradigms for epilepsy. For example, after validation of the relation of spikes to upcoming seizures, significant changes in interictal or pre-ictal (before seizures) spiking could be used to detect seizure susceptibility or predict impending seizures respectively, and intervene in time to avert seizures’ occurrence.
Investigation of the spiking process and its relation to seizures has been a topic of intense debate in the epilepsy community.40 Increased rate of epileptic spikes has been observed in the pre-ictal as well as the post-ictal (after seizures) periods, thus raising doubts whether epileptic spikes are actually precursors or aftershocks to seizures.4,11,13,14,25,26,32,38 Lange et al.,25 in their studies of the spatiotemporal evolution of preictal spike activity in human temporal lobe epilepsy, found that the degree of bilateral dependence in medial temporal lobe spiking increased prior to onset of temporal lobe seizures, thus indicating that spikes may herald the interictal to ictal transition. In a more recent publication, White et al. came to the same conclusion using a status epilepticus animal model of epilepsy.41 On the other hand, Engel et al. reported that a high interictal spike rate was associated with a low probability of occurrence of seizures.11 Along similar lines, Avoli et al.,1,2 treated combined slices of mouse hippocampus and entorhinal cortex in vitro with chemical convulsants and concluded that “interictal activity controls rather than promotes ictal events.” These findings appear to be in agreement with studies reporting that interictal spikes are followed by periods of prolonged inhibition (increase of the threshold for generation of epileptic discharges).5,6 Also, Gotman13 reported that, in amygdala kindled cats, spiking appears as a result of seizures. Post-ictal increase in spike rate in human focal epilepsy was also observed.12,15,22,23 However, it was also noted15 that seizures occurred irrespectively of interictal spike rate being high or low, thus weakening the hypothesis that spikes beget seizures and the existence of a causal relationship between spikes and seizures. Finally, studies on the effect of anti-epileptic drugs (AEDs) on spike rate suggested that spike rate is not affected much by AEDs9,15 while seizure rate and seizure severity are. This was interpreted as possible evidence that mechanisms of spike generation may be different from those of seizure generation.
To address these conflicting reports in the literature, we applied a novel peri-ictal spatiotemporal analysis of the EEG per seizure to all 94 seizures recorded at the epilepsy monitoring unit (EMU) from a cohort of 5 patients with temporal lobe epilepsy. Consistency of findings across patients was an implicit goal we set. Our analytical scheme included: a) the development and validation of a novel tool (data-adaptive morphological filter) for automated and reliable detection of epileptic spikes from the EEG, b) measurement of spatiotemporal pre-ictal vs. post-ictal changes in spike rate per seizure, and c) seizure severity as a confounding factor of the relation between spikes and seizures. We tested the hypothesis that seizures are preceded by increased spike rate in a large number of brain sites and are followed by spike rate suppression in the immediate post-ictal period.
MATERIALS AND METHODS
Data-Adaptive Morphological Filtering (DAMF)
Morphological filters (MF) are a class of nonlinear filters used to identify and extract characteristic morphologies from multi-dimensional signals. The theory behind mathematical morphology was developed by Matheron and Serra in 1964 and has been widely applied to detect edges and perform pattern recognition in images.28,30,31,36,37,39,44 MF typically rely on structure elements of predefined shape depending on the shape of the patterns to be detected and extracted from signals. There is no general theory for selection of an appropriate structure element. Commonly used structure elements include squares, disks, parabolas etc.
Application of morphological filtering to spike detection has been performed in the past using various structure elements.30,31,44 However, the characteristics of EEG change over time (EEG is a non-stationary signal), so the design of a structure element should take this into account, that is, the structure element should ideally be adaptive to such changes. Along these lines, we developed a new MF with data-adaptive structure elements. We have called this modified morphological filter “DAMF.”
Morphological Filter Operators
Morphological filtering includes four operations formulated on the basis of Minkowski's addition and subtraction. Assuming two sets X and Y in Euclidian space, their Minskowski sum is defined as29
(1) |
that is, every element in X is added to every element in Y to produce the Minkowski sum. Minkowski subtraction is defined similarly as:
(2) |
Then, the four basic morphological operators are
(3) |
where x(t) is the raw data series, y(t) is the structure element, yS(t) = y(–t), and is the set of real numbers. The symbols ,. indicate Minkowski addition, Minkowski subtraction, and Opening and Closing respectively. Erosion of x(t) typically attenuates the peaks, whereas dilation of x(t) enlarges its valleys. The Opening (O) operation is erosion followed by dilation, thus smoothing the signal from below. The Closing (C) operation is dilation followed by erosion and has the effect of smoothing the signal from above by filling up its valleys. Combination of Opening and Closing operations (OC or CO) can be used to eliminate spikes in x(t). To eliminate spikes in the positive as well as negative directions, we followed the approach in Wilcoxon.42 Then, OC(t) = x(t) o y1(t). y2(t) and CO(t) = x(t). y1(t) o y2(t), where y1(t), y2(t) are two different y(t) structure elements that can separate the background EEG from upward and downward spikes in x(t) respectively. Thus, if we define x̂(t) as
(4) |
x̂(t) contains just the spikes in x(t) and is devoid of any background EEG activity (see Fig. 1a). Then, a hard threshold Tth, e.g., equal to a multiple of standard deviations (σ) from the mean of x̂(t), can be used to detect and extract the spikes from x̂(t). The threshold Tth is the only pre-determined parameter (but still adaptive since σ is a function of x̂(t))) in such a spike detection algorithm; all other involved parameters are data-adaptive and do not need to be pre-determined. The effect of Tth on spike detection is shown in the Results section, together with the evaluation of the algorithm via a Receiver Operating Characteristics (ROC) analysis.
Data-Adaptive Structure Element
Selection of an appropriate structure element improves the efficiency and accuracy of a spike detector. Xu et al.44 proposed parabolic structure elements y(t), whose width and height are optimized to extract peaks in a signal while at the same time suppress the background activity. We herein propose a modified version of Xu's algorithm for the design of the optimal structure elements without a pre-determined shape as follows.
We first define the nth order difference of x(t) as:
(5) |
Subsequently, if D(n) is the 75% quintile of these dn(t) values, D(n) approximates the significant values of dn(t), we define the structure element y(t) as:
(6) |
where n ∈ [1, M – 1], , nnopt abd αopt are the optimal length and amplitude of the structure element respectively, and are estimated from the data according to the iterative process delineated in the next section (also note that for n = 0, y(M) = 0). Thus, the structure element y(t) carries information about the average local variation of the signal under consideration.
Optimization of Structure Element
The length and amplitude of the structure element are critical in optimal detection of epileptic spikes. We used the K-criterion detailed in Xu et al.44 for selection of the optimal amplitude αopt and length nopt of the structure element. First, an available EEG record was divided in 10.24 s epochs. We have found in the past that such an EEG epoch's duration is short enough to compensate for the effect of the nonstationarity of the EEG on the estimation (and convergence) of measures of EEG dynamics in patients with focal epilepsy.18,20 For each 10.24 s EEG epoch x(t), we estimate two structure elements y1(t) and y2(t) (see Fig. 1b). The shape of the structure elements is estimated from Eq. 6. To reduce the effect of noise and EEG scaling on the detector performance, we normalized (subtracting the mean value and dividing by the standard deviation) and filtered the raw EEG data between 0.1 and 30 Hz by a fourth order Butterworth filter. The optimal length nopt and amplitude αopt of each structure element y(t) are selected by the following iterative procedure:
Initialize amplitude α1 and length n1 of y1(t). Initialize amplitude α2 and length n2 of y2(t)
Estimate x̂(t) using Eq. 4
- Estimate the number of zero crossings, Npz of x̂(t) as
where is the Heaviside function and N is the length of the signal x̂(t)(7) Estimate Rpz = Npz/N. The quantity Rpz is the zero-crossing rate of x̂ and reflects the degree at which the background activity in x(t) is attenuated.
Estimate If = x̃/x̄ where and x̃ = max(|x̂(t)|). The quantity If is the pulse index of x̂ and is sensitive to the transient component of x̂(t).
Estimate K = If/Rpz. A larger value of K means that spike components are better extracted from the background.
Repeat steps 1–6 for different values of α1, α2, n1, n2. In the search for optimal parameters per EEG epoch of 10.24 s, we tried values of α1 and α2 from 0.1 to 2 with a step size of 0.1 and for n1 and n2 from 5 to 21 sample points with step size of 2 (i.e., from 25 to 100 ms since the EEG was sampled at 200 Hz).
Select the values of n1, n2, α1, α2 for which K attains its maximum value as the optimal set of parameter values for spike detection in the 10.24 s EEG epoch per channel under consideration.
Finally, from the x̂(t) that is generated with the above optimal set of parameters for DAMF, extract the spikes as the outliers in x̂(t) using a “hard” (pre-determined) statistical threshold Tth = [multiple of standard deviation σ of x̂(t)] per EEG epoch. Then, “Spike at t = t* if |x̂(t*)| > Tth”.
Store the occurrence times t* of the detected spikes per epoch and recorded channel for subsequent spatiotemporal analysis of spike rates.
EEG Data
Long-term EEG recordings from five patients with temporal lobe epilepsy, who underwent phase II (with intracranial electrodes) pre-surgical evaluation at the EMU of Shands Hospital at the University of Florida for possible resection of their epileptogenic focus, were included in this study. The existence of relatively frequent interictal spiking in the EEG data was the only additional criterion for inclusion in this study from a database of a total of 10 patients. Informed consent for analysis of their EEG data had been obtained from all patients. The EEGs were recorded using an average common reference with band pass filter settings of 0.1–70 Hz. Depth electrodes were placed in the right and left hippocampi (RTD and LTD respectively), two subdural strips were placed on the right and left orbitofrontal lobes (ROF and LOF respectively), and two subdural strips were placed on the right and left subtemporal lobes (RST and LST respectively). The EEGs were sampled at 200 Hz and transferred to computer media for further analysis. The recordings included 7–30 clinical seizures (seizures with clinical manifestations) and subclinical seizures (seizures without clinical manifestations) over a period of 5–13 days per patient (see Table 1). The seizures were marked by visual analysis of EEG by two EEG certified neurologists.
TABLE 1.
# Recorded seizures (94) |
|||||
---|---|---|---|---|---|
Patient | # Electrodes | Available EEG recording (h) | Clinical (53) | Subclinical (41) | Epileptogenic focus (temporal lobe) |
P1 | 28 | 200.2 | 23 | 7 | Right Hippocampus |
P2 | 28 | 143.4 | 8 | 10 | Right Hippocampus |
P3 | 28 | 149.6 | 6 | 16 | Left Hippocampus |
P4 | 28 | 322.8 | 10 | 7 | Right Hippocampus |
P5 | 28 | 268.6 | 6 | 1 | Right Hippocampus |
RESULTS
Evaluation of DAMF's Performance for Spike Detection
To evaluate the performance of the DAMF spike detection algorithm, epileptic spikes were visually marked by an EEG certified neurologist (WK) in a 2-h continuous interictal EEG recording from one of our patients (P1). A total of 144 spikes were identified in one of the channels of this EEG record. We ran DAMF on sequential non-overlapping 10.24 s EEG epochs from that channel to evaluate DAMF's sensitivity and specificity based on the expert physician's assessment. In Fig. 2 we show the results of DAMF from a 3 min segment of this EEG record using a Tth = 2σ and optimal values for α1, α2, n1, n2 per 10.24 s epoch. Over the whole 2-h record, the means of the optimal values of α1, α2, n1, n2 for the structure elements y1(t) and y2(t) were found to be 1.3, 1.7, 11 and 15 respectively. The algorithm's sensitivity was estimated as the percentage of the spikes marked by the physician and detected by DAMF. The false detection rate (FDR) was estimated as the ratio of the total number of false spike detections by the algorithm to the duration of record. Sensitivity and FDR values from this 2-h EEG record were estimated at different spike detection thresholds Tth, from 1.5σ to 4σ in steps of 0.001σ, and are plotted as a ROC curve in Fig. 3. The performance of DAMF was also compared with the one by a commercially available and widely used in clinical practice spike detection software (Persyst43). Persyst's spike detection is achieved by pattern recognition and the use of the company's own database of possible spike morphologies (patterns). The spikes identified and given as output by the algorithm depend upon a user's provided perception-based threshold from 0.5 to 1. Based on spike morphologies and corresponding evaluation by experts, both stored in Persyst's database, a perception value of 0.75 indicates that 75 out of 100 EEG reviewers would have agreed that the detected event was a spike. The perception values are automatically assigned by the algorithm to each detected spike. Control on Persyst software was limited to the selection of the perception threshold by the user. Therefore, we used the perception threshold as a parameter in the construction of the ROC curve for Persyst's algorithm with a range of 0.5–1 in steps of 0.01. The ROC curve for Persyst's algorithm is also shown in Fig. 3. We observe that the spike detector based on DAMF consistently outperformed the one by Persyst sensitivity and specificity-wise. A possible reason is that Persyst's algorithm was presumably optimized from a standard database of spikes from scalp instead of intracranial EEG recordings. Another reason may be that DAMF's parameters are neither predetermined nor selected from a pre-existing database but estimated continuously over time, optimized per each EEG epoch.
Single Channel Analysis of Peri-Ictal Spike Rate Across Seizures
Following validation of DAMF, a single channel analysis of spike rates was performed peri-ictally per seizure and patient as follows. At every seizure onset (tSZ), we defined a 20 min pre-ictal window w1(t) =[tSZ – 20min, tSZ] and a 20 min post-ictal window w2 = [tSZ + DSZ, tSZ + DSZ + 20min], with DSZ = 5 min selected to be larger than the observed duration of any of the seizures in our datasets. Epileptic spikes were detected by running DAMF with Tth = 2σ. For this threshold, the expected sensitivity is 0.79 and specificity is 0.30 false detections per minute (see dotted lines in ROC curve in Fig. 3). Per 10.24 s non-overlapping EEG epoch and electrode, the times of spike occurrences were then recorded. The spike rate (number of spikes/10.24 s) at each recording electrode was then calculated. Thus, spike rates and were estimated every 10.24 s for every brain site i and seizure k in the 20-min pre-ictal and post-ictal windows respectively (see Fig. 4).
We then estimated the mean pre-ictal and mean post-ictal spike rate within the windows w1(t) and w2(t) respectively, thus creating a distribution of and values per seizure k, brain site i and patient. For every brain site i and patient, paired Wilcoxon signed-rank test39 were performed on the distribution of and with k = 1,..., NSZ,, where NSZ = number of seizures per patient. The null hypothesis (H0) that the median value of is equal to the median value of across seizures per brain site i and patient was tested at significance level α = 0.05. If the null hypothesis was rejected, we checked whether the alternate hypothesis (H1: or ) was true using the Z-test.¼Thus, for every brain site i and patient, we obtained a p value indicating whether the pre-ictal spike rate is higher, lower or equal to the post-ictal spike rate across a patient's seizures. The results of this analysis are presented in Fig. 5 and the number of brain sites per patient showing pre-ictal spike rates equal to, larger than, or less than the post-ictal spike rates across seizures is presented in Table 2.
TABLE 2.
Clinical |
Subclinical |
|||||
---|---|---|---|---|---|---|
Fraction of brain sites across seizures with |
Fraction of brain sites across seizures with |
|||||
Patient | ||||||
P1 | 0.39 | 0.39 | 0.21 | 0.64 | 0.04 | 0.32 |
P2 | 0.14 | 0.75 | 0.11 | 1.00 | 0 | 0 |
P3 | 1.00 | 0 | 0 | 1.00 | 0 | 0 |
P4 | 0.18 | 0.82 | 0 | 0.61 | 0 | 0.39 |
P5 | 1.00 | 0 | 0 | 1.00 | 0 | 0 |
Avg | 0.54 | 0.39 | 0.06 | 0.85 | 0.01 | 0.14 |
From Fig. 5 and Table 2, we observe that single channel analysis of changes of peri-ictal spike rates across seizures per patient produces inconsistent results across patients. For two patients (P2 and P4) we observe that a large number of electrodes exhibit statistically significant (α = 0.05) increase in spike rate in the preictal period of clinical seizures when compared to post-ictal period, whereas in two other patients (P3 and P5) no significant change in peri-ictal spike rate was observed. For one patient (P1) the results were inconsistent across sites, with some electrode sites showing increased spike rate pre-ictally and some sites increased spike rate post-ictally. It is noteworthy that inconsistency in these results is in agreement with ones in the literature.9,12,13,15,22 We also observe that patients P3 and P5 had on average equal pre-ictal and post-ictal spike rates across their clinical and subclinical seizures. Patients P1, P2 and P4 exhibited mixed results with tendency for higher spike rate pre-ictally at more sites than post-ictally. In essence, to some degree, these results justify the conflicting results in the literature as, depending on the electrode site analyzed, the average pre-ictal spike rate across seizures was found to be larger, equal or lower than the post-ictal spike rate.
Analysis of Peri-Ictal Spike Rate Across Sites Per Seizure: A Spatiotemporal Approach
Although seizures of a patient may visually look similar, we have shown in the past that the spatio-temporal dynamics of the transition to seizures can be quite different from one seizure to another, even in the same patient.17–20,35 Therefore, in an attempt to further elucidate the changes in peri-ictal spiking, we set out to repeat the analysis of the previous section per seizure and patient. Mann–Whitney U Test was performed to compare the distributions of and , and test the null hypothesis (H0) that against the alternate hypothesis (H1) that at significance level α = 0.05. In case the null hypothesis was rejected, we checked whether or using the Z-test. We define F+(k) as the fraction of brain sites at seizure k for which higher spike rate is observed in the pre-ictal than the post-ictal period
(8) |
where Ne is the number of brain sites we record from, and Θ(n) = 1 if n is true, and Θ(n) = 0 if n is false. Similarly, F–(k) is defined as the fraction of brain sites at seizure k for which lower spike rate is observed in the pre-ictal than the post-ictal period
(9) |
(Obviously, if we denote by F0(k) the fraction of sites for which , it is: F+(k) F−(k)+F0(k) = 1.)
Using F+(k) and F−(k) as the two features in a 2-D feature space, the seizures of each patient were classified using a K-means classifier.27 Figure 6 illustrates the results of such a seizure classification per patient. Two well-separated clusters were formed for all seizures per patient. The red cluster represents the class of seizures where median spike rate across brain sites is larger in the pre-ictal compared to post-ictal periods (large F+, small F−), which we denoted as Class 1 seizures. The blue cloud with smaller F+ than F− values (located mostly in the lower left corner) we denoted as Class 2 seizures. Interestingly 83% of Class 1 seizures were complex partial seizures or seizures with secondary generalization (in general clinical seizures) and 93% of Class 2 seizures were subclinical seizures. It is remarkable that these results were so consistent across patients. The results of the classification per patient are tabulated in Table 3. Of note is that, across all patients, the center of Class 1 cluster had F+ > F−, whereas the center of Class 2 cluster had F+ < F−. Performance of the classifier was quantified by estimating its Rand index and classification accuracy.33 Rand index ranges from 0 to 1, with 1 in our case denoting that every seizure in each class derived by the K-means classifier (Class 1 or Class 2) is correctly classified as clinical or subclinical (with Class 1 denoting clinical seizures and Class 2 subclinical seizures). Classification accuracy is a more global (overall) index of classification than Rand index. For example, a classification value of 90% denotes that 90 out of 100 seizures were correctly classified by K-means, and the misclassified 10 of them might be either all subclinical or all clinical, etc. In our classification scheme, the Rand index ranged between 0.71 and 0.86, and seizure classification accuracy was between 83 and 91% across patients (see Table 3).
TABLE 3.
Class 1 () |
Class 2 () |
|||||||||
---|---|---|---|---|---|---|---|---|---|---|
Patient | Cluster center () | Resetting power | Seizure type |
Cluster center () | Resetting power | Seizure type |
Rand Index | Accuracy (%) | ||
Clinical | Sub-clinical | Clinical | Sub-clinical | |||||||
P1 | 0.45, 0.28 | 0.17 | 18/23 (78%) | 0/7 | 0.13, 0.27 | –0.14 | 5/23 | 7/7 (100%) | 0.71 | 83 |
P2 | 0.69, 0.13 | 0.56 | 8/8 (100%) | 2/10 | 0.18, 0.19 | –0.01 | 0/8 | 8/10 (80%) | 0.79 | 89 |
P3 | 0.65, 0.10 | 0.55 | 4/6 (67%) | 0/16 | 0.10, 0.15 | –0.05 | 2/8 | 16/16 (100%) | 0.83 | 91 |
P4 | 0.85, 0.06 | 0.79 | 9/10 (90%) | 1/7 | 0.06, 0.40 | –0.34 | 1/10 | 6/7 (86%) | 0.78 | 88 |
P5 | 0.5, 0.09 | 0.41 | 5/6 (83%) | 0/1 | 0.05, 0.29 | –0.24 | 1/6 | 1/1 (100%) | 0.71 | 86 |
Total avg. | 0.62, 0.13 | 0.50 | 44/53 (83%) | 3/41 | 0.10, 0.26 | –0.16 | 9/53 | 38/41 (93%) | 0.76 | 87.4 |
These classification results suggest that a clinical seizure is preceded by more brain sites with “higher pre-ictal than post-ictal spike rate” than ones with “lower pre-ictal than post-ictal spike rate.” This implies that occurrence of clinical seizures tends to reduce spike activity across brain sites and may be related to the homeostatic role of epileptic seizures (resetting of pathological brain dynamics) as postulated previously by Iasemidis et al.3,21,34 For example, if we define the resetting power of a seizure as:
(10) |
where F(c)+, F(c)− are the center of each cluster, we see from Table 3 that, across all patients, Class 1 seizures (mostly clinical; 44 clinical and 3 subclinical seizures) have higher resetting power RP per patient compared to Class 2 seizures (mostly subclinical; 38 subclinical and 9 clinical seizures). It is also noteworthy that the sign of RP is reversed in the two classes: it is positive for the clinical seizures and negative for the subclinical seizures. This means that resetting of dynamics may work in the opposite direction in the two classes of seizures, since in the overwhelming majority of clinical seizures in our patients spike rate is post-ictally reduced across sites, while in the majority of subclinical seizures is increased. A possible explanation for this finding is that subclinical seizures may not be as effective in resetting the brain as clinical seizures are. An alternative, more dynamic, explanation is that the brain is en route towards a higher instability state, with higher spike rate and subclinical seizures occurrence, until clinical seizures occur to temporarily reset this pathology.
DISCUSSION
In this study, we focused on seizures and spikes, the current neurophysiological hallmarks of epilepsy. The motivation for this study was a persistent debate in the literature about the dynamics of epileptic spikes and their relation to seizures.12,14,15 Proof of a causal relation between spikes and seizures could contribute to further elucidation of the mechanisms of ictogenesis and the development of new treatment modalities for epilepsy.
Towards this goal, we first developed a novel data-adaptive algorithm for automated spike detection from the EEG based on the concept of morphological filters (DAMF), and compared its performance to an expert physician's judgment and the performance of a commercially available algorithm for spike detection. The favorable evaluation of our spike detection algorithm encouraged us to then proceed with an automated spatiotemporal analysis of spike rates in long-term intracranial EEG data recorded from five temporal lobe epilepsy patients. In particular, we analyzed 10.24 s successive epochs from 40 min of peri-ictal EEG (20 min before and 20 min after a seizure) for each of 94 recorded seizures. Analysis of spike rates, averaged over seizures for each recording site in the same patient, produced mixed results across patients, similar to the inconclusive ones in the literature: different brain sites showed either increase, decrease or no change in pre-ictal vs. post-ictal spike rates.
Assuming that seizures are different from each other even in the same patient and switching into averaging of preictal and postictal spike rates across sites per seizure and patient, we achieved consistency across patients but still not statistically significant results (p < 0.01) in most of the patients (see Table 4). Finally, motivated by our past results on brain dynamics in epilepsy and resetting of abnormal pre-ictal dynamics by seizures,21,24,34 we attempted a spatio-temporal analysis relating the spike rates in the preictal and post-ictal periods per site and seizure. In particular, instead of spatial averaging the spike rates over all sites separately in the pre-ictal and post-ictal periods, we estimated the fraction of sites that exhibited a positive (F+) or negative (F−) change in spike rate peri-ictally per seizure (Eqs. 8–10). This approach led to consistent results in all patients.
TABLE 4.
Class 1 seizures |
Class 2 seizures |
All seizures (Class 1 + Class 2) |
|||||||
---|---|---|---|---|---|---|---|---|---|
Patient | P v | P v | P v | ||||||
P1 | 1.75 ± 0.63 | 1.66 ± 0.54 | 0.71 | 1.45 ± 0.73 | 1.44 ± 0.63 | 0.79 | 1.62 ± 0.68 | 1.57 ± 0.58 | 0.86 |
P2 | 0.90 ± 0.34 | 0.51 ± 0.22 | 0.017 | 0.47 ± 0.33 | 0.48 ± 0.30 | 0.96 | 0.71 ± 0.39 | 0.50 ± 0.25 | 0.097 |
P3 | 0.82 ± 0.23 | 0.21 ± 0.15 | 0.028 | 0.70 ± 0.27 | 0.71 ± 0.31 | 0.94 | 0.72 ± 0.26 | 0.63 ± 0.33 | 0.18 |
P4 | 1.02 ± 0.38 | 0.25 ± 0.12 | 0.004 | 0.59 ± 0.40 | 0.76 ± 0.33 | 0.32 | 0.84 ± 0.43 | 0.46 ± 0.34 | 0.008 |
P5 | 0.28 ± 0.13 | 0.11 ± 0.06 | 0.016 | 0.25 ± 0.12 | 0.31 ± 0.01 | 1.0 | 0.27 ± 0.12 | 0.16 ± 0.11 | 0.13 |
A significant by-product of this analysis was the finding that peri-ictal spike rates differ in subclinical and clinical seizures (seizure classification accuracy of 87.4%). In particular, (a) statistically significant higher spike activity occurs before than after clinical seizures with the possibility of seizures themselves resetting it to lower values, and (b) no statistically significant changes in spike activity occur around subclinical seizures, however with a tendency to higher spike rates post-ictally. These findings support the view that increased pre-ictal spike activity and subclinical seizures may be manifestations of the brain moving to more unstable dynamical states, and that clinical seizures may result to resetting of this route, thus contributing to more stable brain dynamical states. It is noteworthy that the mean duration of subclinical seizures was significantly (p < 0.05) shorter than the one of clinical seizures across all patients with the exception of P3 for whom it was still shorter but with p > 0.05 (see Fig. 7). This observation suggests that duration of epileptic seizures might have an antagonist effect on post-ictal spiking, reflecting a passive physiological mechanism for resetting by seizures (e.g., prolonged ictal activity in clinical seizures may more severely deplete critical neurotransmitters and deactivate critical neuroreceptors for generation and propagation of spike activity). However, there is always the possibility that subclinical seizures reset only a very small portion of the brain that we either did not have recording access to (limitation of recording) or that its dynamical behavior is masked by a much bigger portion of the brain we record from (limitation of the algorithm's normalization). The latter points out to a possible future improvement of our approach by giving a special consideration to the peri-ictal behavior of the epileptogenic focus vs. the rest of the sites we record from. (In this study we refrained from giving a special consideration to particular brain sites in order to avoid introducing a potential bias to our results from patient to patient and seizure to seizure.)
In conclusion, our results from the small cohort of patients with epilepsy we analyzed point out to a consistent across patients causal relationship between clinical seizures and spikes, as well as to a resetting power of clinical seizures upon pre-ictal spike activity. This behavior was not evident in peri-ictal periods of sub-clinical seizures. The possibility that the relationship between spikes and seizures may depend on the type of seizures and the applied spatiotemporal meta-analysis could partially explain the inconclusive and at times conflicting results in the literature about epileptic seizures and spikes, and potentially lead to further elucidation of the mechanisms of ictogenesis and epileptogenesis.
ACKNOWLEDGMENTS
This research was partially supported by research grants from NIH (R21 NS061310), NSF (Cyber Systems ECCS-1102390) and DoD (Concept Award PT090712).
REFERENCES
- 1.Avoli M. Do interictal discharges promote or control seizures? Experimental evidence from an in vitro model of epileptiform discharge. Epilepsia. 2001;42(S3):2–4. doi: 10.1046/j.1528-1157.2001.042suppl.3002.x. [DOI] [PubMed] [Google Scholar]
- 2.Avoli M, Biagini G, de Curtis M. Do interictal spikes sustain seizures and epileptogenesis? Epilepsy Curr. 2006;6(6):203–207. doi: 10.1111/j.1535-7511.2006.00146.x. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 3.Chakravarthy N, Tsakalis K, Sabesan S, Iasemidis L. Homeostasis of brain dynamics in epilepsy: a feedback control systems perspective of seizures. Ann. Biomed. Eng. 2009;37:565–585. doi: 10.1007/s10439-008-9625-6. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 4.Chauviére L, Doublet T, Ghestem A, Siyoucef SS, Wendling F, Huys R, Jirsa V, Bartolomei F, Bernard C. Changes in interictal spike features precede the onset of temporal lobe epilepsy. Ann. Neurol. 2012;71(6):805–814. doi: 10.1002/ana.23549. [DOI] [PubMed] [Google Scholar]
- 5.De Curtis M, Manfridi A, Biella G. Activity-dependent pH shifts and periodic recurrence of spontaneous interictal spikes in a model of focal epileptogenesis. J. Neurosci. 1998;18:7543–7551. doi: 10.1523/JNEUROSCI.18-18-07543.1998. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 6.De Curtis M, Tassi L, Russo G, Mai R, Cossu M, Francione S. Increased discharge threshold after an interictal spike in human focal epilepsy. Eur. J. Neurosci. 2005;22:2971–2976. doi: 10.1111/j.1460-9568.2005.04458.x. [DOI] [PubMed] [Google Scholar]
- 7.Demont-Guignard S, Benquet P, Gerber U, Biraben A, Martin B, Wendling F. Distinct hyperexcitability mechanisms underlie fast ripples and epileptic spikes. Ann. Neurol. 2012;71(3):342–352. doi: 10.1002/ana.22610. [DOI] [PubMed] [Google Scholar]
- 8.Dichter MA, Ayala GF. Cellular mechanisms of epilepsy: a status report. Science. 1987;237:157–164. doi: 10.1126/science.3037700. [DOI] [PubMed] [Google Scholar]
- 9.Duncan JS. Antiepileptic Drugs and the Electroencephalogram. Epilepsia. 1987;28:259–266. doi: 10.1111/j.1528-1157.1987.tb04216.x. [DOI] [PubMed] [Google Scholar]
- 10.Dzhala VI, Staley KJ. Excitatory actions of endogenously released GABA contribute to initiation of ictal epileptiform activity in the developing hippocampus. J. Neurosci. 2003;23(5):1840–1846. doi: 10.1523/JNEUROSCI.23-05-01840.2003. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 11.Engel J, Jr., Ackermann RF. Interictal EEG spikes correlate with decreased, rather than increased, epileptogenicity in amygdaloid kindled rats. Brain Res. 1980;190:543–548. doi: 10.1016/0006-8993(80)90296-6. [DOI] [PubMed] [Google Scholar]
- 12.Gotman J. Relationships between triggered seizures, spontaneous seizures, and interictal spiking in the kindling model of epilepsy. Exp. Neurol. 1984;84:259–273. doi: 10.1016/0014-4886(84)90223-1. [DOI] [PubMed] [Google Scholar]
- 13.Gotman J. Relationships between interictal spiking and seizures - Human and Experimental Evidence. Can. J. Neurol. Sci. 1991;18:573–576. doi: 10.1017/s031716710003273x. [DOI] [PubMed] [Google Scholar]
- 14.Gotman J, Gloor P. Automatic recognition and quantification of interictal epileptic activity in the human scalp EEG. Electroencephalogr. Clin. Neurophysiol. 1976;41:513–529. doi: 10.1016/0013-4694(76)90063-8. [DOI] [PubMed] [Google Scholar]
- 15.Gotman J, Marciani MG. Electroencephalographic spiking activity, drug levels, and seizure occurrence in epileptic patients. Ann. Neurol. 1985;17:597–603. doi: 10.1002/ana.410170612. [DOI] [PubMed] [Google Scholar]
- 16.Huberfeld G, Prida L. M. de la, Pallud J, Cohen I, Quyen M. Le Van., Adam C, Clemenceau S, Baulac M, Miles R. Glutamatergic pre-ictal discharges emerge at the transition to seizure in human epilepsy. Nat. Neurosci. 2011;14(5):627–634. doi: 10.1038/nn.2790. [DOI] [PubMed] [Google Scholar]
- 17.Iasemidis LD, Principe JC, Sackellares JC. Measurement and quantification of spatiotemporal dynamics of human epileptic seizures. In: Akay M, editor. Nonlinear Biomedical Signal Processing. II. IEEE Press; New York: 2000. pp. 294–318. [Google Scholar]
- 18.Iasemidis LD, Sackellares JC. The evolution with time of the spatial distribution of the largest Lyapunov exponent on the human epileptic cortex. In: Duke D, Pritchard W, editors. Measuring Chaos in the Human Brain. World Scientific; Singapore: 1991. pp. 49–82. [Google Scholar]
- 19.Iasemidis LD, Sackellares JC. Chaos theory and epilepsy. Neuroscientist. 1996;2:118–125. [Google Scholar]
- 20.Iasemidis LD, Sackellares JC, Zaveri HP, Williams WJ. Phase space topography of the electrocortico-gram and the Lyapunov exponent in partial seizures. Brain Topogr. 1990;2:187–201. doi: 10.1007/BF01140588. [DOI] [PubMed] [Google Scholar]
- 21.Iasemidis LD, Shiau DS, Sackellares JC, Pardalos PM, Prasad A. Dynamical resetting of the human brain at epileptic seizures: application of nonlinear dynamics and global optimization techniques. IEEE Trans. Biomed. Eng. 2004;51:493–506. doi: 10.1109/TBME.2003.821013. [DOI] [PubMed] [Google Scholar]
- 22.Katz A, Marks DA, McCarthy G, Spencer SS. Does interictal spiking change prior to seizures? Electro-encephalogr. Clin. Neurophysiol. 1991;79:153. doi: 10.1016/0013-4694(91)90054-8. [DOI] [PubMed] [Google Scholar]
- 23.Katz LC, Shatz CJ. Synaptic Activity and the Construction of Cortical Circuits. Science. 1996;274:1133–1138. doi: 10.1126/science.274.5290.1133. [DOI] [PubMed] [Google Scholar]
- 24.Krishnan B, Faith A, Vlachos I, Roth A, Williams K, Noe K, Drazkowski J, Tapsell L, Sirven J, Iasemidis L. Resetting of brain dynamics: epileptic versus psychogenic nonepileptic seizures. Epilepsy Behav. 2011;22:S74–S81. doi: 10.1016/j.yebeh.2011.08.036. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 25.Lange HH, Lieb JP, Engel J, Jr., Crandall PH. Temporo-spatial patterns of pre-ictal spike activity in human temporal lobe epilepsy. Electroencephalogr. Clin. Neurophysiol. 1983;56:543–555. doi: 10.1016/0013-4694(83)90022-6. [DOI] [PubMed] [Google Scholar]
- 26.Lieb JP, Woods SC, Siccardi A, Crandall PH, Walter DO, Leake B. Quantitative analysis of depth spiking in relation to seizure foci in patients with temporal lobe epilepsy. Electroencephalogr. Clin. Neurophysiol. 1978;44:641–663. doi: 10.1016/0013-4694(78)90130-x. [DOI] [PubMed] [Google Scholar]
- 27.Lloyd S. Least squares quantization in PCM. IEEE Trans. Inf. Theory. 1982;28:129–137. [Google Scholar]
- 28.Maragos P, Schafer RW. Morphological filters–Part II: their relations to median, order-statistic, and stack filters. IEEE Trans. Acoust. Speech Signal Process. 1987;35:1170–1184. [Google Scholar]
- 29.Nikolaou NG, Antoniadis IA. Application of morphological operators as envelope extractors for impulsive-type periodic signals. Mech. Syst. Signal Process. 2003;17(6):1147–1162. [Google Scholar]
- 30.Nishida S, Nakamura M, Ikeda A, Shibasaki H. Signal separation of background EEG and spike by using morphological filter. Med. Eng. Phys. 1999;21:601–608. doi: 10.1016/s1350-4533(99)00092-2. [DOI] [PubMed] [Google Scholar]
- 31.Pon L-S, Sun M, Sclabassi RJ. The bi-directional spike detection in EEG using mathematical morphology and wavelet transform. 6th International Conference on Signal Processing. 2002;2:1512–1515. [Google Scholar]
- 32.Racine RJ. Modification of seizure activity by electrical stimulation: II. Motor seizure. Electroencephalogr. Clin. Neurophysiol. 1972;32:281–294. doi: 10.1016/0013-4694(72)90177-0. [DOI] [PubMed] [Google Scholar]
- 33.Rand WM. Objective criteria for the evaluation of clustering methods. J. Am. Stat. Assoc. 1971;66:846–850. [Google Scholar]
- 34.Sabesan S, Chakravarthy N, Tsakalis K, Pardalos P, Iasemidis L. Measuring resetting of brain dynamics at epileptic seizures: application of global optimization and spatial synchronization techniques. J. Comb. Optim. 2009;17:74–97. doi: 10.1007/s10878-008-9181-x. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 35.Sabesan S, Good L, Chakravarthy N, Tsakalis K, Pardalos PM, Iasemidis L. Optimization in Medicine. Springer; New York: 2008. Global optimization and spatial synchronization changes prior to epileptic seizures. pp. 970–978. [Google Scholar]
- 36.Serra J. Morphological filtering: an overview. Signal Process. 1994;38:3–11. [Google Scholar]
- 37.Serra J, Vincent L. An overview of morphological filtering. Circuits Syst. Signal Process. 1992;11:47–108. [Google Scholar]
- 38.Sherwin I. Interictal-ictal transition in the feline penicillin epileptogenic focus. Electroencephalogr. Clin. Neurophysiol. 1978;45:525–534. doi: 10.1016/0013-4694(78)90296-1. [DOI] [PubMed] [Google Scholar]
- 39.Shoeb A, Edwards H, Connolly J, Bourgeois B, Treves ST, Guttag J. Patient-specific seizure onset detection. Epilepsy Behav. 2004;5:483–498. doi: 10.1016/j.yebeh.2004.05.005. [DOI] [PubMed] [Google Scholar]
- 40.Staley KJ, White A, Dudek FE. Interictal Spikes: harbingers or causes of epilepsy? Neurosci. Lett. 2011;497(3):247–250. doi: 10.1016/j.neulet.2011.03.070. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 41.White A, Williams PA, Hellier JL, Clark S, Dudek FE, Staley KJ. EEG spike activity precedes epilepsy after kainate-induced status epilepticus. Epilepsia. 2010;51(3):371–383. doi: 10.1111/j.1528-1167.2009.02339.x. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 42.Wilcoxon F. Individual comparisons by ranking methods. Biom. Bull. 1945;1:80–83. [Google Scholar]
- 43.Wilson SB, Turner CA, Emerson RG, Scheuer ML. Spike detection II: automatic, perception-based detection and clustering. Clin. Neurophysiol. 1999;110:404–411. doi: 10.1016/s1388-2457(98)00023-6. [DOI] [PubMed] [Google Scholar]
- 44.Xu G, Wang J, Zhang Q, Zhang S, Zhu J. A spike detection method in EEG based on improved morphological filter. Comput. Biol. Med. 2007;37:1647–1652. doi: 10.1016/j.compbiomed.2007.03.005. [DOI] [PubMed] [Google Scholar]