Thalamic interictal epileptic and non-epileptic events during NREM sleep in patients with focal epilepsy: a Stereo-EEG study.
Paper
Loaded from Europe PMC by your browser, not stored by OSCR: doi.org · Europe PMC
The paper is loaded when this pane is shown.
The authors' code
MATLAB · 98 lines · 2.5 KB · MIT
- % Visually check detected spikes;
- %%
- spikes_noss = []; spike_gamma_noss = [];
- % load data
- set(0,'defaultfigurecolor','w');
- id = 2; % Set
- spike_marker = spikes{id}./ double(sr); % for MNI detectors
- plotsoz = false;
- if exist('soz_signal', 'var')
- plotsoz = true;
- end
- raw_data = data;
- signal = raw_data(id,:);
- signal = double(signal)';
- fs = sr;
- seg_len = 2 * fs;
- disp(channels{id});
- fl = 30;
- fh = 100;
- % [b,a] = butter(4,[fl*2/fs, fh*2/fs],'bandpass');
- % FIR
- filterOrder = 200;
- normalizedCutoff = [fl, fh] * 2 / fs;
- b = fir1(filterOrder, normalizedCutoff, 'bandpass');
- freqz(b, 1, 1024, fs);
- %% view
- for i = 1:1:length(spike_marker)
- cur_sample = int32(spike_marker(i)*fs);
- spike_signal = signal(cur_sample-int32(seg_len/2)+1 : cur_sample+int32(seg_len/2));
- xaxis = 0:1/fs:length(spike_signal)/fs-1/fs;
- fspike_signal = filtfilt(b, 1, spike_signal);
- figure(100);
- set(gcf, 'Position', [400 50 800 800]);
- subplot(4,1,1)
- plot(xaxis, spike_signal, 'color', [0 0 0]);
- ylabel('Raw iEEG (μV)');
- title(['Time: ',num2str(spike_marker(i))]);
- box off;
- subplot(4,1,2)
- plot(xaxis, fspike_signal);
- ylabel('30-100 Hz filtered');
- xlabel('Time (s)');
- title(['Chn: ', channels{id}]);
- box off;
- % TFR
- [ps,tfr] = getTFRfromFT(spike_signal, fs);
- xaxis_tfr = tfr.time;
- yaxis_tfr= tfr.freq;
- subplot(4,1,3)
- imagesc(xaxis_tfr,yaxis_tfr,ps);axis xy; xlabel('Time (s)');ylabel('Frequency (Hz)');
- colormap jet
- title(['Time: ',num2str(spike_marker(i)), ', Chn: ', channels{id}]);
- if plotsoz
- cur_soz_signal = soz_signal(cur_sample-int32(seg_len/2)+1 : cur_sample+int32(seg_len/2));
- subplot(4,1,4)
- plot(xaxis, cur_soz_signal, 'color', [0 0 0]);
- ylabel('SOZ iEEG (μV)');
- box off;
- end
- disp('Press Y to mark, or any other key to skip.');
- key = getkey;
- switch key
- case 'y'
- spikes_noss(end+1) = cur_sample;
- case 'Y'
- spikes_noss(end+1) = cur_sample;
- otherwise
- end
- % pause %ctr+c exit
- end
- disp('End')
- %%
- function [ps,tfr] = getTFRfromFT(signal, fs)
- ftdata=[];
- ftdata.trial{1} = signal';
- ftdata.label = {'Th'};
- ftdata.time{1} = 0:1/fs:2.0-1/fs;
- ftdata.fsample = fs;
- cfg = [];
- cfg.method = 'mtmconvol';
- cfg.toi = 0:0.02:2.0;
- cfg.foi = 10:1:100;
- cfg.taper = 'hanning';
- cfg.t_ftimwin = 5./cfg.foi;
- freq = ft_freqanalysis(cfg, ftdata);
- ps = squeeze(freq.powspctrm(1,:,:));
- tfr = freq;
- end
View_spikecheck.m at commit 35475ba, under MIT · at the source
Overview
- Department of Neurology and Epilepsy Center, The Second Affiliated Hospital, Zhejiang University School of Medicine, Hangzhou, China
- Department of Neurology, Duke University, Durham, NC, USA
- Department of Biomedical Engineering, Duke University, Durham, NC, USA
- Department of Neurology, Sir Run Run Shaw Hospital, Zhejiang University School of Medicine, Hangzhou, China
- Department of Electrical and Computer Engineering Technology, Rochester Institute of Technology, Rochester, NY, USA
- Department of Neurology, Beijing Tiantan Hospital, Capital Medical University, Beijing, China
- Department of Neurosurgery, Duke University, Durham, NC, USA
- Department of Neurosurgery, The Second Affiliated Hospital, Zhejiang University School of Medicine, Hangzhou, China
- Montreal Neurological Institute and Hospital, McGill University, Montreal, QC, Canada
Abstract
Background: Thalamic recordings are increasingly incorporated into stereo-electroencephalog
Methods: We analysed NREM sleep SEEG recordings from 64 patients with drug-resistant focal epilepsy. Electrodes sampled four thalamic nuclei: centromedian (CM), pulvinar (Pu), ventral lateral (VL), and ventral posterolateral (VPL). Patients were classified into three outcome groups: favourable, unfavourable, and surgically non-remediable. Rates of thalamic spikes, high-frequency oscillations (HFOs), spike-fast activity, and sleep spindles were analysed and compared across nuclei and outcomes.
Findings: Recordings of the thalamus revealed both pathological and physiological interictal events. Interictal epileptic events were infrequent. Only ∼0.2% of seizure-onset zone spikes propagated to the thalamus. Thalamic spike-fast activity was indicative of unfavourable surgical outcomes (CM: p = 0.047, d = 0.46) or surgically non-remediable epilepsy (VL: p = 0.002, d = 0.84). In contrast, thalamic sleep spindles were ubiquitous but reduced in surgically non-remediable patients (CM: p = 0.031, d = −0.58; VL: p = 0.005, d = −0.79). Finally, unique thalamic SEEG patterns were identified, including spikes concomitant with spindles, isolated spikes, and physiological fast ripples.
Interpretation: This study provides a comprehensive characterisation of thalamic interictal events during NREM sleep, enriching our understanding of thalamic pathophysiology and highlighting the value of thalamic recordings in presurgical evaluation.
Funding: Start-up funding of Duke University; National Natural Science Foundation of China (82471469, 82301636); Zhejiang Provincial Natural Science Foundation (LD24H090003); Canadian Institutes of Health Research funding (PJT-175056).
Reproduced under the paper's license (CC BY), from the paper cited above.
Repository
Its files are read in the Code ↔ Paper reader above.
Lab-Frauscher/Thalamus_Interictal
35475ba1dc4b8f827cb154974bd57935fa748472, 13 March 2026Availability: 1 check, the latest on 28 September 2026: the link answers
- 28 September 2026: the link answers
7 files
- surrogate analysis/
View_spikecheck.m , MATLAB, 98 lines - surrogate analysis/
generate_random_markers. , MATLAB, 19 linesm - surrogate analysis/
getkey.m , MATLAB, 70 lines - surrogate analysis/
getnum_ss.m , MATLAB, 39 lines - surrogate analysis/
run_permutation_test.m , MATLAB, 25 lines - LICENSE, License, 21 lines
- README.md, Text, 1 line
The paper's code and data availability statement is in the Data section.
Tracing map
Proposed by the machine: these links were found in the paper and verified at the source, without human review. The map will receive a Zenodo DOI once one of the paper's authors has validated it with their ORCID.
What the map holds:
- 1 repository of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
- 5 scripts, each with its path and the digest of its content;
- no match between paragraphs and code yet;
- neither the text of the paper nor the code itself.
Its JSON (tracing-map.json) is deposited on Zenodo with its DOI once the map is validated.
Data
No dataset and no data link were found in the paper.
Data sharing statement
The MATLAB code for interictal event detection can be found in the Supplementary Materials, and the code for signal analysis is available on GitHub (https://
Reproduced under the paper's license (CC BY), from the paper cited above.
Versions
The history of this record: each version stored by the harvester or made by a correction of its authors or of the maintainers of its code, and what changed in its facts. The texts of the paper (its abstract, its availability statements) are not part of it; versions that changed only those are not listed.
Version 2, 28 September 2026
- Authors: added Hongyi Ye (0009-0004-6499-9455); Xiaowei Xu (0000-0001-8790-2450); removed Hongyi Ye; Xiaowei Xu
Version 1, 28 September 2026: the first record
Recorded: type, language, journal, volume, pages, dates, 19 authors, 5 keywords, 11 MeSH terms, 5 funders, 69 references.
Cite
This paper
Ye, H., Jaber, K., Ho, A., Ye, L., Thomas, J., Xu, X., Chen, C., Chen, Y., Ren, G., Moye, M., Avigdor, T., Doležalová, I., Klimes, P., Parikh, P., Southwell, D., Zheng, Z., Zhu, J., Wang, S., & Frauscher, B. (2026). Thalamic interictal epileptic and non-epileptic events during NREM sleep in patients with focal epilepsy: a Stereo-EEG study. EBioMedicine, 128, 106287. https://
BibTeX
@article{ye2026thalamic,
author = {Ye, Hongyi and Jaber, Kassem and Ho, Alyssa and Ye, Lingqi and Thomas, John and Xu, Xiaowei and Chen, Cong and Chen, Yihe and Ren, Guoping and Moye, Matthew and Avigdor, Tamir and Doležalová, Irena and Klimes, Petr and Parikh, Prachi and Southwell, Derek and Zheng, Zhe and Zhu, Junming and Wang, Shuang and Frauscher, Birgit},
title = {{Thalamic interictal epileptic and non-epileptic events during NREM sleep in patients with focal epilepsy: a Stereo-EEG study}},
journal = {EBioMedicine},
year = {2026},
month = may,
volume = {128},
pages = {106287},
publisher = {Elsevier},
issn = {2352-3964},
doi = {10.1016/
url = {https://
pmid = {42119303},
pmcid = {PMC13193782}
}
RIS
TY - JOUR
AU - Ye, Hongyi
AU - Jaber, Kassem
AU - Ho, Alyssa
AU - Ye, Lingqi
AU - Thomas, John
AU - Xu, Xiaowei
AU - Chen, Cong
AU - Chen, Yihe
AU - Ren, Guoping
AU - Moye, Matthew
AU - Avigdor, Tamir
AU - Doležalová, Irena
AU - Klimes, Petr
AU - Parikh, Prachi
AU - Southwell, Derek
AU - Zheng, Zhe
AU - Zhu, Junming
AU - Wang, Shuang
AU - Frauscher, Birgit
TI - Thalamic interictal epileptic and non-epileptic events during NREM sleep in patients with focal epilepsy: a Stereo-EEG study
T2 - EBioMedicine
J2 - EBioMedicine
PY - 2026
DA - 2026/
VL - 128
SP - 106287
SN - 2352-3964
PB - Elsevier
DO - 10.1016/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1016/
"type": "article-journal",
"title": "Thalamic interictal epileptic and non-epileptic events during NREM sleep in patients with focal epilepsy: a Stereo-EEG study",
"container-title": "EBioMedicine",
"author": [
{
"family": "Ye",
"given": "Hongyi"
},
{
"family": "Jaber",
"given": "Kassem"
},
{
"family": "Ho",
"given": "Alyssa"
},
{
"family": "Ye",
"given": "Lingqi"
},
{
"family": "Thomas",
"given": "John"
},
{
"family": "Xu",
"given": "Xiaowei"
},
{
"family": "Chen",
"given": "Cong"
},
{
"family": "Chen",
"given": "Yihe"
},
{
"family": "Ren",
"given": "Guoping"
},
{
"family": "Moye",
"given": "Matthew"
},
{
"family": "Avigdor",
"given": "Tamir"
},
{
"family": "Doležalová",
"given": "Irena"
},
{
"family": "Klimes",
"given": "Petr"
},
{
"family": "Parikh",
"given": "Prachi"
},
{
"family": "Southwell",
"given": "Derek"
},
{
"family": "Zheng",
"given": "Zhe"
},
{
"family": "Zhu",
"given": "Junming"
},
{
"family": "Wang",
"given": "Shuang"
},
{
"family": "Frauscher",
"given": "Birgit"
}
],
"container-title-short":
"volume": "128",
"page": "106287",
"DOI": "10.1016/
"PMID": "42119303",
"PMCID": "PMC13193782",
"ISSN": "2352-3964",
"publisher": "Elsevier",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
5,
12
]
]
}
}
The tracing map gets a citation of its own once an author has validated it and it has a DOI.
Similar papers
The papers with a page that share the most with this one: the tools found in their code, their categories, datasets, cited references and authors, the rarest counting most.
- [1] doi:10.1038/s41467-026-73053-9 [code]
- Thalamo-cortical synchrony shapes seizure expression in human temporal lobe epilepsy.Journal: Nature communicationsIn common: epilepsy, EEG, clinical / translational, 8 references, author John Thomas
- [2] doi:10.1093/braincomms/fcag227 [code]
- Thalamocortical seizure onset patterns in drug-resistant focal epilepsy.Journal: Brain communicationsIn common: Signal Processing Toolbox, epilepsy, EEG, 5 references
- [3] doi:10.1093/braincomms/fcag130 [code]
- Sleep increases firing rate modulation during interictal epileptiform discharges in mesial temporal structures.Journal: Brain communicationsIn common: FieldTrip, Signal Processing Toolbox, epilepsy, EEG, 3 references
- [4] doi:10.1073/pnas.2510015122 [code]
- Mapping epileptogenic brain using a unified spatial–temporal–spectra
l source imaging framework Journal: n/aIn common: FieldTrip, epilepsy, EEG, clinical / translational, 2 references - [5] doi:10.1093/braincomms/fcaf170 [code]
- Noninvasive classification of physiological and pathological high frequency oscillations in childrenJournal: n/aIn common: Signal Processing Toolbox, epilepsy, EEG, clinical / translational, 2 references
- [6] doi:10.1371/journal.pone.0352191 [code]
- Bayesian Uncertainty-aware Deep Learning with noisy labels: Tackling annotation ambiguity in EEG seizure detection.Journal: PloS oneIn common: FieldTrip, Signal Processing Toolbox, epilepsy, EEG, 1 reference
- [7] doi:10.1038/s42003-026-10427-1 [code]
- Phase-tuned modulation during reward expectancy in human anterior insular cortex.Journal: Communications biologyIn common: EEG, author Hongyi Ye
- [8] doi:10.1002/epi4.70311 [code]
- Bridging computational and clinical strategies for presurgical identification of epileptogenic networks.Journal: Epilepsia openIn common: intracranial EEG (iEEG / ECoG / SEEG), epilepsy, clinical / translational, 2 references
- [9] doi:10.1002/mco2.70931 [code]
- Unveiling Functional Architecture of Human Thalamus: AStereoelectroencephalog
raphy Study. Journal: MedCommIn common: epilepsy, 3 references - [10] doi:10.1093/braincomms/fcag187 [code]
- 50 Hz Cortical stimulation increases interictal epileptiform discharges at the seizure onset zone.Journal: Brain communicationsIn common: intracranial EEG (iEEG / ECoG / SEEG), epilepsy, clinical / translational, 2 references
Contribute
The authors of this paper can claim it, correct its record and validate its tracing map, and the maintainers of its code (its owner, or a public member of its organization) correct what it says of their repository; anyone signed in can ask for its removal. Every request goes to OSCR's own machine, which answers it; your account page follows them.
Sign in with ORCID to claim this paper as one of its authors, correct its record or validate its tracing map: when the paper's metadata lists your ORCID iD, you are recognized at once. Maintainers of its code: sign in with GitHub, then claim the repository on your account page.
Claim this paper
Correct its record
Say what each link of this record is, remove the ones that are not the paper's, add the ones that are missing. The correction becomes a new version of the record, in its Versions section.
Validate its tracing map
You validate the map as this page shows it: 1 repository of the authors' code, each at its verified commit and with its license, 5 scripts, and 0 matches between paragraphs and code (see the Code and Map sections). It then receives a DOI on Zenodo, with you (your ORCID iD) and OSCR as its creators; the code itself is not deposited.
The map's fingerprint: sha256:91a6f4ed1d403a7b…
Add the badge to its README
The badge links the code to this page. Copy one of these into the README of the paper's code: only you decide where it goes, and nothing is changed for you.
Markdown
[, paste the snippet at the top, then “Commit changes…” and, to review it first, “Create a new branch and start a pull request”. You open the pull request; OSCR asks for no permission.
Request its removal
To ask OSCR to remove this record, the copies of its authors' scripts or its tracing map, use the removal request page: signed in, you say who you are, what to remove and why, then review and confirm the request. Published rules decide every request (how).
Discussion, reproductions, activity
Discussion: questions and error reports about this paper and its code, from signed-in readers and its authors. It opens with sign-in.
Reproductions: reports from readers who ran the authors' code: what they reproduced, with which environment, commit and data. It opens with sign-in.
Activity: what happens around this paper: new versions of its record, its map's validation, discussions and reproductions. It opens with sign-in.
