OSCR

Predicting Pain: Electroencephalography Signatures of Neural Integration During Experimental Tonic Thermal Pain.

Code ↔ Paper

4 matches between paragraphs of the paper and lines of its authors' code, computed by the harvester (lexical-v1). Click a colored paragraph or line to see its counterpart.

The 4 matches · 2 of them tie a paragraph to a whole file, not to given lines: weak matches, whose lines are not tinted
  1. [1] § Methods › Functional Connectivity and CFC ↔ plotAccuracyGroup.m, the whole file · a weak match · score 0.83 · PhaCon, PhaCou, PowCon, PowCou, power connectivity, phase connectivity
  2. [2] § Results › Prediction Accuracy ↔ plotAccuracyGroup.m, the whole file · a weak match · score 0.81 · PhaCon, PhaCou, PowCon, PowCou, prediction accuracy, power connectivity
  3. [3] § Methods › Machine Learning Approach › Classification Procedure ↔ binaryClassTestMix.m, lines 43–164 · score 0.57 · cross validation, feature selection, fitcsvm, fold, NCA, model
  4. [4] § Methods › Machine Learning Approach › Feature Selection Based on Neighbourhood Component Analysis (NCA) ↔ binaryClassTestMix.m, lines 43–164 · score 0.51 · feature selection, cross validation, NCA, weight, binary, classification

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 · 46 lines · 1.8 KB · MIT · 2 matches

  1. % Reorganize the data to fit the catplot function
  2. file = readtable("/Users/yiyuan/OneDrive - University of Essex/PG Research/0A_Journal/202004_unknown Journal_Probability Score/1_Results/0_Final Results/Results_tables/AccuracyData.xls");
  3. accuracy = table2array(file(:,1));
  4. length = table2array(file(:,2));
  5. feature = table2array(file(:,3));
  6. classification = table2array(file(:,4));
  7. classes = ['OvsC';'HvsW';'OvsH';'OvsW';'CvsH';'CvsW'];
  8. timeLengthLabel = {'1';'2.5';'5';'10'};
  9. timeLength = [1 2.5 5 10];
  10. xs=.4/4; %the best half width for a 'group or catagory' is .4 and there are 4 big states
  11. width=xs*.85;% width of each box with a small gap between subgroups
  12. sgxs=[-0.3 -0.1 0.1 0.3];% SubGroups X Shift (twice the half width)
  13. cc={[0.2 0.2 0.2],[0.4 0.4 0.4],[.6 .6 .6], [.8 .8 .8]};% subgroups color (blue orange red)
  14. XTickLabels = {'Phase Connectivity','Power Connectivity','Phase CFC','Power CFC'};
  15. XTick = {'PhaCon','PowCon','PhaCou','PowCou'};
  16. close all
  17. figure
  18. for classIndex = 1:6
  19. subplot(3,2,classIndex)
  20. class = classes(classIndex,:);
  21. title(class)
  22. classRefIndex = ismember(classification,class);
  23. featureClass = feature(classRefIndex);
  24. for ii=1:4
  25. lengthRefIndex = ismember(length,timeLength(ii));
  26. for jj=1:4
  27. featureRefIndex = ismember(feature,XTickLabels{jj});
  28. accuracyPlot = 100*accuracy(featureRefIndex&lengthRefIndex&classRefIndex);
  29. h1{ii}=whisker_boxplot(jj+sgxs(ii),accuracyPlot, cc{ii},'width',width);
  30. end
  31. end
  32. set(gca,'XTick',1:4,'XTickLabels',XTick)
  33. ylim([0 100])
  34. xlabel('Feature Type','FontWeight','bold')
  35. ylabel('Prediction Accuracy (%)','FontWeight','bold')
  36. end
  37. lgd = legend([h1{1}(1) h1{2}(1) h1{3}(1) h1{4}(1)],timeLengthLabel,'Orientation','horizontal');
  38. set(lgd,'Units','normalized')
  39. title(lgd,'Trial Length (s)')
  40. set( findall(gcf, '-property', 'fontsize'), 'fontsize', 12)

plotAccuracyGroup.m at commit 5036c1f, under MIT · at the source

Overview

  1. School of Computer Science and Electronic Engineering, University of Essex, Colchester, UK
  2. Department of Neurological Surgery and UCSF Weill Institute for Neurosciences, University of California, San Francisco, California, USA
  3. Department of Psychology and Centre for Brain Science, University of Essex, Colchester, UK
