Figures
Abstract
Objective
Approximately 50 million people worldwide have epilepsy and 8–17% of the deaths in patients with epilepsy are attributed to sudden unexpected death in epilepsy (SUDEP). The goal of the present work was to establish a biomarker for SUDEP so that preventive treatment can be instituted.
Approach
Seizure activity in patients with SUDEP and non-SUDEP was analyzed, specifically, the scalp EEG extracted muscle activity (SMA) and the average wavelet phase coherence (WPC) during seizures was computed for two frequency ranges (1–12 Hz, 13–30 Hz) to identify differences between the two groups.
Citation: Gravitis AC, Sivendiran K, Tufa U, Zukotynski K, Chinvarun Y, Devinsky O, et al. (2024) Wavelet phase coherence of ictal scalp EEG-extracted muscle activity (SMA) as a biomarker for sudden unexpected death in epilepsy (SUDEP). PLoS ONE 19(8): e0298943. https://doi.org/10.1371/journal.pone.0298943
Editor: Giuseppe Biagini, University of Modena and Reggio Emilia, ITALY
Received: February 12, 2024; Accepted: August 14, 2024; Published: August 29, 2024
Copyright: © 2024 Gravitis et al. This is an open access article distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.
Data Availability: There are legal restrictions on sharing a de-identified data set, imposed by the North American SUDEP Registry (NASR), due to agreements between them and their consortium review boards. NASR accepts data access requests at the following address: North American SUDEP Registry NYU Langone Health Comprehensive Epilepsy Center 223 East 34th St New York, NY 10016 Phone: (855)-432-8555 Fax: (646)-754-9880 Email: info@sudepregistry.org.
Funding: B.L. Bardakjian would like to acknowledge support by the Epilepsy Research Program (EpLink) of the Ontario Brain Institute (OBI) Fund # 505335, the Natural Sciences and Engineering Research Council of Canada (NSERC) Fund # 457948, and the SciNet HPC Consortium funded by the Canada Foundation for Innovation; the Government of Ontario; Ontario Research Fund (Research Excellence); and the University of Toronto.
Competing interests: The authors have declared that no competing interests exist.
Introduction
Epilepsy is a common chronic neurological disorder characterized by recurrent seizures. Sudden unexpected death in epilepsy (SUDEP) occurs in approximately 1 in 1000 people with epilepsy each year [1] and typically occurs after convulsive seizures in sleep, followed by cardio-respiratory dysfunction and impaired arousal which may be caused by spreading depression or epileptiform activity involving the brainstem [1–6]. A biomarker for epilepsy patients at high SUDEP risk could enable earlier and more aggressive preventive interventions.
Electromyography (EMG) analysis has been applied to the detection of tonic-clonic seizures and performs comparably to identification by video-EEG monitoring [7]. These results have been replicated by in-ear EMG which have potential for nocturnal monitoring for SUDEP prevention [8]. Further, EMG has been used to develop a metric for muscle activation during seizures, which was predictive of postictal EEG suppression (PGES), a SUDEP risk factor [9]. Assessment of scalp muscle activity (SMA) by EMG shows promise for the development of a SUDEP risk assessment by classification of seizure type, as occurrence of generalized tonic-clonic seizures (GTCS) are also a SUDEP risk factor [10, 11]. In our retrospective study, since limb EMG was not recorded, we extracted SMA from scalp EEG recordings.
Methods
Data acquisition
Scalp EEG recordings were obtained from 5 non-SUDEP and 7 definite SUDEP patients (sudden, unexpected death of a patient without relevant comorbidities, in which postmortem examination, including toxicology, does not reveal a cause of death other than epilepsy). Non-SUDEP controls were selected based on their similarity to SUDEP patients. EEG recordings were acquired using the Natus/Xltek EEG system with 19 or more electrodes. Although no recorded seizures were fatal, all SUDEP patients died within 3 years of their last available recordings. Patients categorized as non-SUDEP did not die within 10 years of their last available recordings.
Patients were undergoing presurgical evaluation in an epilepsy monitoring unit (EMU), with drug-resistant focal (temporal or extratemporal lobe) epilepsy and were not on anti-seizure medications at the time of recording. Apart from their definite SUDEP designation, the following data were not available in this retrospective study: simultaneous video EEG, sleep/wakefulness states, other medications, MRI findings, or non-epilepsy medical history.
The EEG data was accessed in October 2019 in preparation for the “SUDEP Biomarker Fourth Challenge, Third Milestone” of the “The Epilepsy Foundation SUDEP Institute”, and the team had limited access to information that could identify individual participants long after they had passed away. The data were obtained through the consortium formed by the Toronto Western Hospital, the New York University (NYU) Comprehensive Epilepsy Center, and the Phramongkutklao Royal Army Hospital (Tables 1 and 2). Ictal durations were identified from EEG scalp electrode recordings by board-certified neurologists/ electroencephalographers.
SMA extraction and analysis
The overall block diagram of the methodology is shown in Fig 1. (1) Original EEG recordings ranged in sampling rate from 200 Hz to 512 Hz. All recordings were upsampled to 512 Hz, and low-pass filtered at 100 Hz. (2) EEG signals from each of the 19 standard electrodes of the international 10–20 system were decomposed into 30 components using singular spectrum analysis (SSA). (3) Notch filtering of 60 Hz and its harmonics. (4) Autocorrelation values for each SSA component were calculated. (5) An autocorrelation threshold was tuned to maximize EMG-like properties of extracted signal. (6) SSA components below the tuned autocorrelation threshold were extracted as EMG-like SMA signals. (7) WPC was calculated between retained components of each electrode pair. (8) Average values of WPC over ictal duration and 1–12 Hz and 13–30 Hz ranges were calculated. (9) Per-seizure spatial averages of WPC were derived from per-electrode temporal averages.
Retained SSA components below the tuned autocorrelation threshold (R < 0.8) were summed to form the extracted SMA signal, which was analyzed in two frequency ranges: 1–12 Hz and 13–30 Hz.
Reported differences between EEG and EMG signals [10] were reflected in the extracted SMA and retained EEG resulting from this methodology (Fig 2). Extracted SMA, selected for lower autocorrelation values, had dominant power above 50 Hz, but also included activity in the 1–30 Hz range. Retained EEG was selected for higher autocorrelation and resulting in dominant power below 50 Hz.
Singular Spectrum Analysis (SSA).
SSA using elementary grouping [10] was first performed on raw EEG data from ictal recordings to decompose the signal into its constituent components. This technique consists of first creating a trajectory matrix, T, from lagged versions of the time series x (in this case, a single EEG electrode recording). Next, the singular value decomposition of the trajectory matrix was taken. Using values obtained from this decomposition, the trajectory matrix was decomposed into a sum of L elementary matrices (matrices that have a rank of 1), where U and V were obtained from the singular value decomposition of the trajectory matrix, λ represents the eigenvalues of the trajectory matrix and k ranges from 0 to L-1.
Finally, each of the L elementary matrices were hankelized and each resulting Hankel matrix was converted into a time series, where each diagonal value of the Hankel matrix corresponds to a sample in the time series.
Autocorrelation analysis.
The autocorrelation of each SSA component was computed following Eq (2) [12], where E is the expected value operation, s1(t) is the SSA component time series and s2 (t) = s1 (t-1).
As muscle activity has a wide frequency range, it has a lower autocorrelation value than EEG signals. Reference [12] demonstrated an autocorrelation threshold can be used to differentiate an EEG signal from scalp muscle activity. We apply the technique to extract SMA from EEG.
The SSA components identified as EEG were removed and the remaining components summed to recover SMA.
Autocorrelation threshold selection.
Our analysis depended on an autocorrelation threshold value to distinguish extracted muscle activity from EEG rhythms (Fig 3(b)). Autocorrelation thresholds between 0.5 and 0.95 were tested, at 0.05 intervals. Five inter-ictal EEG segments of SUDEP patients were used as controls, each spanning 62 s, and were processed to obtain resulting SMA signals for each threshold value. All control recordings were obtained from 2 SUDEP patients (2 from patient 11, 3 from patient 12) and were used for threshold tuning (Table 2).
(A) Power spectra of extracted and retained signals for varying autocorrelation thresholds. (B) Comparison of average WPC between extracted SMA and raw electrode for 1–30 Hz and 30–100 Hz ranges: 0.75–0.85 maximized this difference. (C) The log of the ratio of extracted power between 50–70 Hz at different autocorrelation thresholds.
The WPC between each of the 5 resulting SMA signals and their corresponding scalp electrodes at each autocorrelation threshold. Electrodes FZ, FP1 and FP2 were selected due to the high presence of scalp muscle activity when compared to other electrodes, due to proximity of facial muscles. Each data matrix was averaged over time and averaged over two frequency ranges: 1–30 Hz and 31–100 Hz.
Fig 3(b) shows the change in average WPC between extracted SMA and raw electrode for both 1–30 Hz and 31–100 Hz frequency ranges for varying autocorrelation thresholds. A threshold of 0.8 was selected as it maximized the difference between EMG-like retained SMA and retained EEG, based on power spectra (Fig 3(a)), WPC (Fig 3(b)), and ratio of power in the 50–70 Hz range (Fig 3(c)).
Phase-phase cross-frequency coupling (PPC) analysis was performed between the extracted SMA and corresponding electrode for an ictal segment from patient 11 (Fig 2), using an n:m PPC calculation [13, 14]:
PPC analysis (Fig 4(b)) confirmed strong coupling between the 50–70 Hz EMG-like frequencies of the raw electrode with lower frequencies of extracted SMA, most pronounced at 12–15 Hz.
(A) Raw ictal EEG, Extracted SMA, and Retained EEG. (B) Phase-phase cross-frequency coupling (PPC) between extracted SMA and raw electrode (left), and between retained EEG and raw electrode (right). Lower frequencies of extracted SMA are strongly coupled with higher frequencies of EMG.
Wavelet phase coherence.
The WPC of the SMA signals were obtained for each electrode pair. Since 19 electrodes from each ictal recording were used in the analysis, this resulted in 361 (19 x 19) WPC data matrices. For each data matrix, a time average was performed over the entire duration of the seizure. A frequency average was then performed over 1–12 Hz and 13–30 Hz.
Disregarding coherence entries between identical electrodes, each row of the resulting matrix was then averaged over the 18 column entries to obtain the average WPC on a per-electrode basis. To obtain the average WPC on a per seizure basis, each group of 19 electrodes was averaged.
Estimation statistics.
Results are presented using estimation statistics as an alternative to null hypothesis significance testing [15].
Results
Validation of SMA extraction
We hypothesized that the WPC of retained (following SMA removal) EEG would be distinct from that of the extracted SMA, as an initial validation of the extraction process.
Using the optimal autocorrelation threshold of 0.8, SMA was extracted from 5 SUDEP (12 seizure recordings) and 5 non-SUDEP (12 seizure recordings) patients. However, instead of discarding the SSA components which corresponded to an autocorrelation value greater than or equal to 0.8, the components were summed to obtain the retained EEG signal.
Next, average WPC was computed on a per electrode basis for the SMA and retained EEG signals. For both frequency ranges: 1–12 Hz and 13–30 Hz, Fig 5(a) compares the average WPC for both signals for SUDEP patients and Fig 5(b) compares the average WPC for both signals for non-SUDEP patients.
(A) For 5 SUDEP patients. (B) For 5 non-SUDEP patients.
Comparing average WPC
The average WPC was computed on a per-electrode and per-seizure basis for each of the 13 SUDEP seizures and each of the 12 non-SUDEP seizures. Comparing non-SUDEP to SUDEP patients, the average WPC was significantly higher for SUDEP patients for each of the frequency ranges, as shown in Figs 6 and 7.
(A) Comparing entire ictal recordings for 5 SUDEP patients (12 seizures) and 5 non-SUDEP patients (12 seizures) on a per electrode basis (19 electrodes used per recording), left, and mean of all electrodes per seizure, right. (B) Controlling for GTC seizures only, comparing entire ictal recordings for 4 SUDEP patients (9 GTCS) and 4 non-SUDEP patients (8 GTCS).
(A) Comparing entire ictal recordings for 5 SUDEP patients (12 seizures) and 5 non-SUDEP patients (12 seizures) on a per electrode basis (19 electrodes used per recording), left, and mean of all electrodes per seizure, right. (B) Controlling for GTC seizures only, comparing entire ictal recordings for 4 SUDEP patients (9 GTCS) and 4 non-SUDEP patients (8 GTCS).
Risk assessment
The logistic classifier resulted in a Receiver Operating Characteristic (ROC) curve with an Area Under Curve (AUC) of 97% for training data (Fig 8). The SUDEP seizure withheld for testing was correctly classified as SUDEP by this method.
(A) ROC curve of training data: Accuracy optimized point (red), used to determine classifier decision threshold. (B) Mean seizure propensity scores, with standard error shown. (C) Propensity score of seizure not included in training set from SUDEP patient. (D) ROC curve for leave-one-out cross-validation, over 10 rounds.
Discussion
We found that average WPC was significantly higher for SUDEP compared to non-SUDEP patients for both frequency ranges. Average WPC of SMA is a measure of scalp muscle coherence, as strong contractions would be captured by more electrodes and result in a higher average WPC value. This is in line with previous studies using EMG-EMG coherence in myoclonus assessment in epileptic patients. The possibility that stronger contractions observed in SUDEP patients were due only to the propensity of SUDEP patients to have generalized tonic-clonic seizures [9] was negated as significant differences held in both bands when comparing GTCS only. Further, the risk assessment based on logistic classification of resulting WPC values demonstrated the clinical application of these measures.
This study compared WPC of EMG-like SMA from ictal EEG recordings, as EMG recordings of SUDEP patients were not available. Epilepsy patients treated in an EMU are typically recorded for EEG and ECG; less often for EMG. High-quality ictal EMU recordings of SUDEP patients remain rare; EMG recordings are rarely available for study. Our technique establishes a pathway to using SMA extracted from ictal scalp EEG recordings to leverage EMG-related biomarkers of SUDEP.
This work expands on previous studies [16] extracting EMG-like SMA from EEG recordings. When extracting SMA, there was minimal loss in scalp muscle activity and minimal contamination of EEG signal and noise during the extraction to ensure SMA signals were not distorted or contaminated. SSA was selected as its decomposition process was able to separate the scalp muscle activity signal components from the EEG signal components, in contrast to similar algorithms which were investigated such as ensemble empirical mode decomposition.
Differences in muscular contractions may result from brainstem network disruption implicated in SUDEP. Hypothetical models in rats have suggested that convulsions can result directly from self-sustained epileptic activation in brainstem structures [17], and that these convulsions differ from those originating from the motor cortex. The significantly stronger WPC between extracted SMA in this study may be attributable to convulsions driven by the reticular core of near-SUDEP brainstems.
EMG analysis can detect tonic-clonic seizures in isolation [7, 11] and in multimodal sensory environments [18, 19]. Several methods for classification of EMG features have been reported. Empirical mode decomposition of EMG has been used to classify upper limb movements [20], while techniques based on discrete wavelet transforms of EMG have identified muscle movements [21–23].
Video-EEG remains the clinical gold standard for identifying seizures leading to a scarcity of EMG recordings in SUDEP patients. Therefore, it is important to extract EMG features from other modalities. Using only EEG recordings, [24] applied principal component analysis, and both linear discriminant analysis and support vector machines to identify jaw movement, without explicitly identifying EMG. Reference [25] developed an automated system to identify seizures based on ‘optical flow’ of recorded motion. In this study, EMG features were extracted from scalp EEG using SSA.
An EMG-based SUDEP biomarker has been proposed, observing that EMG-derived respiration features identified ictal laryngospasms in mouse models [16]. This possibility was reinforced by a case report of a near-SUDEP patient consistent with this pattern [26].
Investigations of high frequency oscillations (HFOs) in EEG of patients with epilepsy revealed that they were typically of low amplitude and a phase-based measure such as WPC was required for their analysis. Previous work from our team demonstrated that WPC applied to intracranial EEG recordings helped characterize HFOs (80–400 Hz), across brain sites in patients with extratemporal lobe epilepsy that localized seizure onset sites [27]. Subsequent work by the same authors suggested strong coherence between HFO sites in the ictal state, and also in low frequency oscillations (LFOs), 5–12 Hz sites in the interictal state, can localize the same seizure onset sites [28]. Our team also previously reported differences in EEG WPC during infantile epileptic spasms [29].
Conclusion
SSA with an autocorrelation threshold was an effective method of extracting SMA when using the novel threshold tuning technique mentioned in this paper. The results show that average WPC of ictal SMA is a biomarker for SUDEP. Future research should consider using additional seizure data containing corresponding EMG recordings to help establish a more robust threshold for differentiating scalp muscle activity from brain activity and evaluating additional SUDEP and non-SUDEP ictal SMA data.
References
- 1. Devinsky O. Sudden, unexpected death in epilepsy. N. Engl. J. Med. 2011;365(19): 1801–11. pmid:22070477
- 2. Jefferys JGR, Arafat MA, Irazoqui PP, Lovick TA. Brainstem activity, apnea, and death during seizures induced by intrahippocampal kainic acid in anaesthetized rats. Epilepsia. 2019;60:2346–58. pmid:31705531
- 3. Murugesan A, Sandhya Rani MR, Vilella L, Lacuey N, Hampson JP, Faingold CL, et al. Postictal serotonin levels are associated with peri-ictal apnea. Neurology. 2019;93:1485–94. pmid:31484709
- 4. Patodia S, Somani A, O’Hare M, Venkateswaran R, Liu J, Michalak Z, et al. The ventrolateral medulla and medullary raphe in sudden unexpected death in epilepsy. Brain. 2018;141:1719–33. pmid:29608654
- 5. Vilella L, Laucey N, Hampson J, Sandhya Rani MR, Sainju RK, Friedman D, et al. Postconvulsive central apnea as a biomarker for sudden unexpected death in epilepsy (SUDEP). Neurology. 2019;92:171–182. pmid:30568003
- 6. Zhan Q, Buchanan GF, Motelow JE, Andrews J, Vitkovskiy P, Chen WC, et al. Impaired Serotonergic Brainstem Function during and after Seizures. J. Neurosci. 2016;36: 2711–22. pmid:26937010
- 7. Szabó CA, Morgan LC, Karkar KM, Leary LD, Lie OV, Girouard M, et al. Electromyography-based seizure detector: preliminary results comparing a generalized tonic-clonic seizure detection algorithm to video-EEG recordings. Epilepsia. 2015;56(9):1432–37. pmid:26190150
- 8. Zibrandsten IC, Kidmose P, Kjaer TW. Detection of generalized tonic-clonic seizures from ear-EEG based on EMG analysis. Seizure. 2018;59:54–59. pmid:29747022
- 9. Arburne AA, Conradsen I, Cardenas DP, Whitmire LE, Voyles SR, Wolf P, et al. Ictal quantitative surface electromyography correlates with postictal EEG suppression. Neurology. 2020;94(24).
- 10. Nilsson L, Farahmand BY, Persson PG, Thiblin I, Tomson T. Risk factors for sudden unexpected death in epilepsy: a case–control study. Lancet. 1999;353:888–93. pmid:10093982
- 11. Beniczky S, Conradsen I, Wolf P. Detection of convulsive seizures using surface electromyography. Epilepsia. 2018;59(1):23–29. pmid:29873829
- 12. Liu Q, Liu A, Zhang X, Chen X, Qian R, Chen X. Removal of EMG Artifacts from Multichannel EEG Signals Using Combined Singular Spectrum Analysis and Canonical Correlation Analysis. J. Healthc. Eng. 2019:4159676. pmid:31976053
- 13. Tass P, Rosenblum MG, Weule J, Kurths J, Pikovsky A, Volkmann J, et al. Detection of n: m Phase Locking from Noisy Data: Application to Magnetoencephalography. Phys Rev Lett. 1998;81(15): 3291–4.
- 14. Gravitis AC, Tufa U, Zukotynski K, Streiner DL, Friedman D, Laze J, et al. Ictal ECG-based assessment of sudden unexpected death in epilepsy. Front. Neurol. 2023;14:1147576. pmid:36994379
- 15. Ho J, Tumkaya T, Aryal S, Choi H, Claridge-Chang A. Moving beyond P values: Everyday data analysis with estimation plots. Nat Methods. 2019;16:565–6. pmid:31217592
- 16. Stewart M, Kollmar R, Nakase K, Silverman J, Sundaram K, Orman R, et al. Obstructive apnea due to laryngospasm links ictal to postictal events in SUDEP cases and offers practical biomarkers for review of past cases and prevention of new ones. Epilepsia. 2017;58(6):87–90. pmid:28464295
- 17. Burnham WM. Core mechanisms in generalized convulsions. Fed Proc. 1985;44(8):2442–5. pmid:3886432
- 18. Van de Vel A, Cuppens K, Bonroy B, Milosevic M, Jansen K, Van Huffel S, et al. Non-EEG seizure detection systems and potential SUDEP prevention: State of the art: Review and update. Seizure. 2016;41:141–53. pmid:27567266
- 19. Leijten FSS, Dutch TeleEpilepsy Consortium. Multimodal seizure detection: A review. Epilepsia. 2018; 59(1): 42–47.
- 20.
Karuna M, Guntur SR. EMG Signal Analysis Using Intrinsic Mode Functions to Discriminate Upper Limb Movements. 2020 International Conference on Artificial Intelligence and Signal Processing (AISP), 2020:1–3.
- 21. Tuncer T, Dogan S, Subasi A. Surface EMG signal classification using ternary pattern and discrete wavelet transform based feature extraction for hand movement recognition. Biomedical Signal Processing and Control, 2020;58:101872.
- 22.
Arozi M, Putri, FT, Ariyanto M, Caesarendra W, Widyotriatmo A, Munadi, et al. Electromyography (EMG) signal recognition using combined discrete wavelet transform based on Artificial Neural Network (ANN). 2016 2nd International Conference of Industrial, Mechanical, Electrical, and Chemical Engineering (ICIMECE), 2016: 95–99.
- 23. Duan F, Dai L, Chang W, Chen Z, Zhu C, Li W. sEMG-Based Identification of Hand Motion Commands Using Wavelet Neural Network Combined With Discrete Wavelet Transform. IEEE Transactions on Industrial Electronics. 2016; 63(3):1923–34.
- 24. Bascil MS. A New Approach on HCI Extracting Conscious Jaw Movements Based on EEG Signals Using Machine Learnings. J Med Syst. 2018; 42(169). pmid:30078146
- 25. Geertsema EE, Thijs RD, Gutter T, Vledder B, Arends JB, Leijten FS, et al. Automated video-based detection of nocturnal convulsive seiuzures in a residential care setting. Epilepsia. 2018; 59(1):53–60.
- 26. Lacuey N, Vilella L, Hampson JP, Sahadevan J, Lhatoo S. Ictal laryngospasm monitored by video-EEG and polygraphy: a potential SUDEP mechanism. Epileptic Disorders. 2018;20(2):146–50. pmid:29620011
- 27. Cotic M, Zalay OC, Chinvarun Y, del Campo M, Carlen PL, Bardakjian BL. Mapping the coherence of ictal high frequency oscillations in human extratemporal lobe epilepsy. Epilepsia. 2015; 56(3): 393–402. pmid:25630492
- 28. Cotic M, Chinvarun Y, del Campo M, Carlen PL, Bardakjian BL. Spatial Coherence Profiles of Ictal High-Frequency Oscillations Correspond to Those of Interictal Low-Frequency Oscillations in the ECoG of Epileptic Patients. IEEE Transactions on Biomedical Engineering. 2016;63(1):76–85. pmid:25561587
- 29. Samfira IMA, Galanopoulou AS, Nariai H, Gursky J, Moshé SL, Bardakjian BL. EEG-based spatiotemporal dynamics of fast ripple networks and hubs in infantile epileptic spasms. Epilepsia Open. 2023. pmid:37743321