OSCR

Targeting cortico-striatal-amygdalar networks via theta-band frontoparietal synchronization in opioid use disorder: a randomized tACS-fMRI Trial.

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] § Results › Secondary outcome (neural) ↔ Codes/MATLABcodes/PrePost_gPPI.m, lines 69–86 · score 0.77 · dorsal caudate, dorsal putamen, lateral amygdala, medial amygdala, ventral striatum, frontal
  2. [2] § Results › Secondary outcome (neural) ↔ Codes/MATLABcodes/Change_gPPI.m, lines 43–58 · score 0.76 · dorsal caudate, dorsal putamen, lateral amygdala, medial amygdala, ventral striatum, frontal
  3. [3] § Results › Secondary outcome (neural) ↔ Codes/MATLABcodes/calculate_and_plot_correlations_with_slope_test_Revisions.m, lines 1–41 · score 0.68 · left frontal, gPPI, left parietal, right frontal, right parietal, connectivity
  4. [4] § Results › Combined brain-behavior-stimulation analyses ↔ Codes/MATLABcodes/VAS_change_Revisions.m, lines 55–67 · score 0.53 · Pre Stimulation, Post Stimulation, fMRI, Day, Baseline, cue
  5. [5] § Method › Statistical analysis › Secondary hypothesis (neural) ↔ Codes/MATLABcodes/calculate_and_plot_correlations_with_slope_test_Revisions.m, lines 1–41 · score 0.51 · gPPI, matrix, subregions, CONN, correlation, striatum
  6. [6] § Method › Data collection › MRI data ↔ StimTool-DCR-python3/CueReactivity/CueReactivity.py, lines 26–34 · score 0.50 · drug cue reactivity, Craving ratings, fixation, block, stimulus, neutral
  7. [7] § Results › Combined brain-behavior-stimulation analyses ↔ Codes/MATLABcodes/Correlation_EF_FA_Revision.m, lines 127–176 · score 0.50 · electric field, post pre, EF, fit, regression, strength

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 · 200 lines · 8.1 KB · no license · 2 matches

  1. function calculate_and_plot_correlations_with_slope_test_Revision()
  2. % ---------------------------
  3. % Load VAS
  4. % ---------------------------
  5. filename = '/Volumes/ExtremeSSDD/LIBR_tACS/VAS/Craving_Final.xlsx';
  6. data = readtable(filename);
  7. % ---------------------------
  8. % Load gPPI (CONN) matrices
  9. % Z is [nROI x nROI x nSubjects] in CONN ROI results
  10. % ---------------------------
  11. load('/Volumes/ExtremeSSDD/LIBR_tACS_CONN/conn_project01_LIBR_tACS/results/firstlevel/gPPI_BNA/resultsROI_Condition001.mat'); Opioid_Pre = Z;
  12. load('/Volumes/ExtremeSSDD/LIBR_tACS_CONN/conn_project01_LIBR_tACS/results/firstlevel/gPPI_BNA/resultsROI_Condition002.mat'); Neutral_Pre = Z;
  13. load('/Volumes/ExtremeSSDD/LIBR_tACS_CONN/conn_project01_LIBR_tACS/results/firstlevel/gPPI_BNA/resultsROI_Condition003.mat'); Opioid_Post = Z;
  14. load('/Volumes/ExtremeSSDD/LIBR_tACS_CONN/conn_project01_LIBR_tACS/results/firstlevel/gPPI_BNA/resultsROI_Condition004.mat'); Neutral_Post= Z;
  15. OvN_Pre = Opioid_Pre - Neutral_Pre;
  16. OvN_Post = Opioid_Post - Neutral_Post;
  17. OvN_Change = OvN_Post - OvN_Pre; % [ROI x ROI x subj]
  18. Conn_var = OvN_Change;
  19. % ---------------------------
  20. % Group info (match your coding)
  21. % ---------------------------
  22. % data.Group contains 'A' (Sham) and 'B' (Active)
  23. groups = {'A','B'};
  24. groupLabels = {'Sham','Active'};
  25. groupColorsHex = {'#F8766D', '#00BFC4'};
  26. groupColors = cellfun(@hex2rgb, groupColorsHex, 'UniformOutput', false);
  27. % ---------------------------
  28. % ROI labels (same as yours)
  29. % ---------------------------
  30. regionsOfInterest = [13, 14, 211, 212, 213, 214, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258];
  31. regionNames = {
  32. 'Left VMPFC', 'Right VMPFC', 'Left medial Amyg', 'Right medial Amyg', 'Left lateral Amyg',...
  33. 'Right lateral Amyg', 'Bilateral VMPFC', 'Right Parietal', 'Right Frontal', 'Left Parietal',...
  34. 'Left Frontal', 'rVS', 'Striatum_subregions.STR1_r', 'Striatum_subregions.STR1_l', ...
  35. 'Striatum_subregions.STR2_r', 'Striatum_subregions.STR2_l', 'Striatum_subregions.STR3_r',...
  36. 'Striatum_subregions.STR3_l'
  37. };
  38. % ROI pairs (same as yours)
  39. roiPairs = [
  40. 249, 256;
  41. 247, 250;
  42. 248, 13;
  43. 248, 212;
  44. 248, 251;
  45. 248, 258;
  46. 251, 211;
  47. 251, 258;
  48. 252, 257;
  49. 252, 258;
  50. 253, 257;
  51. 254, 214
  52. ];
  53. % Which VAS column to use (you used 'Change')
  54. timePoint = 'Change'; % must be a column name in the Craving_Final.xlsx
  55. % ---------------------------
  56. % IMPORTANT: subject alignment
  57. % ---------------------------
  58. % Assumption: CONN subject dimension matches the subject order in your
  59. % Craving_Final.xlsx. If not, you MUST add an explicit mapping here.
  60. nConnSubj = size(Conn_var, 3);
  61. if height(data) ~= nConnSubj
  62. warning('Row count in VAS table (%d) does not match CONN subjects (%d). You may need an ID->index mapping.', height(data), nConnSubj);
  63. end
  64. % Build group categorical for regression
  65. % Baseline group will be Sham ('A') unless you reorder categories
  66. GroupCat = categorical(data.Group, groups, groupLabels); % A->Sham, B->Active
  67. % Output table to save interaction tests
  68. results = table();
  69. for k = 1:size(roiPairs,1)
  70. roi1 = roiPairs(k,1);
  71. roi2 = roiPairs(k,2);
  72. % Extract connectivity for ALL subjects in the same row order as "data"
  73. connAll = squeeze(Conn_var(roi1, roi2, :)); % [nSubj x 1]
  74. vasAll = data.(timePoint);
  75. % Remove NaNs (both conn and vas)
  76. valid = ~isnan(connAll) & ~isnan(vasAll) & ~isundefined(GroupCat);
  77. connAll = connAll(valid);
  78. vasAll = vasAll(valid);
  79. grpAll = GroupCat(valid);
  80. % Need at least some subjects per group
  81. if numel(connAll) < 6 || numel(unique(grpAll)) < 2
  82. fprintf('Skipping ROI %d-%d: not enough valid data or only one group present.\n', roi1, roi2);
  83. continue;
  84. end
  85. % ---------------------------
  86. % Reviewer-requested test:
  87. % One model with interaction (difference in slopes)
  88. % ---------------------------
  89. T = table(connAll, grpAll, vasAll, 'VariableNames', {'Conn','Group','VAS'});
  90. mdl = fitlm(T, 'VAS ~ Conn*Group'); % includes Conn, Group, Conn:Group
  91. % Get interaction p-value
  92. coef = mdl.Coefficients;
  93. % Term name will look like 'Conn:Group_Active' depending on MATLAB version
  94. termNames = coef.Properties.RowNames;
  95. intIdx = find(contains(termNames,'Conn:Group'), 1);
  96. if isempty(intIdx)
  97. error('Could not find interaction term in model coefficients. Terms: %s', strjoin(termNames', ', '));
  98. end
  99. pInteraction = coef.pValue(intIdx);
  100. betaInteraction = coef.Estimate(intIdx);
  101. % Optional: within-group correlations/slopes (to match your plot labels)
  102. rVals = nan(2,1); pVals = nan(2,1);
  103. slopes = nan(2,1);
  104. % Plot
  105. figure; hold on;
  106. for g = 1:2
  107. thisLabel = groupLabels{g};
  108. thisColor = groupColors{g};
  109. idxG = (grpAll == thisLabel);
  110. x = connAll(idxG);
  111. y = vasAll(idxG);
  112. if numel(x) > 1
  113. [rVals(g), pVals(g)] = corr(x(:), y(:), 'Type','Pearson');
  114. % Within-group slope (simple lm)
  115. mdlG = fitlm(x, y);
  116. slopes(g) = mdlG.Coefficients.Estimate(2);
  117. scatter(x, y, 36, 'MarkerFaceColor', thisColor, 'MarkerEdgeColor', thisColor);
  118. x_fit = linspace(min(x), max(x), 100)';
  119. [y_fit, y_ci] = predict(mdlG, x_fit);
  120. plot(x_fit, y_fit, 'Color', thisColor, 'LineWidth', 1.5);
  121. fill([x_fit; flipud(x_fit)], [y_ci(:,1); flipud(y_ci(:,2))], thisColor, ...
  122. 'FaceAlpha', 0.10, 'EdgeColor','none');
  123. end
  124. end
  125. grid on; grid minor;
  126. roi1Name = regionNames{regionsOfInterest == roi1};
  127. roi2Name = regionNames{regionsOfInterest == roi2};
  128. xlabel(sprintf('Δ gPPI (Opioid–Neutral) Post–Pre: %s ↔ %s', roi1Name, roi2Name), 'Interpreter','none');
  129. ylabel(sprintf('VAS %s', timePoint), 'Interpreter','none');
  130. title(sprintf('ROI %d–%d | Slope difference test: p_{int}=%.3g', roi1, roi2, pInteraction), 'Interpreter','none');
  131. % Text box: within-group r/p + interaction p
  132. xL = xlim; yL = ylim;
  133. xText = xL(1) + 0.03*(xL(2)-xL(1));
  134. yText = yL(2) - 0.05*(yL(2)-yL(1));
  135. text(xText, yText, sprintf('Interaction (Conn×Group): \\beta=%.3f, p=%.3g', betaInteraction, pInteraction), ...
  136. 'FontSize', 11, 'BackgroundColor','white');
  137. if ~isnan(rVals(1))
  138. text(xText, yText - 0.08*(yL(2)-yL(1)), sprintf('Sham: r=%.2f, p=%.3g', rVals(1), pVals(1)), ...
  139. 'Color', groupColors{1}, 'FontSize', 11, 'BackgroundColor','white');
  140. end
  141. if ~isnan(rVals(2))
  142. text(xText, yText - 0.16*(yL(2)-yL(1)), sprintf('Active: r=%.2f, p=%.3g', rVals(2), pVals(2)), ...
  143. 'Color', groupColors{2}, 'FontSize', 11, 'BackgroundColor','white');
  144. end
  145. hold off;
  146. % Save results row
  147. newRow = table(roi1, roi2, string(roi1Name), string(roi2Name), ...
  148. betaInteraction, pInteraction, ...
  149. slopes(1), slopes(2), rVals(1), pVals(1), rVals(2), pVals(2), ...
  150. 'VariableNames', {'ROI1','ROI2','ROI1_Name','ROI2_Name', ...
  151. 'Beta_Interaction','P_Interaction', ...
  152. 'Slope_Sham','Slope_Active', ...
  153. 'r_Sham','p_Sham','r_Active','p_Active'});
  154. results = [results; newRow]; %#ok<AGROW>
  155. end
  156. % Write out a summary table (recommended for your revision)
  157. outCSV = fullfile(pwd, sprintf('SlopeDifference_ConnxGroup_%s.csv', timePoint));
  158. writetable(results, outCSV);
  159. fprintf('\nSaved interaction-test summary to: %s\n', outCSV);
  160. end
  161. function rgb = hex2rgb(hex)
  162. hex = char(hex);
  163. if hex(1) == '#', hex = hex(2:end); end
  164. rgb = reshape(sscanf(hex, '%2x')/255, 1, 3);
  165. end

calculate_and_plot_correlations_with_slope_test_Revisions.m at commit 7aba61f, no license · at the source

Overview

  1. Department of Biomedical Engineering, University of Minnesota,Minneapolis, MN USA
  2. Laureate Institute for Brain Research (LIBR),Tulsa, OK USA
  3. Department of Psychiatry, University of Texas Southwestern (UTSW),Dallas, TX USA
Journal: Molecular psychiatry, volume 31, issue 10, pages 6056-6068
Dates: received 5 September 2025; accepted 16 June 2026; published online 26 June 2026; in print 2026
Type: Research article · Language: English
License: CC BY-NC-ND
Identifiers: DOI 10.1038/s41380-026-03694-1 · PMID 42362768 · PMCID PMC13569433 · OpenAlex W7166075431
Open access: hybrid, a free copy (OpenAlex)
Status: code verified
Categories: fMRI (modality), other (modality), human (organism), other condition (population), pain (population), clinical / translational (subfield)
Methods: Statistics, Preprocessing, Evoked potentials, fMRI & imaging
Keywords: Addiction, Psychology
MeSH: Opioid-Related Disorders*, Adult, Amygdala, Brain, Corpus Striatum, Craving, Cues, Frontal Lobe, Humans, Magnetic Resonance Imaging, Male, Nerve Net, Neural Pathways, Parietal Lobe, Theta Rhythm, Transcranial Direct Current Stimulation (* major topic)
Topic: Functional Brain Connectivity Studies (Cognitive Neuroscience, Neuroscience), according to OpenAlex
Funding: Brain and Behavior Research Foundation; MnDrive Brain Conditions
Citations: not cited yet (Europe PMC); 91 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.

Repositories

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

rkuplicki/LIBR_MOCD

License: none: the authors keep all their rights
State: the link answers, verified on 27 September 2026
Evidence: files inventoried
Commit: 9ebf1903ca778933d569ffa25952df38839fdba3, 27 April 2022
Languages: Python (20), Shell (2), R (2), MATLAB (1)
Size: 1,253 files, 25 scripts
Software Heritage: not archived
Found in: the text, “Limitations and future directions”
Holds: README, 1 notebook
Not found: license file, CITATION.cff, environment file, tests, continuous integration, documentation
Tools: PsychoPy (10 files), NumPy (4 files), cowplot (2 files), ggplot2 (2 files), tidyverse (2 files), data.table (1 file), ggpubr (1 file), lavaan (1 file), lme4 (1 file), lmerTest (1 file), multcomp (1 file), nlme (1 file), reshape2 (1 file)
Availability: 1 check, the latest on 27 September 2026: the link answers
  • 27 September 2026: the link answers
26 files

soleimanighazaleh/frontoparietal-tacs-oud

License: none: the authors keep all their rights
State: the link answers, verified on 27 September 2026
Evidence: files inventoried
Commit: 7aba61f406533b76a5c85f2a46cdaca738fb0440, 30 December 2025
Languages: MATLAB (21), Shell (5)
Size: 161 files, 26 scripts
Software Heritage: not archived
Found in: “Code availability”
Holds: README
Not found: license file, CITATION.cff, environment file, tests, continuous integration, documentation
Tools: AFNI (5 files), Statistics and Machine Learning Toolbox (5 files)
Availability: 1 check, the latest on 27 September 2026: the link answers
  • 27 September 2026: the link answers
27 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:

  • 2 repositories of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
  • 51 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

No dataset and no data link were found in the paper.

Code and data availability statement

The paper has a code and data 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/s41380-026-03694-1.

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 → Springer Nature

Version 1, 27 September 2026: the first record

Recorded: type, language, journal, volume, issue, pages, dates, 4 authors, 2 keywords, 16 MeSH terms, 2 funders, 88 references.

Cite

This paper

Soleimani, G., Kuplicki, R., Paulus, M. P., & Ekhtiari, H. (2026). Targeting cortico-striatal-amygdalar networks via theta-band frontoparietal synchronization in opioid use disorder: a randomized tACS-fMRI Trial. Molecular psychiatry, 31(10), 6056-6068. https://doi.org/10.1038/s41380-026-03694-1

BibTeX

@article{soleimani2026targeting,
author = {Soleimani, Ghazaleh and Kuplicki, Rayus and Paulus, Martin P. and Ekhtiari, Hamed},
title = {{Targeting cortico-striatal-amygdalar networks via theta-band frontoparietal synchronization in opioid use disorder: a randomized tACS-fMRI Trial}},
journal = {Molecular psychiatry},
year = {2026},
month = jun,
volume = {31},
number = {10},
pages = {6056--6068},
publisher = {Springer Nature},
issn = {1359-4184},
doi = {10.1038/s41380-026-03694-1},
url = {https://doi.org/10.1038/s41380-026-03694-1},
pmid = {42362768},
pmcid = {PMC13569433}
}

RIS

TY - JOUR
AU - Soleimani, Ghazaleh
AU - Kuplicki, Rayus
AU - Paulus, Martin P.
AU - Ekhtiari, Hamed
TI - Targeting cortico-striatal-amygdalar networks via theta-band frontoparietal synchronization in opioid use disorder: a randomized tACS-fMRI Trial
T2 - Molecular psychiatry
J2 - Mol Psychiatry
PY - 2026
DA - 2026/06/26
VL - 31
IS - 10
SP - 6056
EP - 6068
SN - 1359-4184
PB - Springer Nature
DO - 10.1038/s41380-026-03694-1
UR - https://doi.org/10.1038/s41380-026-03694-1
LA - en
ER -

CSL-JSON

{
"id": "10.1038/s41380-026-03694-1",
"type": "article-journal",
"title": "Targeting cortico-striatal-amygdalar networks via theta-band frontoparietal synchronization in opioid use disorder: a randomized tACS-fMRI Trial",
"container-title": "Molecular psychiatry",
"author": [
{
"family": "Soleimani",
"given": "Ghazaleh"
},
{
"family": "Kuplicki",
"given": "Rayus"
},
{
"family": "Paulus",
"given": "Martin P."
},
{
"family": "Ekhtiari",
"given": "Hamed"
}
],
"container-title-short": "Mol Psychiatry",
"volume": "31",
"issue": "10",
"page": "6056-6068",
"DOI": "10.1038/s41380-026-03694-1",
"PMID": "42362768",
"PMCID": "PMC13569433",
"ISSN": "1359-4184",
"publisher": "Springer Nature",
"URL": "https://doi.org/10.1038/s41380-026-03694-1",
"language": "en",
"issued": {
"date-parts": [
[
2026,
6,
26
]
]
}
}

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.1523/eneuro.0076-26.2026 [code]
Exogenously Driven Neural Reactivation of Spatially Matching Visual Working-Memory Contents.
Journal: eNeuro
In common: multcomp, PsychoPy, lme4, 8 other tools
[2] doi:10.1093/braincomms/fcag121 [code]
Anterior insular co-activation patterns associated with stress markers in chronic primary pain.
Journal: Brain communications
In common: multcomp, lmerTest, lme4, 7 other tools, pain, fMRI, clinical / translational
[3] doi:10.1093/pnasnexus/pgag138 [code]
Regretting a chance to connect: How neural responses to missed social opportunities predict self-disclosure.
Journal: PNAS nexus
In common: multcomp, lavaan, nlme, 5 other tools, fMRI
[4] doi:10.1016/j.nicl.2026.104012 [code]
Structural-functional multilayer brain network properties and outcome of combined repetitive transcranial magnetic stimulation and psychotherapy for obsessive-compulsive disorder.
Journal: NeuroImage. Clinical
In common: nlme, lmerTest, lme4, 6 other tools, other, fMRI, other condition
[5] doi:10.1002/hbm.70599 [code]
Group Joint ICA (gjICA): A Method for Multimodal Fusion of Concurrent EEG and fMRI Data.
Journal: Human brain mapping
In common: Statistics and Machine Learning Toolbox, NumPy, fMRI, 2 authors
[6] doi:10.1162/imag.a.1245 [code]
Towards precision EEG connectomics: Evaluating the benefits of dense sampling.
Journal: Imaging neuroscience (Cambridge, Mass.)
In common: AFNI, lmerTest, lme4, 7 other tools
[7] doi:10.1073/pnas.2606871123 [code]
Oxytocin modulates the neurocomputational mechanisms engaged in learning rank relationships in social networks.
Journal: Proceedings of the National Academy of Sciences of the United States of America
In common: nlme, lmerTest, lme4, 6 other tools
[8] doi:10.1093/bioinformatics/btag592 [code]
Network-based stratification of allele-specific expression reveals patient subgroups in Huntington's disease.
Journal: Bioinformatics (Oxford, England)
In common: multcomp, lme4, cowplot, 6 other tools, other condition
[9] doi:10.1016/j.xcrm.2026.102682 [code]
TET CpG sequence-context-specific DNA demethylation shapes progression of IDH-mutant gliomas.
Journal: Cell reports. Medicine
In common: multcomp, lme4, cowplot, 6 other tools, other condition
[10] doi:10.1038/s41467-026-76132-z [code]
ATP13A4 gates extracellular polyamine levels to control excitatory synaptogenesis.
Journal: Nature communications
In common: multcomp, nlme, lmerTest, 5 other tools

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.