Marc G. Leguia

Marc G. Leguia

Auto-generated profile, based on publicly available information

Marc G. Leguia

Life Sciences Department, Barcelona Supercomputing Center, Barcelona, Spain

Research Focus & Metrics

Academic Career Length

10Years (2017-Present)

(Calculated once Scilit publication data is synced: current year − year of first publication + 1)

Representative Publications

View All Publications
1 August 2020 in Epilepsia
Verified
Journal Article
Closed access
PDF file
VRVikram Ramnath Rao
Vikram Ramnath Rao
MLMarc G. Leguia
Marc G. Leguia
TTThomas K. Tcheng
Thomas K. Tcheng
MBMaxime Baud
Maxime Baud

22 September 2022 in Epilepsia
Verified
Journal Article
Open access
MLMarc G. Leguia
Marc G. Leguia
VRVikram Ramnath Rao
Vikram Ramnath Rao
TTThomas K. Tcheng
Thomas K. Tcheng
JDJonas Duun-Henriksen
Jonas Duun-Henriksen
TKTroels W. Kjær
Troels W. Kjær
MBMaxime Baud
Maxime Baud
Objective: Epilepsy is characterized by spontaneous seizures that recur at unexpected times. Nonetheless, using years‐long electroencephalographic (EEG) recordings, we previously found that patient‐reported seizures consistently occur when interictal epileptiform activity (IEA) cyclically builds up over days. This multidien (multiday) interictal–ictal relationship, which is shared across patients, may bear phasic information for forecasting seizures, even if individual patterns of seizure timing are unknown. To test this rigorously in a large retrospective dataset, we pretrained algorithms on data recorded from a group of patients, and forecasted seizures in other, previously unseen patients.Methods: We used retrospective long‐term data from participants (N = 159) in the RNS System clinical trials, including intracranial EEG recordings (icEEG), and from two participants in the UNEEG Medical clinical trial of a subscalp EEG system (sqEEG). Based on IEA detections, we extracted instantaneous multidien phases and trained generalized linear models (GLMs) and recurrent neural networks (RNNs) to forecast the probability of seizure occurrence at a 24‐h horizon.Results: With GLMs and RNNs, seizures could be forecasted above chance in 79% and 81% of previously unseen subjects with a median discrimination of area under the curve (AUC) = .70 and .69 and median Brier skill score (BSS) = .07 and .08. In direct comparison, individualized models had similar median performance (AUC = .67, BSS = .08), but for fewer subjects (60%). Moreover, calibration of pretrained models could be maintained to accommodate different seizure rates across subjects.Significance: Our findings suggest that seizure forecasting based on multidien cycles of IEA can generalize across patients, and may drastically reduce the amount of data needed to issue forecasts for individuals who recently started collecting chronic EEG data. In addition, we show that this generalization is independent of the method used to record seizures (patient‐reported vs. electrographic) or IEA (icEEG vs. sqEEG).

1 January 2021 in Chaos: An Interdisciplinary Journal of Nonlinear Science
Verified
Journal Article
Closed access
PDF file
MLMarc G. Leguia
Marc G. Leguia
VRVikram Ramnath Rao
Vikram Ramnath Rao
JKJonathan K. Kleen
Jonathan K. Kleen
MBMaxime Baud
Maxime Baud
Paroxysms are sudden, unpredictable, short-lived events that abound in physiological processes and pathological disorders, from cellular functions (e.g., hormone secretion and neuronal firing) to life-threatening attacks (e.g., cardiac arrhythmia, epileptic seizures, and diabetic ketoacidosis). With the increasing use of personal chronic monitoring (e.g., electrocardiography, electroencephalography, and glucose monitors), the discovery of cycles in health and disease, and the emerging possibility of forecasting paroxysms, the need for suitable methods to evaluate synchrony—or phase-clustering—between events and related underlying physiological fluctuations is pressing. Here, based on examples in epilepsy, where seizures occur preferentially in certain brain states, we characterize different methods that evaluate synchrony in a controlled timeseries simulation framework. First, we compare two methods for extracting the phase of event occurrence and deriving the phase-locking value, a measure of synchrony: (M1) fitting cycles of fixed period-length vs (M2) deriving continuous cycles from a biomarker. In our simulations, M2 provides stronger evidence for cycles. Second, by systematically testing the sensitivity of both methods to non-stationarity in the underlying cycle, we show that M2 is more robust. Third, we characterize errors in circular statistics applied to timeseries with different degrees of temporal clustering and tested with different strategies: Rayleigh test, Poisson simulations, and surrogate timeseries. Using epilepsy data from 21 human subjects, we show the superiority of testing against surrogate time-series to minimize false positives and false negatives, especially when used in combination with M1. In conclusion, we show that only time frequency analysis of continuous recordings of a related bio-marker reveals the full extent of cyclical behavior in events. Identifying and forecasting cycles in biomedical timeseries will benefit from recordings using emerging wearable and implantable devices, so long as conclusions are based on conservative statistical testing.

