OSCR

Time-resolved EEG decoding reveals altered neural dynamics of affective semantic evaluation in depression and suicidality.

Code ↔ Paper

7 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 7 matches
  1. [1] § Methods › EEG recording and preprocessing ↔ Preprocessing/preprocPostICA.m, lines 3–70 · score 0.90 · artifact removal, preprocessing pipeline, linear trend, EEGLAB, Brainstorm, ICA
  2. [2] § Methods › EEG recording and preprocessing ↔ Preprocessing/preprocASR.m, lines 3–27 · score 0.86 · Clean_rawdata, Bad channels, EEGLAB, ASR, routine, detection
  3. [3] § Methods › Assessing group differences in spatiotemporal dynamics ↔ decodingBootsFeatures.m, lines 14–83 · score 0.67 · offset latency, peak amplitude, peak latency, onset latency, decoding
  4. [4] § Results › Group differences in affective semantic decoding ↔ decodingBootsFeatures.m, lines 14–83 · score 0.64 · offset latencies, peak amplitude, peak latency, onset latency, suicidal, depressed
  5. [5] § Methods › Assessing group differences in spatiotemporal dynamics ↔ draftFigurePlot.ipynb, lines 1978–2065 · score 0.53 · SVM weights, feature weight, absolute, sentence decoding, PC1, PC2
  6. [6] § Methods › Assessing group differences in spatiotemporal dynamics ↔ Statistics/bootsLatencyStat.ipynb, lines 91–189 · score 0.51 · paired bootstrap distributions, probability, Cliff, delta
  7. [7] § Results › Response time analysis during the Sentence Evaluation task ↔ draftFigurePlot.ipynb, lines 374–496 · score 0.51 · Mann Whitney, disagreeing, disagreement, EC, behavioral, sentences

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 · 121 lines · 3.9 KB · MIT · 2 matches

  1. %% Load dataset
  2. % Decoding data
  3. datPath = '/Users/woojaejeong/Desktop/Data/USC/DARPA-NEAT/Code/Decoding/svm/Result/svmDecoding_sentiment_sen_3pc_lepoch_congruency_linear_commonPCA.mat';
  4. wPath = '/Users/woojaejeong/Desktop/Data/USC/DARPA-NEAT/Code/Decoding/svm/Result/senPCAweight.mat';
  5. % Subject index
  6. indexPath = '/Users/woojaejeong/Desktop/Data/USC/DARPA-NEAT/Data/Behavior/subject_index.mat';
  7. load(fullfile(datPath))
  8. load(fullfile(indexPath))
  9. load(fullfile(wPath))
  10. %% Onset latency, offset latency, Peak latency, and Peak amplitude calculation
  11. rng('default')
  12. t = -199:4:1500;
  13. tPeak = [101:251];
  14. conId = find(subject_index == 1);
  15. depId = find(subject_index == 2);
  16. suiId = find(subject_index == 3);
  17. % Decoding
  18. conLat = []; conPeak = []; conPeakLat = []; conOff = [];
  19. depLat = []; depPeak = []; depPeakLat = []; depOff = [];
  20. suiLat = []; suiPeak = []; suiPeakLat = []; suiOff = [];
  21. for i = 1:1000
  22. fprintf(['Computing...(%d/1000)\n'], i);
  23. % Control
  24. rId = randi(length(conId),length(conId),1);
  25. conDecode = Decode(conId(rId),:);
  26. peak = mean(conDecode(:,tPeak),1);
  27. conPeakLat = [conPeakLat; t(tPeak(find(peak == max(peak),1)))];
  28. conPeak = [conPeak; max(peak)];
  29. [Sig, ~] = CBP_AB_single(conDecode, 'SVM lepoch');
  30. Sig = sigTimeGenerate(sort(Sig));
  31. sId = find(Sig(:,1) < conPeakLat(i) & Sig(:,2) > conPeakLat(i));
  32. conLat = [conLat; Sig(sId,1)];
  33. conOff = [conOff; Sig(sId,2)];
  34. % Depressed
  35. rId = randi(length(depId),length(depId),1);
  36. depDecode = Decode(depId(rId),:);
  37. peak = mean(depDecode(:,tPeak),1);
  38. depPeakLat = [depPeakLat; t(tPeak(find(peak == max(peak),1)))];
  39. depPeak = [depPeak; max(peak)];
  40. [Sig, ~] = CBP_AB_single(depDecode, 'SVM lepoch');
  41. Sig = sigTimeGenerate(sort(Sig));
  42. sId = find(Sig(:,1) < depPeakLat(i) & Sig(:,2) > depPeakLat(i));
  43. depLat = [depLat; Sig(sId,1)];
  44. depOff = [depOff; Sig(sId,2)];
  45. % Suicidal
  46. rId = randi(length(suiId),length(suiId),1);
  47. suiDecode = Decode(suiId(rId),:);
  48. peak = mean(suiDecode(:,tPeak),1);
  49. suiPeakLat = [suiPeakLat; t(tPeak(find(peak == max(peak),1)))];
  50. suiPeak = [suiPeak; max(peak)];
  51. [Sig, ~] = CBP_AB_single(suiDecode, 'SVM lepoch');
  52. Sig = sigTimeGenerate(sort(Sig));
  53. sId = find(Sig(:,1) < suiPeakLat(i) & Sig(:,2) > suiPeakLat(i));
  54. suiLat = [suiLat; Sig(sId,1)];
  55. suiOff = [suiOff; Sig(sId,2)];
  56. clc;
  57. end
  58. path = '/Users/woojaejeong/Desktop/Data/USC/DARPA-NEAT/Code/Decoding/svm/Result/svmLatencyBoots_commonPCA.mat';
  59. save(path, 'conLat','conPeak','conPeakLat',...
  60. 'depLat','depPeak','depPeakLat',...
  61. 'suiLat','suiPeak','suiPeakLat',...
  62. 'conOff', 'depOff', 'suiOff', '-v7.3');
  63. %% Correlation
  64. rho_pc1_con = []; rho_pc2_con = [];
  65. rho_pc1_dep = []; rho_pc2_dep = [];
  66. rho_pc1_sui = []; rho_pc2_sui = [];
  67. for i = 1:1000
  68. i
  69. rId = conId(randi(length(conId),length(conId),1));
  70. [r,~] = corr(mean(Decode(rId,:),1)', abs(mean(Weight(rId,:,1),1))', type = "Pearson");
  71. rho_pc1_con = [rho_pc1_con; r];
  72. [r,~] = corr(mean(Decode(rId,:),1)', abs(mean(Weight(rId,:,2),1))', type = "Pearson");
  73. rho_pc2_con = [rho_pc2_con; r];
  74. rId = depId(randi(length(depId),length(depId),1));
  75. [r,~] = corr(mean(Decode(rId,:),1)', abs(mean(Weight(rId,:,1),1))', type = "Pearson");
  76. rho_pc1_dep = [rho_pc1_dep; r];
  77. [r,~] = corr(mean(Decode(rId,:),1)', abs(mean(Weight(rId,:,2),1))', type = "Pearson");
  78. rho_pc2_dep = [rho_pc2_dep; r];
  79. rId = suiId(randi(length(suiId),length(suiId),1));
  80. [r,~] = corr(mean(Decode(rId,:),1)', abs(mean(Weight(rId,:,1),1))', type = "Pearson");
  81. rho_pc1_sui = [rho_pc1_sui; r];
  82. [r,~] = corr(mean(Decode(rId,:),1)', abs(mean(Weight(rId,:,2),1))', type = "Pearson");
  83. rho_pc2_sui = [rho_pc2_sui; r];
  84. end
  85. save("/Users/woojaejeong/Desktop/Data/USC/DARPA-NEAT/Code/Decoding/svm/Result/group_corr.mat",...
  86. 'rho_pc1_con','rho_pc1_dep','rho_pc1_sui',...
  87. 'rho_pc2_con','rho_pc2_dep','rho_pc2_sui', '-v7.3');