Institutions: University of Essex (United Kingdom); University of California, San Francisco (United States)
Journal: European journal of pain (London, England), volume 30, issue 6, article e70313
Dates: received 29 October 2025; accepted 30 May 2026; published online 30 June 2026; in print July 2026
Type: Research article · Language: English
License: CC BY
Identifiers: DOI 10.1002/ejp.70313 · PMID 42377977 · PMCID PMC13317760 · OpenAlex W7166680013
Open access: hybrid, a free copy (OpenAlex)
Status: code verified
Categories: EEG (modality), human (organism), pain (population)
Methods: Spectral & time-frequency, Connectivity, Statistics, Smoothing, state filtering, decompositions, Machine learning, Preprocessing, Physiology & signal measures
MeSH: Brain*, Electroencephalography*, Pain*, Adult, Female, Hot Temperature, Humans, Machine Learning, Male, Pain Measurement, Predictive Learning Models, Young Adult (* major topic)
Topic: Pain Mechanisms and Treatments (Physiology, Medicine), according to OpenAlex
Citations: cited by 1 paper (Europe PMC); 58 references in the paper

Abstract

Background: The identification of reliable neural signatures for pain remains a critical challenge in both clinical and experimental settings. While electroencephalography (EEG) provides a promising avenue for pain assessment, it remains unclear whether phase‐ or power‐based neural integration drives pain‐state discrimination. This study investigates functional connectivity and cross‐frequency coupling (CFC) as candidate signatures of neural integration for pain prediction.

Methods: We recorded 62‐channel EEG data from 36 healthy participants across experimental conditions, including tonic thermal pain, non‐painful warm stimulation and resting states. Functional connectivity within the alpha band and CFC across delta, theta, alpha and low‐beta bands was computed using phase‐ and power‐based measures. Machine learning models were trained to classify pain from non‐painful conditions, with prediction accuracy serving as an index of neural integration performance.

Results: Phase‐based features outperformed power‐based features in tonic thermal pain prediction, which indicated a dominant role for phase synchrony. The strongest topographical signatures are the connectivity involving frontal and occipital regions driven by enhanced alpha‐phase connectivity or theta‐alpha/delta‐theta cross‐frequency coupling.

Conclusions: Our findings demonstrate that phase‐based neural integration outperforms power‐based integration in characterising tonic pain, and that the inclusion of amplitude information actively reduces discriminability. Phase‐based measures of functional connectivity in the alpha band and cross‐frequency coupling with other low‐frequency oscillations may serve as candidate EEG signatures of pain, offering a data‐driven framework with potential applications in research and clinical contexts.

Significance Statement: This study introduces an EEG‐based framework for tonic pain prediction that integrates multiple neural signatures of integration. High classification accuracy between painful and non‐painful states provides new machine learning–driven insight into phase‐based neural integration, reflected in functional connectivity and CFC. The findings broaden theoretical perspectives on pain processing within machine learning approaches and underscore clinically relevant potential for developing reliable, noninvasive tools to improve pain assessment.

Reproduced under the paper's license (CC BY), from the paper cited above.

Repository

Its files are read in the Code ↔ Paper reader above, with 4 matches between paragraphs and lines of code.

han-yy/NeuralMarkerPain

License: MIT
State: the link answers, verified on 27 September 2026
Evidence: files inventoried
Commit: 5036c1fbb5c940780e1e1d6f796724c91894e502, 23 November 2023
Languages: MATLAB (46)
Size: 50 files, 46 scripts
Software Heritage: not archived
Found in: “Data Availability Statement”
Holds: README, license file, tests
Not found: CITATION.cff, environment file, continuous integration, documentation
Availability: 1 check, the latest on 27 September 2026: the link answers
  • 27 September 2026: the link answers
48 files

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;
  • 46 scripts, each with its path and the digest of its content;
  • 4 matches between paragraphs of the paper and lines of the code (method lexical-v1);
  • 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

Datasets cited

Data Availability Statement

All analysis code (preprocessing, feature extraction, NCA feature selection, SVM classification and visualisation) is publicly available at https://github.com/han‐yy/NeuralMarkerPain (https://github.com/han-yy/NeuralMarkerPain). EEG data are available at https://osf.io/2mqtb/files/osfstorage.

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

  • Publisher: n/a → Wiley

Version 1, 27 September 2026: the first record

Recorded: type, language, journal, volume, issue, pages, dates, 3 authors, 12 MeSH terms, 50 references.

Cite

This paper

Han, Y., Valentini, E., & Halder, S. (2026). Predicting Pain: Electroencephalography Signatures of Neural Integration During Experimental Tonic Thermal Pain. European journal of pain (London, England), 30(6), e70313. https://doi.org/10.1002/ejp.70313

BibTeX

