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.

3 blocks of code here have a permanent identifier (oscr:b:…), listed with the matches below: citable for good, with a page of its own. Select a match and press Cite to copy it. What a block identifier is.

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

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 · 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 (how the code is found and 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 (Artificial Intelligence, Computer Science), 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.1038/s42003-023-04481-2 [code]
Multivariate EEG activity reflects the Bayesian integration and the integrated Galilean relative velocity of sensory motion during sensorimotor behavior.
Journal: Communications biology
In common: EEG, 8 references, author Woojae Jeong
[3] doi:10.1038/s42003-022-03395-9 [code]
Neocortical localization and thalamocortical modulation of neuronal hyperexcitability contribute to Fragile X Syndrome.
Journal: Communications biology
In common: Brainstorm, EEGLAB, MNE-Python, 6 other tools, other condition, 5 references
[4] doi:10.1523/jneurosci.1883-23.2024 [code]
Linking Cognitive Integrity to Working Memory Dynamics in the Aging Human Brain.
Journal: The Journal of neuroscience : the official journal of the Society for Neuroscience
In common: MNE-Python, FieldTrip, seaborn, 5 other tools, cognitive, 6 references
[5] 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
[6] doi:10.1162/imag.a.1073 [code]
Data-driven head model individualization from digitized electrode positions or photogrammetry improves M/EEG source localization accuracy.
Journal: Imaging neuroscience (Cambridge, Mass.)
In common: Brainstorm, MNE-Python, FieldTrip, 3 other tools, EEG, 4 references
[7] doi:10.1038/s41586-025-08888-1 [code]
Adversarial testing of global neuronal workspace and integrated information theories of consciousness.
Journal: Nature
In common: MNE-Python, statsmodels, seaborn, 5 other tools, EEG, cognitive, 4 references
[8] doi:10.1016/j.ynirp.2023.100161 [code]
Semantic surprise predicts the N400 brain potential.
Journal: Neuroimage. Reports
In common: MNE-Python, statsmodels, seaborn, 5 other tools, EEG, cognitive, 3 references
[9] doi:10.7554/elife.84797 [code]
Spatiotemporal neural dynamics of object recognition under uncertainty in humans.
Journal: eLife
In common: MNE-Python, FieldTrip, statsmodels, 5 other tools, 4 references
[10] doi:10.1038/s41598-025-92490-y [code]
Neural representation of consciously seen and unseen information.
Journal: Scientific reports
In common: MNE-Python, statsmodels, seaborn, 5 other tools, EEG, cognitive, 3 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.

Add the badge to the code's README

OSCR: the badge of this paper

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 -->
[![OSCR](https://openscicode.org/badge/doi/10.1038/s42003-026-10108-z.svg)](https://openscicode.org/badge/doi/10.1038/s42003-026-10108-z)
<!-- oscr-badge:end -->
reStructuredText
.. oscr-badge:start

.. image:: https://openscicode.org/badge/doi/10.1038/s42003-026-10108-z.svg
   :target: https://openscicode.org/badge/doi/10.1038/s42003-026-10108-z
   :alt: OSCR

.. oscr-badge:end
HTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.1038/s42003-026-10108-z"><img src="https://openscicode.org/badge/doi/10.1038/s42003-026-10108-z.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.