Bed nucleus of the stria terminalis connectivity during food cue and taste processing under stress.
8 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 9 matches · 5 of them tie a paragraph to a whole file without given lines: weak matches, whose lines are not tinted
- [1] § Methods › Parametric empirical Bayes ↔ supp_analyses/gusto_group_peb_bmc.m, the whole file · a weak match · score 0.73 · Bayesian model reduction, spm_dcm_peb_bmc, Plausible, utilised, probability, posterior · block
oscr:b:P5A5M2MQZMA40-F· Report a mismatch - [2] § Methods › Leave-one-out cross-validation ↔ analyses/Run_PEB_HS_Cue_LOOCV_deltastress.m, lines 50 to 51 · score 0.66 · spm_dcm_loo, cross validation, stress cue, OFC, PEB, BNST · block
oscr:b:6VA368KXKB6GD-M· Report a mismatch - [3] § Methods › In silico validation of dynamic causal models ↔ in_silico_validation/validate_task_model.m, lines 1 to 42 · score 0.64 · noise ratios, SNRs, silico, simulation, inversion, inferred · block
oscr:b:MRET5MWHTY7A5-M· Report a mismatch - [4] § Methods › General linear models of beverage cue and taste processing ↔ supp_analyses/gusto_log_convert.m, the whole file · a weak match · score 0.63 · pleasantness ratings, fMRI, events, rinse, onsets, GLMs · block
oscr:b:KDMPES0NE9T2A-0· Report a mismatch - [5] § Methods › Physiological measures ↔ scr/stress_irr.m, the whole file · a weak match · score 0.59 · inter rater reliability, discardable, stress · block
oscr:b:P9R83K4H37WMA-5· Report a mismatch - [6] § Methods › Physiological measures ↔ hrv/R2_HRV_comp.m, lines 86 to 129 · score 0.59 · pNN20, pNN50, Poincar, SD1, SD2, HRV · block
oscr:b:5CXD8T615KV8V-5· Report a mismatch - [7] § Results › Beverage task and stress induction ↔ hrv/R2_HRV_comp.m, lines 86 to 129 · score 0.58 · pNN20, pNN50, Poincar, ratio, SD1, SD2 · block
oscr:b:5CXD8T615KV8V-5· Report a mismatch - [8] § Methods › Parametric empirical Bayes ↔ analyses/Run_PEB_HS_Taste.m, the whole file · a weak match · score 0.57 · spm_dcm_peb_bmc, effective connectivity parameters, PEB model, delta, quantified, Bayes · block
oscr:b:WSFK6QJB7EZX3-6· Report a mismatch - [9] § Methods › Physiological measures ↔ hrv/HRV_combined_R1.m, the whole file · a weak match · score 0.52 · Post hoc, ANOVA, vectors, HRV, segmented, model · block
oscr:b:3DN0GXNWQYWWP-V· 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 · 154 lines · 5 KB · no license · 2 matches
- clear; clc;
- %% Load data
- S = load('all_cpulse_values.mat');
- acv = S.all_cpulse_values; % 1x1 struct of participants
- P = fieldnames(acv); % {'P100','P101',...}
- % Exclude (poor trace)
- exclude = {'Sub107','Sub133','Sub139','Sub147','Sub151'};
- P = setdiff(P, exclude);
- %% Analysis parameters
- fs_tacho = 4; % Hz for tachogram resampling
- rr_min_s = 0.3; % RR lower bound
- rr_max_s = 2.5; % RR upper bound
- lf_band = [0.04 0.15]; % Hz
- hf_band = [0.15 0.40]; % Hz
- min_len_psd_s = 20; % >=20 s to attempt PSD
- metrics_names = {'pNN20','pNN50','SD1_SD2','LF_HF'};
- %% Collect per-participant metrics
- rows = cell(0, 2 + numel(metrics_names)); % {Participant, Condition, metrics...}
- for i = 1:numel(P)
- pid = P{i};
- pdata = acv.(pid); % struct with GUSTO_LS / GUSTO_HS
- ls = double(pdata.GUSTO_LS(:));
- hs = double(pdata.GUSTO_HS(:));
- mLS = comp_metrics(ls, fs_tacho, rr_min_s, rr_max_s, lf_band, hf_band, min_len_psd_s);
- mHS = comp_metrics(hs, fs_tacho, rr_min_s, rr_max_s, lf_band, hf_band, min_len_psd_s);
- if isempty(mLS) || isempty(mHS), continue; end
- vals_ls = cellfun(@(nm) mLS.(nm), metrics_names, 'UniformOutput', false);
- rows(end+1,:) = [{pid,'LS'}, vals_ls];
- vals_hs = cellfun(@(nm) mHS.(nm), metrics_names, 'UniformOutput', false);
- rows(end+1,:) = [{pid,'HS'}, vals_hs];
- end
- T = cell2table(rows, 'VariableNames', ['Participant','Condition', metrics_names]);
- %% Paired tests (HS vs LS) on the four metrics
- stats_rows = {};
- for k = 1:numel(metrics_names)
- metric = metrics_names{k};
- W = unstack(T(:,{'Participant','Condition',metric}), metric, 'Condition', 'GroupingVariables','Participant');
- if ~all(ismember({'LS','HS'}, W.Properties.VariableNames)), continue; end
- x = W.LS; y = W.HS; % LS vs HS
- mask = ~(isnan(x) | isnan(y));
- x = x(mask); y = y(mask);
- if numel(x) < 3, continue; end
- diffv = y - x;
- [~, p, ~, st] = ttest(x, y); % paired t-test
- dz = mean(diffv) / std(diffv, 0); % Cohen's dz
- stats_rows(end+1,1:9) = {metric, numel(x), st.tstat, st.df, p, dz, mean(x), mean(y), mean(diffv)}; %#ok<AGROW>
- end
- Stats = cell2table(stats_rows, 'VariableNames', ...
- {'Metric','n','t','df','p','dz','mean_LS','mean_HS','diff_mean'});
- Stats = sortrows(Stats,'p');
- disp('--- Paired t-tests (HS vs LS) ---');
- disp(Stats);
- % Display
- report_metrics = {'pNN20','pNN50','LF_HF','SD1_SD2'};
- for r = 1:numel(report_metrics)
- m = report_metrics{r};
- row = Stats(strcmp(Stats.Metric, m), :);
- if ~isempty(row)
- fprintf('%s: t(%d)=%.6f, p=%.6f, dz=%.6f, meanΔ=HS-LS=%.6f\n', ...
- row.Metric{1}, row.df(1), row.t(1), row.p(1), row.dz(1), row.diff_mean(1));
- end
- end
- % Save tables
- writetable(T, 'hrv_comp_by_participant.csv');
- writetable(Stats, 'hrv_comp_paired_tests.csv');
- %% ---------- Local Functions (minimal) ----------
- function M = comp_metrics(cpulse_secs, fs, rr_min_s, rr_max_s, lf_band, hf_band, min_len_psd_s)
- % Build RR from cumulative pulse times (seconds) with sanity bounds
- [rr, tmid] = local_ibi(cpulse_secs, rr_min_s, rr_max_s);
- if isempty(rr), M = []; return; end
- % Time-domain differences (ms) for pNN20/pNN50
- rr_ms = rr * 1000;
- diffs = diff(rr_ms);
- M.pNN20 = mean(abs(diffs) > 20) * 100;
- M.pNN50 = mean(abs(diffs) > 50) * 100;
- % Poincaré ratio SD1/SD2 (population variance convention)
- if numel(rr_ms) >= 3
- rr1 = rr_ms(1:end-1);
- rr2 = rr_ms(2:end);
- d12 = rr2 - rr1;
- sd1 = sqrt(var(d12, 1)/2);
- sd2 = sqrt(2*var(rr_ms,1) - var(d12,1)/2);
- M.SD1_SD2 = sd1 / sd2;
- else
- M.SD1_SD2 = NaN;
- end
- % LF/HF from HR tachogram Welch PSD
- hr = 60 ./ rr;
- if numel(rr) >= 4 && (tmid(end) - tmid(1)) >= min_len_psd_s
- t = tmid(:);
- t_uniform = (t(1):1/fs:t(end))';
- hr_uniform = interp1(t, hr(:), t_uniform, 'linear', 'extrap');
- hr_uniform = detrend(hr_uniform, 'linear');
- nperseg = min(numel(hr_uniform), fs*64);
- if nperseg < 32
- M.LF_HF = NaN;
- else
- [Pxx, f] = pwelch(hr_uniform, hamming(nperseg), [], [], fs);
- LF = bandpow(f, Pxx, lf_band(1), lf_band(2));
- HF = bandpow(f, Pxx, hf_band(1), hf_band(2));
- M.LF_HF = (HF > 0) * (LF / HF);
- if HF <= 0, M.LF_HF = NaN; end
- end
- else
- M.LF_HF = NaN;
- end
- end
- function [rr, tmid] = local_ibi(cpulse_secs, rr_min_s, rr_max_s)
- x = sort(double(cpulse_secs(:)));
- x = x(~isnan(x));
- if numel(x) < 3
- rr = []; tmid = []; return;
- end
- rr0 = diff(x);
- tmid0 = x(1:end-1) + rr0/2;
- mask = (rr0 > rr_min_s) & (rr0 < rr_max_s);
- rr = rr0(mask);
- tmid = tmid0(mask);
- if nnz(mask) < 3
- rr = []; tmid = [];
- end
- end
- function bp = bandpow(f, Pxx, fmin, fmax)
- mask = (f >= fmin) & (f < fmax);
- if ~any(mask)
- bp = NaN;
- else
- bp = trapz(f(mask), Pxx(mask));
- end
- end
R2_HRV_comp.m at commit 506df1e, no license · at the source
Overview
- Department of Biochemistry and Pharmacology, University of Melbourne,Parkville, VIC Australia
- Florey Institute of Neuroscience and Mental Health, University of Melbourne,Parkville, VIC Australia
- Turner Institute for Brain and Mental Health, School of Psychological Sciences, Monash University,Clayton, VIC Australia
- Monash Biomedical Imaging, Monash University,Clayton, VIC Australia
- Department of Psychiatry, The University of Melbourne,Parkville, VIC Australia
- Melbourne School of Psychological Sciences, The University of Melbourne,Parkville, VIC Australia
- Melbourne Brain Centre Imaging Unit, Department of Radiology, University of Melbourne,Parkville, VIC Australia
- Department of Psychiatry and Biobehavioral Sciences, University of California,Los Angeles, CA USA
- Department of Surgery, School of Translational Medicine, Monash University,Melbourne, VIC Australia
- Department of Endocrinology and Diabetes, Alfred Health,Melbourne, VIC Australia
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 9 matches between paragraphs and lines of code.
evaghreins/Gustometer_Stress_BNST_DCM
506df1e4d6d2ce96e4f6f39cbb5bcd3e2572bf7f, 24 March 2026Availability: 1 check, the latest on 29 September 2026: the link answers
- 29 September 2026: the link answers
26 files
- analyses/
Run_PEB_HS_Cue_LOOCV_del , MATLAB, 52 lines, 1 matchtastress.m - analyses/
Run_PEB_HS_MCue.m , MATLAB, 48 lines - analyses/
Run_PEB_HS_MTaste.m , MATLAB, 48 lines - analyses/
Run_PEB_HS_Taste.m , MATLAB, 48 lines, 1 match - analyses/
Run_PEB_HS_Wcue.m , MATLAB, 48 lines - analyses/
Run_PEB_HS_Wtaste.m , MATLAB, 48 lines - analyses/
Run_PEB_LS_Cue.m , MATLAB, 48 lines - analyses/
Run_PEB_LS_Mcue.m , MATLAB, 48 lines - analyses/
Run_PEB_LS_Mtaste.m , MATLAB, 48 lines - analyses/
Run_PEB_LS_Taste.m , MATLAB, 48 lines - hrv/
Fig_S2.m , MATLAB, 249 lines - hrv/
HRV_combined_R1.m , MATLAB, 105 lines, 1 match - hrv/
HR_analysis_R3.m , MATLAB, 43 lines - hrv/
R2_HRV_comp.m , MATLAB, 154 lines, 2 matches - in_silico_validation/
reformat_fig.m , MATLAB, 152 lines - in_silico_validation/
run_validation.m , MATLAB, 52 lines - in_silico_validation/
validate_task_model.m , MATLAB, 327 lines, 1 match - scr/
stress_irr.m , MATLAB, 54 lines, 1 match - scr/
stress_mp.m , MATLAB, 89 lines - scr/
stress_test.m , MATLAB, 55 lines - supp_analyses/
gusto_dcm_retrofit.m , MATLAB, 126 lines - supp_analyses/
gusto_gen_cond_files.m , MATLAB, 107 lines - supp_analyses/
gusto_group_peb_bmc.m , MATLAB, 72 lines, 1 match - supp_analyses/
gusto_log_convert.m , MATLAB, 104 lines, 1 match - supp_analyses/
gusto_results.m , MATLAB, 111 lines - README.md, Text, 180 lines
Zenodo 18738387
Availability: 1 check, the latest on 29 September 2026: the link answers (HTTP 200)
- 29 September 2026: the link answers (HTTP 200)
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:
- it points to the authors' code: evaghreins/
Gustometer_Stress_BNST_D , Zenodo 18738387CM
Read it in the paper: doi.org/10.1038/s41467-026-71414-y.
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;
- 25 scripts, each with its path and the digest of its content;
- 9 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:
- it points to the authors' code: evaghreins/
Gustometer_Stress_BNST_D , Zenodo 18738387CM
Read it in the paper: doi.org/10.1038/s41467-026-71414-y.
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, 29 September 2026: the first record
Recorded: type, language, journal, volume, issue, pages, dates, 10 authors, 3 keywords, 15 MeSH terms, 1 funder, 112 references.
Cite
This paper
Guerrero-Hreins, E., Greaves, M. D., Kung, P.-H., Moffat, B. A., Glarin, R. K., Murray, S. B., Harrison, B. J., Sumithran, P., Brown, R. M., & Steward, T. (2026). Bed nucleus of the stria terminalis connectivity during food cue and taste processing under stress. Nature communications, 17(1), 5004. https://
BibTeX
@article{guerrerohreins2
author = {Guerrero-Hreins, Eva and Greaves, Matthew D. and Kung, Po-Han and Moffat, Bradford A. and Glarin, Rebecca K. and Murray, Stuart B. and Harrison, Ben J. and Sumithran, Priya and Brown, Robyn M. and Steward, Trevor},
title = {{Bed nucleus of the stria terminalis connectivity during food cue and taste processing under stress}},
journal = {Nature communications},
year = {2026},
month = apr,
volume = {17},
number = {1},
pages = {5004},
publisher = {Nature Publishing Group},
issn = {2041-1723},
doi = {10.1038/
url = {https://
pmid = {41951626},
pmcid = {PMC13237201}
}
RIS
TY - JOUR
AU - Guerrero-Hreins, Eva
AU - Greaves, Matthew D.
AU - Kung, Po-Han
AU - Moffat, Bradford A.
AU - Glarin, Rebecca K.
AU - Murray, Stuart B.
AU - Harrison, Ben J.
AU - Sumithran, Priya
AU - Brown, Robyn M.
AU - Steward, Trevor
TI - Bed nucleus of the stria terminalis connectivity during food cue and taste processing under stress
T2 - Nature communications
J2 - Nat Commun
PY - 2026
DA - 2026/
VL - 17
IS - 1
SP - 5004
SN - 2041-1723
PB - Nature Publishing Group
DO - 10.1038/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1038/
"type": "article-journal",
"title": "Bed nucleus of the stria terminalis connectivity during food cue and taste processing under stress",
"container-title": "Nature communications",
"author": [
{
"family": "Guerrero-Hreins",
"given": "Eva"
},
{
"family": "Greaves",
"given": "Matthew D."
},
{
"family": "Kung",
"given": "Po-Han"
},
{
"family": "Moffat",
"given": "Bradford A."
},
{
"family": "Glarin",
"given": "Rebecca K."
},
{
"family": "Murray",
"given": "Stuart B."
},
{
"family": "Harrison",
"given": "Ben J."
},
{
"family": "Sumithran",
"given": "Priya"
},
{
"family": "Brown",
"given": "Robyn M."
},
{
"family": "Steward",
"given": "Trevor"
}
],
"container-title-short":
"volume": "17",
"issue": "1",
"page": "5004",
"DOI": "10.1038/
"PMID": "41951626",
"PMCID": "PMC13237201",
"ISSN": "2041-1723",
"publisher": "Nature Publishing Group",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
4,
8
]
]
}
}
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-025-59611-7 [code]
- Habenula contributions to negative self-cognitions.Journal: Nature communicationsIn common: SPM, Statistics and Machine Learning Toolbox, 14 references, 6 authors
- [2] doi:10.1093/cercor/bhab487
- Dynamic subcortical modulators of human default mode network function.Journal: Cerebral cortex (New York, N.Y. : 1991)In common: 13 references, author Trevor Steward
- [3] doi:10.1038/s41380-021-01402-9 [code]
- A thalamo-centric neural signature for restructuring negative self-beliefs.Journal: Molecular psychiatryIn common: SPM, 6 references, 2 authors
- [4] doi:10.1162/imag.a.1420 [code]
- Substantial evidence against sex differences in bed nucleus of the stria terminalis volume in the human brain.Journal: Imaging neuroscience (Cambridge, Mass.)In common: 7 references
- [5] doi:10.1016/j.neuroimage.2021.118643 [code]
- Neural mediators of subjective and autonomic responding during threat learning and regulation.Journal: NeuroImageIn common: SPM, Statistics and Machine Learning Toolbox, 6 references
- [6] doi:10.1162/imag.a.1260
- Organization, fine structure, and stereotaxic maps of the human Bed nucleus of the Stria terminalis.Journal: Imaging neuroscience (Cambridge, Mass.)In common: 6 references
- [7] doi:10.1016/j.neuroimage.2022.119096 [code]
- Subiculum-BNST structural connectivity in humans and macaques.Journal: NeuroImageIn common: 6 references
- [8] doi:10.1038/s41380-025-03135-5 [code]
- Subcortical modulation of the salience network during negative emotional processing in mood and anxiety disorders.Journal: Molecular psychiatryIn common: SPM, 2 references, author Trevor Steward
- [9] doi:10.1371/journal.pone.0271915
- Obesity and acute stress modulate appetite and neural responses in food word reactivity task.Journal: PloS oneIn common: 5 references
- [10] doi:10.1007/s12021-025-09759-w [code]
- Limitations of Variational Laplace-Based Dynamic Causal Modelling for Multistable Cortical Circuits.Journal: NeuroinformaticsIn common: Parallel Computing Toolbox, SPM, Signal Processing Toolbox, 1 other tool, 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.
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: 2 repositories of the authors' code, each at its verified commit and with its license, 25 scripts, and 9 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:e785d0bf572638e6…
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.1038/s41467-026-71414-y)
<!-- oscr-badge:end -->reStructuredText
.. oscr-badge:start
.. image:: https://openscicode.org/badge/doi/10.1038/s41467-026-71414-y.svg
:target: https://openscicode.org/badge/doi/10.1038/s41467-026-71414-y
:alt: OSCR
.. oscr-badge:endHTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.1038/s41467-026-71414-y"><img src="https://openscicode.org/badge/doi/10.1038/s41467-026-71414-y.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.