decodingBootsFeatures.m at commit 1f15690, under MIT · at the source

Overview

Authors: Woojae Jeong1,2, Aditya Kommineni2, Kleanthis Avramidis3, Colin McDaniel4,5, Donald Berry6, Myzelle Hughes4,5, Thomas McGee7, Elsi Kaiser8, Dani Byrd8, Assal Habibi4,5, B. Rael Cahn9, Idan A. Blank7, Kristina Lerman3,6, Dimitrios Pantazis10, Sudarsana R. Kadiri2, Takfarinas Medani2, Shrikanth Narayanan2,3,5,6,8, Richard M. Leahy1,2
  1. Alfred E. Mann Department of Biomedical Engineering, University of Southern California,Los Angeles, CA USA
  2. Ming Hsieh Department of Electrical and Computer Engineering, University of Southern California,Los Angeles, CA USA
  3. Thomas Lord Department of Computer Science, University of Southern California,Los Angeles, CA USA
  4. Brain and Creativity Institute, University of Southern California,Los Angeles, CA USA
  5. Department of Psychology, University of Southern California,Los Angeles, CA USA
  6. Information Science Institute, University of Southern California,Marina Del Rey, CA USA
  7. Department of Psychology, University of California, Los Angeles,Los Angeles, CA USA
  8. Department of Linguistics, University of Southern California,Los Angeles, CA USA
  9. Department of Psychiatry and Behavioral Sciences, University of Southern California,Los Angeles, CA USA
  10. McGovern Institute for Brain Research, Massachusetts Institute of Technology,Cambridge, MA USA
