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; OSCR does not store it: 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/fcaf056 [code]
- Spikes on ripples are better interictal biomarkers of epilepsy than spikes or ripples.Journal: Brain communicationsIn common: Signal Processing Toolbox, epilepsy, clinical / translational, 7 references
- [3] doi:10.1038/s41598-026-45177-x
- Predicting surgical outcome in drug-resistant epilepsy by combining interictal biomarkers within a machine learning framework.Journal: Scientific reportsIn common: epilepsy, EEG, clinical / translational, 7 references
- [4] doi:10.1038/s41467-025-64922-w [code]
- Thalamocortical hodology to personalize electrical stimulation for focal epilepsy.Journal: Nature communicationsIn common: Signal Processing Toolbox, epilepsy, EEG, clinical / translational, 6 references
- [5] doi:10.1002/ana.27278
- Visual Features in Stereo-Electroencephalog
raphy to Predict Surgical Outcome: A Multicenter Study. Journal: Annals of neurologyIn common: intracranial EEG (iEEG / ECoG / SEEG), epilepsy, EEG, 1 other category, 6 references - [6] doi:10.1038/s41467-024-49470-z [code]
- A spatial perturbation framework to validate implantation of the epileptogenic zone.Journal: Nature communicationsIn common: Signal Processing Toolbox, intracranial EEG (iEEG / ECoG / SEEG), epilepsy, EEG, 5 references
- [7] 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
- [8] doi:10.1016/j.clinph.2025.01.011
- Fast ripple band high-frequency activity associated with thalamic sleep spindles in pediatric epilepsy.Journal: Clinical neurophysiology : official journal of the International Federation of Clinical NeurophysiologyIn common: intracranial EEG (iEEG / ECoG / SEEG), epilepsy, EEG, 6 references
- [9] doi:10.1093/braincomms/fcae284 [code]
- Interictal intracranial EEG asymmetry lateralizes temporal lobe epilepsy.Journal: Brain communicationsIn common: intracranial EEG (iEEG / ECoG / SEEG), epilepsy, EEG, 1 other category, 5 references
- [10] doi:10.1093/braincomms/fcad242 [code]
- Fast ripples reflect increased excitability that primes epileptiform spikes.Journal: Brain communicationsIn common: Signal Processing Toolbox, epilepsy, EEG, clinical / translational, 5 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:bf73a5aca868c8ed…
Add the badge to the code's README
If you are an author or a maintainer of this paper's code, you can add this badge. It says what OSCR knows of the paper (its code, its validated tracing map) and links the code to this page. Paste one of these snippets under the README's title. Keep the two marks around it, so that the badge can be replaced in place and is never added twice. OSCR changes nothing in your repository.
Markdown
<!-- oscr-badge:start -->
[](https://openscicode.org/badge/doi/10.1016/j.ebiom.2026.106287)
<!-- oscr-badge:end -->reStructuredText
.. oscr-badge:start
.. image:: https://openscicode.org/badge/doi/10.1016/j.ebiom.2026.106287.svg
:target: https://openscicode.org/badge/doi/10.1016/j.ebiom.2026.106287
:alt: OSCR
.. oscr-badge:endHTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.1016/j.ebiom.2026.106287"><img src="https://openscicode.org/badge/doi/10.1016/j.ebiom.2026.106287.svg" alt="OSCR"></a>
<!-- oscr-badge:end -->On GitHub, open the README, choose Edit (the pencil), paste the snippet under the title, then "Commit changes".
If you choose to, you can have the badge kept up to date for you, with oscr badge --write from the command line or with the GitHub Action in your repository's workflows. Every other form and option (a card, AsciiDoc, LaTeX, shields.io) is on the badge page.
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: code errors and mismatches between the code and the paper about this paper and its code, from readers and its authors, beside the paper and its tracing map.
Report a mismatch between the code and the paper · Report a code error (signed in)
Reproductions: reports from readers who ran the authors' code and did not get the paper's result, what they ran, with which environment, commit and data.
Report a reproduction failure (signed in)
Versions of its code: the releases of its code tied to a version of this paper (the preprint, the accepted manuscript, the version of record…), each with the tracing map versioned with it.
Activity: what happens around this paper: new versions of its record, its map's validation, discussions and reproductions. It opens with sign-in.