8 March 2023 in Epilepsia
Verified
Journal Article
Open access
RARalph G. Andrzejak
Ralph G. Andrzejak
HZHitten P. Zaveri
Hitten P. Zaveri
ASAndreas Schulze‐Bonhage
Andreas Schulze‐Bonhage
MLMarc G. Leguia
Marc G. Leguia
WSWilliam C. Stacey
William C. Stacey
KLKlaus Lehnertz
Klaus Lehnertz
A lot of mileage has been made recently on the long and winding road toward seizure forecasting. Here we briefly review some selected milestones passed along the way, which were discussed at the International Conference for Technology and Analysis of Seizures—ICTALS 2022—convened at the University of Bern, Switzerland. Major impetus was gained recently from wearable and implantable devices that record not only electroencephalography, but also data on motor behavior, acoustic signals, and various signals of the autonomic nervous system. This multimodal monitoring can be performed for ultralong timescales covering months or years. Accordingly, features and metrics extracted from these data now assess seizure dynamics with a greater degree of completeness. Most prominently, this has allowed the confirmation of the long‐suspected cyclical nature of interictal epileptiform activity, seizure risk, and seizures. The timescales cover daily, multi‐day, and yearly cycles. Progress has also been fueled by approaches originating from the interdisciplinary field of network science. Considering epilepsy as a large‐scale network disorder yielded novel perspectives on the pre‐ictal dynamics of the evolving epileptic brain. In addition to discrete predictions that a seizure will take place in a specified prediction horizon, the community broadened the scope to probabilistic forecasts of a seizure risk evolving continuously in time. This shift of gears triggered the incorporation of additional metrics to quantify the performance of forecasting algorithms, which should be compared to the chance performance of constrained stochastic null models. An imminent task of utmost importance is to find optimal ways to communicate the output of seizure‐forecasting algorithms to patients, caretakers, and clinicians, so that they can have socioeconomic impact and improve patients' well‐being.

1 September 2019 in Chaos: An Interdisciplinary Journal of Nonlinear Science
Verified
Journal Article
Open access
PDF file
MLMarc G. Leguia
Marc G. Leguia
ZLZoran Levnajic
Zoran Levnajic
LTLjupco Todorovski
Ljupco Todorovski
Bernard ŽenkoBernard Ženko
Bernard Ženko
Empirical data on real complex systems are becoming increasingly available. Parallel to this is the need for new methods of reconstructing (inferring) the structure of networks from time-resolved observations of their node-dynamics. The methods based on physical insights often rely on strong assumptions about the properties and dynamics of the scrutinized network. Here, we use the insights from machine learning to design a new method of network reconstruction that essentially makes no such assumptions. Specifically, we interpret the available trajectories (data) as “features” and use two independent feature ranking approaches—Random Forest and RReliefF—to rank the importance of each node for predicting the value of each other node, which yields the reconstructed adjacency matrix. We show that our method is fairly robust to coupling strength, system size, trajectory length, and noise. We also find that the reconstruction quality strongly depends on the dynamical regime.

22 January 2019 in Physical Review E
Verified
Journal Article
Open access
PDF file
MLMarc G. Leguia
Marc G. Leguia
CMCristina G. B. Martínez
Cristina G. B. Martínez
IMIrene Malvestio
Irene Malvestio
ACAdrià Tauste Campo
Adrià Tauste Campo
RRRodrigo Rocamora
Rodrigo Rocamora
RARalph G. Andrzejak
Ralph G. Andrzejak
Inferring the topology of a network using the knowledge of the signals of each of the interacting units is key to understanding real-world systems. One way to address this problem is using data-driven methods like cross-correlation or mutual information. However, these measures lack the ability to distinguish the direction of coupling. Here, we use a rank-based nonlinear interdependence measure originally developed for pairs of signals. This measure not only allows one to measure the strength but also the direction of the coupling. Our results for a system of coupled Lorenz dynamics show that we are able to consistently infer the underlying network for a subrange of the coupling strength and link density. Furthermore, we report that the addition of dynamical noise can benefit the reconstruction. Finally, we show an application to multichannel electroencephalographic recordings from an epilepsy patient.