Journal: Communications biology, volume 9, issue 1, article 908
Dates: received 14 October 2025; accepted 10 April 2026; published online 30 April 2026
Type: Research article · Language: English
License: CC BY-NC-ND
Identifiers: DOI 10.1038/s42003-026-10108-z · PMID 42062432 · PMCID PMC13338046 · OpenAlex W7159636669
Open access: gold, a free copy (OpenAlex)
Status: code verified
Categories: EEG (modality), human (organism), other condition (population), depression (population), cognitive (subfield)
Methods: Spectral & time-frequency, Preprocessing, Connectivity, Statistics, Smoothing, state filtering, decompositions, Machine learning, Evoked potentials, Single-unit activity, calcium imaging, Physiology & signal measures
Keywords: Neural decoding, Cognitive control, Consciousness, Diagnostic markers, Disorders of consciousness
MeSH: Depression*, Electroencephalography*, Semantics*, Suicidal Ideation*, Adult, Emotions, Female, Humans, Male, Young Adult (* major topic)
Topic: Emotion and Mood Recognition (Experimental and Cognitive Psychology, Psychology), according to OpenAlex
Citations: cited by 2 papers (Europe PMC); 90 references in the paper

Abstract

The abstract is not reproduced here: the paper's license (CC BY-NC-ND) does not allow it. Read it in the paper, at the publisher or on Europe PMC.

Repository

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

lyricists/PRECOG

License: MIT
State: the link answers, verified on 30 September 2026
Evidence: files inventoried
Commit: 1f156909179396b11e240c983ba8191b00cc4e2b, 4 March 2026
Languages: MATLAB (13), Jupyter (2), Python (2)
Size: 19 files, 17 scripts
Software Heritage: not archived
Found in: “Code availability”
Holds: README, license file, 2 notebooks
Not found: CITATION.cff, environment file, tests, continuous integration, documentation
Tools: Brainstorm (4 files), EEGLAB (4 files), NumPy (4 files), FieldTrip (3 files), scikit-learn (3 files), SciPy (3 files), pandas (2 files), statsmodels (2 files), Matplotlib (1 file), MNE-Python (1 file), seaborn (1 file)
Availability: 1 check, the latest on 30 September 2026: the link answers
  • 30 September 2026: the link answers
19 files

Code availability statement

The paper has a code availability statement. Its license (CC BY-NC-ND) does not allow reproducing it here; in short, from what the harvester recognized in it:

