Linking brain structure to stress reactivity: cingulate surface area predicts acute cortisol responses.
A correction to this paper has been published: the notice, 42047098, from Europe PMC.
The 6 matches · 2 of them tie a paragraph to a whole file, not to given lines: weak matches, whose lines are not tinted
- [1] § Methods and materials › Data analysis ↔ 01_palm/code/03_plot_results.ipynb, lines 124–214 · score 0.91 · rostral anterior cingulate, caudal anterior cingulate, posterior cingulate, Cortical thickness, parahippocampus, precuneus
- [2] § Methods and materials › Data analysis ↔ 03_stress-ml/code/01_predict.py, lines 252–317 · score 0.85 · nested cross validation, outer folds, model evaluation, SHAP, inner, optimization
- [3] § Results › Permutation analysis of linear models (PALM) results ↔ 01_palm/code/03_plot_results.ipynb, lines 124–214 · score 0.71 · rostral anterior cingulate, caudal anterior cingulate, lateral orbitofrontal, posterior cingulate, insula, PALM
- [4] § Methods and materials › Data analysis ↔ 02_whole-brain/code/04_run_cluster-sim.sh, the whole file · a weak match · score 0.64 · mri_glmfit, FreeSurfer, Simulation, spaces, cluster, thickness
- [5] § Methods and materials › Data analysis ↔ 01_palm/code/00_prepare_files.ipynb, lines 30–85 · score 0.59 · parahippocampus, precuneus, accumbens, putamen, thalamus, rostral
- [6] § Methods and materials › Data analysis ↔ 02_whole-brain/code/03_run-glms.sh, the whole file · a weak match · score 0.58 · mri_glmfit, FreeSurfer, fsaverage, cortex, thickness, volume
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
Jupyter notebook · 214 lines · 5.8 KB · GPL-3.0 · 2 matches
- # %%
- import os
- import os.path as op
- import matplotlib.pyplot as plt
- import pandas as pd
- import seaborn as sns
- from scipy import stats
- from sklearn.linear_model import LinearRegression
- from sklearn.preprocessing import OneHotEncoder
- # %%
- WORKING_PATH = "..." # Set your working path here.
- beh = pd.read_csv(
- op.join(WORKING_PATH, "data/beh/beh_residualized_extended_050225.csv")
- )
- aparc = pd.read_csv(
- op.join(WORKING_PATH, "data/fs-measures/aparcstats2table_combined.csv")
- )
- aseg = pd.read_csv(
- op.join(WORKING_PATH, "data/fs-measures/aseg_stats_combined.csv")
- ).rename(columns={"Measure:volume": "id"})
- beh = beh[beh["site"] == "regensburg"]
- db = pd.merge(beh, aparc, on="id", how="inner").merge(aseg, on="id", how="inner")
- db
- # %%
- def plot_brain_correlations(data, x, y, y_label, out_path=None):
- # Set style and color palette
- sns.set_style(
- "whitegrid",
- {"axes.grid": False, "xtick.bottom": False, "ytick.left": False},
- )
- palette = {"male": "#2E86AB", "female": "#F24236"}
- # Create figure
- plt.figure(figsize=(12, 11), dpi=300)
- # Create jointplot with enhanced styling
- g = sns.jointplot(
- data=data,
- x=x,
- y=y,
- hue="sex",
- kind="scatter",
- height=10,
- ratio=8,
- palette=palette,
- marginal_kws=dict(common_norm=False, fill=True),
- joint_kws=dict(alpha=0.7, s=100),
- )
- # Add regression lines with confidence intervals
- for sex_group in data["sex"].unique():
- subset = data[data["sex"] == sex_group]
- sns.regplot(
- data=subset,
- x=x,
- y=y,
- scatter=False,
- line_kws={"linestyle": "--", "linewidth": 2},
- ci=95,
- ax=g.ax_joint,
- color=palette[sex_group],
- )
- # Add overall regression line
- sns.regplot(
- data=data,
- x=x,
- y=y,
- scatter=False,
- color="black",
- line_kws={"linewidth": 2},
- ci=95,
- ax=g.ax_joint,
- )
- # Customize labels and appearance
- g.ax_joint.set_xlabel(
- "Cortisol increase (nmol/l)".title(), fontsize=20, fontweight="bold"
- ).set_visible(False) ## To set the visibility off.
- g.ax_joint.set_ylabel(y_label, fontsize=20, fontweight="bold").set_visible(
- False
- ) ## To set the visibility off.
- g.ax_joint.tick_params(labelsize=18)
- # Remove axis values
- # g.ax_joint.set_xticklabels([])
- # g.ax_joint.set_yticklabels([])
- # Customize legend
- g.ax_joint.legend(
- title="Sex",
- title_fontsize=12,
- fontsize=11,
- bbox_to_anchor=(0.95, 0.15),
- frameon=True,
- edgecolor="black",
- ).set_visible(False)
- # Make axes thicker
- g.ax_joint.spines["bottom"].set_linewidth(2)
- g.ax_joint.spines["left"].set_linewidth(2)
- g.ax_joint.tick_params(width=2)
- # Adjust layout and save
- plt.tight_layout()
- if out_path:
- plt.savefig(out_path, dpi=500, bbox_inches="tight")
- plt.close()
- def correct_for_site(data, area, site_col="site"):
- # Correct for site effects using linear regression
- site = OneHotEncoder(sparse_output=False, drop="first").fit_transform(
- data[[site_col]]
- )
- data[area] = data[area] - LinearRegression().fit(site, data[area]).predict(site)
- return data
- # %%
- # Prepare Brain Imaging Data for PALM
- corr_plot_path = op.join(WORKING_PATH, "palm_regensburg_cycle/plots")
- os.makedirs(corr_plot_path, exist_ok=True)
- cortical_areas = {
- "rostralanteriorcingulate": "Rostral Anterior Cingulate",
- "caudalanteriorcingulate": "Caudal Anterior Cingulate",
- "posteriorcingulate": "Posterior Cingulate",
- "parahippocampal": "Parahippocampal Gyrus",
- "lateralorbitofrontal": "Lateral Orbitofrontal Gyrus",
- "medialorbitofrontal": "Medial Orbitofrontal Gyrus",
- "insula": "Insula",
- "precuneus": "Precuneus",
- }
- subcortical_areas = {
- "Thalamus-Proper": "Thalamus",
- "Caudate": "Caudate Nucleus",
- "Accumbens-area": "Nucleus Accumbens",
- "Putamen": "Putamen",
- "Hippocampus": "Hippocampus",
- "Amygdala": "Amygdala",
- }
- # Cortical Thickness
- for hemi in ["lh", "rh"]:
- for area, area_name in cortical_areas.items():
- data = db[
- [
- "site",
- "sex",
- "increase",
- f"{hemi}_{area}_thickness",
- ]
- ]
- out_file = f"{corr_plot_path}/{hemi}_{area}_thickness_increase.png"
- if op.exists(out_file):
- continue
- plot_brain_correlations(
- data,
- "increase",
- f"{hemi}_{area}_thickness",
- f"{area_name} thickness (mm)",
- out_file,
- )
- # Surface Area
- for hemi in ["lh", "rh"]:
- for area, area_name in cortical_areas.items():
- data = db[
- [
- "site",
- "sex",
- "increase",
- f"{hemi}_{area}_area",
- ]
- ]
- out_file = f"{corr_plot_path}/{hemi}_{area}_area_increase.png"
- if op.exists(out_file):
- continue
- plot_brain_correlations(
- data,
- "increase",
- f"{hemi}_{area}_area",
- f"{area_name} surface area (mm²)",
- out_file,
- )
- # Subcortical Volume
- for hemi in ["Left", "Right"]:
- for area, area_name in subcortical_areas.items():
- area_ = f"{hemi}-{area}"
- data = db[
- [
- "site",
- "sex",
- "increase",
- area_,
- ]
- ]
- out_file = f"{corr_plot_path}/{hemi}_{area}_volume_increase.png"
- if op.exists(out_file):
- continue
- plot_brain_correlations(
- data,
- "increase",
- area_,
- f"{area_name} volume (mm³)",
- out_file,
- )
03_plot_results.ipynb at commit acc8c93, under GPL-3.0 · at the source
Overview
- Department of Psychiatry and Neurosciences CCM, Charité – Universitätsmedizin Berlin, Corporate Member of Freie Universität Berlin and Humboldt-Universität zu Berlin, Berlin, Germany
- German Center for Mental Health (DZPG), Partner Site Berlin-Potsdam, Berlin, Germany
- Institute of Psychology, University of Regensburg, Regensburg, Germany
- Department of Epidemiology and Preventive Medicine, University of Regensburg, Regensburg, Germany
Abstract
Background: Altered stress responses are closely linked to mental disorders, but the role of brain structure in acute cortisol responses to psychosocial stress remains underexplored, particularly in healthy individuals. Previous studies, with predominantly small samples, primarily focused on selected limbic regions and functional measures. Thus, this study investigates associations between brain structure and cortisol responses to psychosocial stress, exploring if hypothalamic–pituitary–a
Methods: Our study included 291 subjects (157 females, 18–62 years) and consisted of two parts. First, a confirmatory analysis examined associations between specific cortical surface area, thickness, and subcortical volume with stress-induced cortisol increases using Permutation Analysis of Linear Models (PALM). Second, we conducted an exploratory whole-brain vertex-wise analysis, followed by out-of-sample prediction of cortisol increases from structural measures.
Results: We found consistent negative associations between cingulate cortex (CC) sub-structures and acute cortisol increases. In PALM- and whole-brain analysis, a smaller surface area of the left rostral and caudal anterior cingulate cortex (cACC), posterior cingulate cortex, and right cACC were associated with higher cortisol stress responses, particularly in males. The left cACC surface area emerged as the most promising predictor in machine learning analyses. Additionally, other fronto-limbic structures were also associated with or predictive of acute cortisol reactivity.
Conclusions: Our findings demonstrate that cortical and subcortical structural measures, particularly smaller surface areas of the CC, predict acute hormonal stress responses. Notably, the left cACC emerged as the most consistent predictor, emphasizing its important role in stress reactivity.
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 6 matches between paragraphs and lines of code.
eminSerin/stress-fs-paper
acc8c93412d132e3e3c783d1030c95960009fa2b, 22 January 2026Availability: 1 check, the latest on 29 September 2026: the link answers
- 29 September 2026: the link answers
22 files
- 00_organize_data/
combine_aparcstats2table , Python, 26 lines.py - 00_organize_data/
combine_asegstats.py , Python, 10 lines - 00_organize_data/
remove_covariate.ipynb , Jupyter, 165 lines - 01_palm/
code/ , Jupyter, 177 lines, 1 match00_prepare_files.ipynb - 01_palm/
code/ , MATLAB, 78 lines01_run_palm.m - 01_palm/
code/ , Python, 88 lines02_extract_reports.py - 01_palm/
code/ , Jupyter, 214 lines, 2 matches03_plot_results.ipynb - 02_whole-brain/
code/ , Jupyter, 113 lines00_prepare-files.ipynb - 02_whole-brain/
code/ , Python, 37 lines01_smooth-fs.py - 02_whole-brain/
code/ , Shell, 17 lines02_preproc-fs.sh - 02_whole-brain/
code/ , Shell, 23 lines, 1 match03_run-glms.sh - 02_whole-brain/
code/ , Shell, 19 lines, 1 match04_run_cluster-sim.sh - 02_whole-brain/
code/ , Python, 21 lines05_create-reports.py - 02_whole-brain/
code/ , Python, 76 lines06_plot-surface.py - 02_whole-brain/
code/ , Python, 189 lines07_plot_cluster.py - 03_stress-ml/
code/ , Jupyter, 77 lines00_prepare_data.ipynb - 03_stress-ml/
code/ , Python, 659 lines, 1 match01_predict.py - 03_stress-ml/
code/ , Python, 76 lines01_predict_submit.py - 03_stress-ml/
code/ , Python, 60 lines02_prepare_results.py - 03_stress-ml/
code/ , Python, 167 lines03_plot_shap.py - LICENSE, License, 674 lines
- README.md, Text, 11 lines
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;
- 20 scripts, each with its path and the digest of its content;
- 6 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 data sets generated during and/
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 1, 29 September 2026: the first record
Recorded: type, language, journal, volume, pages, dates, 12 authors, 6 keywords, 13 MeSH terms, 1 funder, 107 references, 1 integrity notice.
Cite
This paper
Serin, E., Schill, L. S., Bärtl, C., Giglberger, M., Konzok, J., Peter, H. L., Speicher, N., Kreuzpointner, L., Kudielka, B. M., Wüst, S., Walter, H., & Henze, G.-I. (2026). Linking brain structure to stress reactivity: cingulate surface area predicts acute cortisol responses. Psychological medicine, 56, e96. https://
BibTeX
@article{serin2026linkin
author = {Serin, Emin and Schill, Lea Sophie and Bärtl, Christoph and Giglberger, Marina and Konzok, Julian and Peter, Hannah L. and Speicher, Nina and Kreuzpointner, Ludwig and Kudielka, Brigitte M. and Wüst, Stefan and Walter, Henrik and Henze, Gina-Isabelle},
title = {{Linking brain structure to stress reactivity: cingulate surface area predicts acute cortisol responses}},
journal = {Psychological medicine},
year = {2026},
month = apr,
volume = {56},
pages = {e96},
publisher = {Cambridge University Press},
issn = {0033-2917},
doi = {10.1017/
url = {https://
pmid = {41943954},
pmcid = {PMC13079226}
}
RIS
TY - JOUR
AU - Serin, Emin
AU - Schill, Lea Sophie
AU - Bärtl, Christoph
AU - Giglberger, Marina
AU - Konzok, Julian
AU - Peter, Hannah L.
AU - Speicher, Nina
AU - Kreuzpointner, Ludwig
AU - Kudielka, Brigitte M.
AU - Wüst, Stefan
AU - Walter, Henrik
AU - Henze, Gina-Isabelle
TI - Linking brain structure to stress reactivity: cingulate surface area predicts acute cortisol responses
T2 - Psychological medicine
J2 - Psychol Med
PY - 2026
DA - 2026/
VL - 56
SP - e96
SN - 0033-2917
PB - Cambridge University Press
DO - 10.1017/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1017/
"type": "article-journal",
"title": "Linking brain structure to stress reactivity: cingulate surface area predicts acute cortisol responses",
"container-title": "Psychological medicine",
"author": [
{
"family": "Serin",
"given": "Emin"
},
{
"family": "Schill",
"given": "Lea Sophie"
},
{
"family": "Bärtl",
"given": "Christoph"
},
{
"family": "Giglberger",
"given": "Marina"
},
{
"family": "Konzok",
"given": "Julian"
},
{
"family": "Peter",
"given": "Hannah L."
},
{
"family": "Speicher",
"given": "Nina"
},
{
"family": "Kreuzpointner",
"given": "Ludwig"
},
{
"family": "Kudielka",
"given": "Brigitte M."
},
{
"family": "Wüst",
"given": "Stefan"
},
{
"family": "Walter",
"given": "Henrik"
},
{
"family": "Henze",
"given": "Gina-Isabelle"
}
],
"container-title-short":
"volume": "56",
"page": "e96",
"DOI": "10.1017/
"PMID": "41943954",
"PMCID": "PMC13079226",
"ISSN": "0033-2917",
"publisher": "Cambridge University Press",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
4,
7
]
]
}
}
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-04140-0 [code]
- Predicting stress response trajectories: Differential contributions of limbic and prefrontal regions to cortisol and affective responses.Journal: Translational psychiatryIn common: OSF echja, 20 references, 9 authors
- [2] doi:10.1038/s41514-026-00456-9 [code]
- Exploring the link between body physiology and cognition: the role of the brain and aging.Journal: npj agingIn common: Nilearn, NiBabel, statsmodels, 6 other tools, 3 references
- [3] doi:10.21203/rs.3.rs-9914920/v1 [code]
- Prediction of cognitive performance by demographics, sleep, and brain morphometry: machine learning findings from ENIGMA-Sleep Working GroupJournal: Research Square (preprint)In common: SHAP, FreeSurfer, Nilearn, 8 other tools
- [4] doi:10.1038/s42003-026-09956-6 [code]
- Linking changes in sulcal morphometry to cognitive development from childhood to adolescence.Journal: Communications biologyIn common: Nilearn, NiBabel, statsmodels, 6 other tools, developmental, 2 references
- [5] doi:10.1038/s41467-026-71555-0 [code]
- A deep representation learning model to predict response to vagus nerve stimulation.Journal: Nature communicationsIn common: SHAP, FreeSurfer, NiBabel, 6 other tools, 2 references
- [6] 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. ClinicalIn common: SHAP, FreeSurfer, NiBabel, 7 other tools, 1 reference
- [7] doi:10.1162/imag.a.1362 [code]
- Human fMRI at 11.7T: Assessing feasibility, stability, and reliability on the Iseult scanner.Journal: Imaging neuroscience (Cambridge, Mass.)In common: FreeSurfer, Nilearn, NiBabel, 6 other tools, 2 references
- [8] doi:10.1007/s00234-026-04103-8 [code]
- Enhanced detection of subtle cortical abnormalities in focal epilepsy using 7 T MRI surface-based models and graph neural networks.Journal: NeuroradiologyIn common: FreeSurfer, Nilearn, NiBabel, 7 other tools, 1 reference
- [9] doi:10.7554/elife.107933 [code]
- Modality-agnostic decoding of vision and language from fMRI.Journal: eLifeIn common: FreeSurfer, Nilearn, NiBabel, 7 other tools, 1 reference
- [10] doi:10.1038/s41398-026-04157-5 [code]
- Association of glymphatic function with 40-Hz neural oscillations, systemic metabolic markers, and cognitive performance in healthy aging adults: An EEG and MRI study.Journal: Translational psychiatryIn common: FreeSurfer, Nilearn, NiBabel, 6 other tools, 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.
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: 1 repository of the authors' code, each at its verified commit and with its license, 20 scripts, and 6 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:6578fb4a3304487c…
Add the badge to its README
The badge links the code to this page. Copy one of these into the README of the paper's code: only you decide where it goes, and nothing is changed for you.
Markdown
[, paste the snippet at the top, then “Commit changes…” and, to review it first, “Create a new branch and start a pull request”. You open the pull request; OSCR asks for no permission.
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.