@article{han2026predicting,
author = {Han, Yiyuan and Valentini, Elia and Halder, Sebastian},
title = {{Predicting Pain: Electroencephalography Signatures of Neural Integration During Experimental Tonic Thermal Pain}},
journal = {European journal of pain (London, England)},
year = {2026},
month = jul,
volume = {30},
number = {6},
pages = {e70313},
publisher = {Wiley},
issn = {1090-3801},
doi = {10.1002/ejp.70313},
url = {https://doi.org/10.1002/ejp.70313},
pmid = {42377977},
pmcid = {PMC13317760}
}

RIS

TY - JOUR
AU - Han, Yiyuan
AU - Valentini, Elia
AU - Halder, Sebastian
TI - Predicting Pain: Electroencephalography Signatures of Neural Integration During Experimental Tonic Thermal Pain
T2 - European journal of pain (London, England)
J2 - Eur J Pain
PY - 2026
DA - 2026/07/01
VL - 30
IS - 6
SP - e70313
SN - 1090-3801
PB - Wiley
DO - 10.1002/ejp.70313
UR - https://doi.org/10.1002/ejp.70313
LA - en
ER -

CSL-JSON

{
"id": "10.1002/ejp.70313",
"type": "article-journal",
"title": "Predicting Pain: Electroencephalography Signatures of Neural Integration During Experimental Tonic Thermal Pain",
"container-title": "European journal of pain (London, England)",
"author": [
{
"family": "Han",
"given": "Yiyuan"
},
{
"family": "Valentini",
"given": "Elia"
},
{
"family": "Halder",
"given": "Sebastian"
}
],
"container-title-short": "Eur J Pain",
"volume": "30",
"issue": "6",
"page": "e70313",
"DOI": "10.1002/ejp.70313",
"PMID": "42377977",
"PMCID": "PMC13317760",
"ISSN": "1090-3801",
"publisher": "Wiley",
"URL": "https://doi.org/10.1002/ejp.70313",
"language": "en",
"issued": {
"date-parts": [
[
2026,
7,
1
]
]
}
}

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.1016/j.neuroimage.2026.122002
EEG-based clustering shows distinct separation of chronic pain patients before spinal cord stimulation surgery.
Journal: NeuroImage
In common: pain, EEG, 8 references
[2] doi:10.1097/j.pain.0000000000004044 [code]
No effect of rhythmic visual stimulation on experimental pain perception.
Journal: Pain
In common: pain, EEG, 7 references
[3] doi:10.1371/journal.pbio.3003948 [code]
Neural encoding of pain is robust within but unstable between individuals.
Journal: PLoS biology
In common: pain, EEG, 5 references
[4] doi:10.1007/s10548-026-01210-w [code]
Resting-State Theta and Alpha Oscillations in Amputation and Phantom Limb Pain: A Pre-Registered High-Density EEG Study.
Journal: Brain topography
In common: EEGLAB, Statistics and Machine Learning Toolbox, pain, EEG, 3 references
[5] doi:10.3390/brainsci16080856 [code]
Alzheimer's Disease Detection Using Combined EEG Source Connectivity and Microstate Features.
Journal: Brain sciences
In common: EEGLAB, Signal Processing Toolbox, Statistics and Machine Learning Toolbox, EEG, 2 references
[6] doi:10.1162/imag.a.1229 [code]
40 Hz audiovisual stimulation improves sustained attention and related brain oscillations.
Journal: Imaging neuroscience (Cambridge, Mass.)
In common: EEGLAB, Signal Processing Toolbox, Statistics and Machine Learning Toolbox, EEG, 2 references
[7] doi:10.1186/s12984-026-01998-5
Sensory and cortical biomarkers unveil pain modulation mechanisms induced by targeted multisensory neurostimulation.
Journal: Journal of neuroengineering and rehabilitation
In common: pain, EEG, 3 references
[8] doi:10.1038/s41598-026-49900-6 [code]
Global neural oscillations underlie performance variability and attentional state fluctuations in humans.
Journal: Scientific reports
In common: EEGLAB, Signal Processing Toolbox, Statistics and Machine Learning Toolbox, 1 reference
[9] doi:10.7554/elife.111114 [code]
Theta beta ratio in attention deficit hyperactivity disorder using a multiverse analysis.
Journal: eLife
In common: EEGLAB, Signal Processing Toolbox, Statistics and Machine Learning Toolbox, EEG, 1 reference
[10] doi:10.1038/s41467-026-70124-9 [code]
Alpha frequency shapes perceptual sensitivity by modulating optimal phase likelihood.
Journal: Nature communications
In common: EEGLAB, Signal Processing Toolbox, Statistics and Machine Learning Toolbox, EEG, 1 reference

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.

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.