Read it in the paper: doi.org/10.1038/s42003-026-10108-z.

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;
  • 17 scripts, each with its path and the digest of its content;
  • 7 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

The paper has a data availability statement. Its license (CC BY-NC-ND) does not allow reproducing it here; in short, from what the harvester recognized in it:

  • it points to a dataset: Zenodo 19363840
  • it says that the data are available on request

Read it in the paper: doi.org/10.1038/s42003-026-10108-z.

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 1, 30 September 2026: the first record

Recorded: type, language, journal, volume, issue, pages, dates, 18 authors, 5 keywords, 10 MeSH terms, 2 funders, 78 references.

Cite

This paper

Jeong, W., Kommineni, A., Avramidis, K., McDaniel, C., Berry, D., Hughes, M., McGee, T., Kaiser, E., Byrd, D., Habibi, A., Cahn, B. R., Blank, I. A., Lerman, K., Pantazis, D., Kadiri, S. R., Medani, T., Narayanan, S., & Leahy, R. M. (2026). Time-resolved EEG decoding reveals altered neural dynamics of affective semantic evaluation in depression and suicidality. Communications biology, 9(1), 908. https://doi.org/10.1038/s42003-026-10108-z

BibTeX

@article{jeong2026time,
author = {Jeong, Woojae and Kommineni, Aditya and Avramidis, Kleanthis and McDaniel, Colin and Berry, Donald and Hughes, Myzelle and McGee, Thomas and Kaiser, Elsi and Byrd, Dani and Habibi, Assal and Cahn, B. Rael and Blank, Idan A. and Lerman, Kristina and Pantazis, Dimitrios and Kadiri, Sudarsana R. and Medani, Takfarinas and Narayanan, Shrikanth and Leahy, Richard M.},
title = {{Time-resolved EEG decoding reveals altered neural dynamics of affective semantic evaluation in depression and suicidality}},
journal = {Communications biology},
year = {2026},
month = apr,
volume = {9},
number = {1},
pages = {908},
publisher = {Nature Publishing Group},
issn = {2399-3642},
doi = {10.1038/s42003-026-10108-z},
url = {https://doi.org/10.1038/s42003-026-10108-z},
pmid = {42062432},
pmcid = {PMC13338046}
}

RIS

TY - JOUR
AU - Jeong, Woojae
AU - Kommineni, Aditya
AU - Avramidis, Kleanthis
AU - McDaniel, Colin
AU - Berry, Donald
AU - Hughes, Myzelle
AU - McGee, Thomas
AU - Kaiser, Elsi
AU - Byrd, Dani
AU - Habibi, Assal
AU - Cahn, B. Rael
AU - Blank, Idan A.
AU - Lerman, Kristina
AU - Pantazis, Dimitrios
AU - Kadiri, Sudarsana R.
AU - Medani, Takfarinas
AU - Narayanan, Shrikanth
AU - Leahy, Richard M.
TI - Time-resolved EEG decoding reveals altered neural dynamics of affective semantic evaluation in depression and suicidality
T2 - Communications biology
J2 - Commun Biol
PY - 2026
DA - 2026/04/30
VL - 9
IS - 1
SP - 908
SN - 2399-3642
PB - Nature Publishing Group
DO - 10.1038/s42003-026-10108-z
UR - https://doi.org/10.1038/s42003-026-10108-z
LA - en
ER -

CSL-JSON

{
"id": "10.1038/s42003-026-10108-z",
"type": "article-journal",
"title": "Time-resolved EEG decoding reveals altered neural dynamics of affective semantic evaluation in depression and suicidality",
"container-title": "Communications biology",
"author": [
{
"family": "Jeong",
"given": "Woojae"
},
{
"family": "Kommineni",
"given": "Aditya"
},
{
"family": "Avramidis",
"given": "Kleanthis"
},
{
"family": "McDaniel",
"given": "Colin"
},
{
"family": "Berry",
"given": "Donald"
},
{
"family": "Hughes",
"given": "Myzelle"
},
{
"family": "McGee",
"given": "Thomas"
},
{
"family": "Kaiser",
"given": "Elsi"
},
{
"family": "Byrd",
"given": "Dani"
},
{
"family": "Habibi",
"given": "Assal"
},
{
"family": "Cahn",
"given": "B. Rael"
},
{
"family": "Blank",
"given": "Idan A."
},
{
"family": "Lerman",
"given": "Kristina"
},
{
"family": "Pantazis",
"given": "Dimitrios"
},
{
"family": "Kadiri",
"given": "Sudarsana R."
},
{
"family": "Medani",
"given": "Takfarinas"
},
{
"family": "Narayanan",
"given": "Shrikanth"
},
{
"family": "Leahy",
"given": "Richard M."
}
],
"container-title-short": "Commun Biol",
"volume": "9",
"issue": "1",
"page": "908",
"DOI": "10.1038/s42003-026-10108-z",
"PMID": "42062432",
"PMCID": "PMC13338046",
"ISSN": "2399-3642",
"publisher": "Nature Publishing Group",
"URL": "https://doi.org/10.1038/s42003-026-10108-z",
"language": "en",
"issued": {
"date-parts": [
[
2026,
4,
30
]
]
}
}

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/s41398-026-04079-2 [code]
Neural Responses to Affective Sentences Reveal Signatures of Depression.
Journal: Translational psychiatry
In common: statsmodels, seaborn, scikit-learn, 4 other tools, depression, EEG, 23 references, 4 authors
[2] doi:10.7554/elife.107088 [code]
Development of auditory and spontaneous movement responses to music over the first postnatal year.
Journal: eLife
In common: EEGLAB, FieldTrip, MNE-Python, 6 other tools, EEG, 5 references
[3] doi:10.1038/s41598-026-41532-0 [code]
Prediction, syntax and semantic grounding in the brain and large language models.
Journal: Scientific reports
In common: MNE-Python, seaborn, scikit-learn, 4 other tools, EEG, cognitive, 5 references
[4] doi:10.1093/cercor/bhag077 [code]
The longitudinal development of intrinsic timescales in infancy and their relation to alpha brain rhythm.
Journal: Cerebral cortex (New York, N.Y. : 1991)
In common: EEGLAB, FieldTrip, MNE-Python, 7 other tools, EEG, 2 references
[5] doi:10.1016/j.isci.2026.116586 [code]
Condition-specific neural signatures of reactivation during post-retrieval rest: An EEG study.
Journal: iScience
In common: EEGLAB, FieldTrip, MNE-Python, 6 other tools, EEG, cognitive, 3 references
[6] doi:10.1523/eneuro.0254-25.2026 [code]
Spatiotemporal Dynamics in Prespeech Semantic Category Decoding: An Intracranial EEG Study.
Journal: eNeuro
In common: EEGLAB, statsmodels, seaborn, 5 other tools, cognitive, 3 references
[7] doi:10.7554/elife.108673 [code]
Adaptive behavior is guided by integrated representations of controlled and non-controlled information.
Journal: eLife
In common: EEGLAB, MNE-Python, statsmodels, 6 other tools, EEG, 2 references
[8] doi:10.1162/imag.a.105 [code]
Right posterior theta reflects human parahippocampal phase resetting by salient cues during goal-directed navigation
Journal: n/a
In common: EEGLAB, MNE-Python, statsmodels, 5 other tools, EEG, cognitive, 2 references
[9] doi:10.1162/imag.a.1226 [code]
A neuroscientist's guide to neural burst detection.
Journal: Imaging neuroscience (Cambridge, Mass.)
In common: FieldTrip, MNE-Python, statsmodels, 6 other tools, 2 references
[10] doi:10.1523/eneuro.0076-26.2026 [code]
Exogenously Driven Neural Reactivation of Spatially Matching Visual Working-Memory Contents.
Journal: eNeuro
In common: FieldTrip, seaborn, pandas, 2 other tools, EEG, cognitive, 4 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.

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.