The neuroimaging correlates of depression established across six large-scale population datasets.
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 6 matches
- [1] § Results › Visual and somatomotor involvement in depression ↔ code_for_figures/meta_violin.py, lines 14 to 90 · score 0.80 · dorsal attention, spatial network, ventral attention, absolute meta, cortical surface area, box · block
oscr:b:D292EGX3H76QB-M· Report a mismatch - [2] § Results › Structural neuroimaging correlates of depression ↔ meta.py, lines 82 to 91 · score 0.68 · HCP Aging, HCP YA, HCP Development, Sadness, RDS, ANXPE · block
oscr:b:HF602FC0YGEQ5-M· Report a mismatch - [3] § Results › Visual and somatomotor involvement in depression ↔ ANOVA_notebook.ipynb, lines 1 to 75 · score 0.61 · dorsal attention, ventral attention, cortical surface area, gray matter volume, limbic, frontoparietal · Report a mismatch
- [4] § Methods › Statistical comparisons ↔ code_for_figures/meta_violin.py, lines 14 to 90 · score 0.58 · cortical surface area, cortical thickness, imaging metric, gray matter volume, functional connectivity, depression phenotype · block
oscr:b:D292EGX3H76QB-M· Report a mismatch - [5] § Methods › Statistical comparisons ↔ ANOVA_notebook.ipynb, lines 1 to 75 · score 0.53 · cortical surface area, cortical thickness, imaging metric, gray matter volume, ANOVAs, Yeo · Report a mismatch
- [6] § Methods › Nonlinearity ↔ Source_Code/regression.py, lines 116 to 194 · score 0.51 · sex, GAM, edof, freedom, covariates, variables · block
oscr:b:BMD9WEQ426Z80-I· 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
Python · 91 lines · 3.5 KB · MIT · 2 matches
- import os
- import pandas as pd
- import seaborn as sns
- import matplotlib.pyplot as plt
- df_volume = pd.read_csv("../meta_results_volume/meta_analysis_without_covars.csv")
- df_area = pd.read_csv("../meta_results_area/meta_analysis_without_covars.csv")
- df_thickness = pd.read_csv("../meta_results_thickness/meta_analysis_without_covars.csv")
- structural_dfs = [df_volume, df_area, df_thickness]
- # load functional data
- schaefer_partial_path = "../meta_analysis_without_covars_with_yeo.csv"
- schaefer_partial_df = pd.read_csv(schaefer_partial_path)
- yeo_mapping = {
- 1: "Visual",
- 2: "Somatomotor",
- 3: "Dorsal Attention",
- 4: "Ventral Attention",
- 5: "Limbic",
- 6: "Frontoparietal",
- 7: "Default",
- 8: "Subcortical"
- }
- schaefer_partial_df['Yeo'] = schaefer_partial_df['Yeo1']
- schaefer_partial_df['Yeo_name'] = schaefer_partial_df['Yeo1'].map(yeo_mapping)
- functional_dfs = [schaefer_partial_df]
- df_volume["estimate"] = df_volume["estimate"].abs()
- df_volume["imaging_metric"] = "Gray Matter Volume"
- df_area["estimate"] = df_area["estimate"].abs()
- df_area["imaging_metric"] = "Cortical Surface Area"
- df_thickness["estimate"] = df_thickness["estimate"].abs()
- df_thickness["imaging_metric"] = "Cortical Thickness"
- schaefer_partial_df["estimate"] = schaefer_partial_df["estimate"].abs()
- schaefer_partial_df["imaging_metric"] = "Functional Connectivity"
- df_total = pd.concat([df_volume, df_area, df_thickness, schaefer_partial_df], ignore_index=True)
- print(df_total.head())
- print(schaefer_partial_df.columns)
- print(schaefer_partial_df["phen_group"].unique())
- print(max(schaefer_partial_df["estimate"]))
- all_dfs = structural_dfs + functional_dfs
- df_total.loc[df_total['phen_group'] == 'Neuroticism', 'phen_group'] = 'Predisposition'
- df_total.loc[df_total['phen_group'] == 'Depression', 'phen_group'] = 'Severity'
- df_total['Depression phenotype']=df_total['phen_group']
- plt.figure(figsize=(10, 6))
- sns.violinplot(data=df_total, x='imaging_metric', y='estimate', hue='Depression phenotype', dodge=True,inner='box', palette=['lightgray','skyblue'])
- plt.xlabel('Imaging Metric Type')
- plt.ylabel('Absolute Meta-analysis Estimate')
- plt.ylim(-0.02,0.09)
- plt.tight_layout()
- #plt.show()
- plt.savefig("../FIGURE3.png", dpi=600)
- df_volume['estimate_abs'] = df_volume['estimate'].abs()
- df_area['estimate_abs'] = df_area['estimate'].abs()
- df_volume.loc[df_volume['phen_group'] == 'Neuroticism', 'phen_group'] = 'Predisposition'
- df_volume.loc[df_volume['phen_group'] == 'Depression', 'phen_group'] = 'Severity'
- df_volume['Depression phenotype']=df_volume['phen_group']
- df_area['Depression phenotype']=df_area['phen_group']
- plt.figure(figsize=(12, 6))
- sns.violinplot(data=df_volume, x='Yeo_name', y='estimate_abs', hue='Depression phenotype', dodge=True,palette=['lightgray','skyblue'])
- # plt.title('ARI Score Distribution by k')
- plt.xlabel('Spatial Network')
- plt.ylabel('Absolute Meta-analysis Estimate')
- plt.ylim(-0.02,0.1)
- plt.tight_layout()
- #plt.show()
- plt.savefig("../FIGURE4_A.png", dpi=600)
- df_area.loc[df_area['phen_group'] == 'Neuroticism', 'phen_group'] = 'Predisposition'
- df_area.loc[df_area['phen_group'] == 'Depression', 'phen_group'] = 'Severity'
- plt.figure(figsize=(12, 6))
- sns.violinplot(data=df_area, x='Yeo_name', y='estimate_abs', hue='Depression phenotype', dodge=True,palette=['lightgray','skyblue'])
- # plt.title('ARI Score Distribution by k')
- plt.xlabel('Spatial Network')
- plt.ylim(-0.02,0.1)
- plt.ylabel('Absolute Meta-analysis Estimate')
- plt.legend().remove()
- plt.tight_layout()
- #plt.show()
- plt.savefig("../FIGURE4-B.png", dpi=600)
meta_violin.py at commit 47955c3, under MIT · at the source
Overview
- Department of Radiology, Washington University School of Medicine,Saint Louis, MO USA
- Department of Mathematics, Washington University,Saint Louis, MO USA
- Division of Neurology, Department of Medicine, Faculty of Medicine Ramathibodi Hospital, Mahidol University,Bangkok, Thailand
- Cognitive Clinical and Computational Neuroscience (CCCN) Center of Excellence, Chulalongkorn University,Bangkok, Thailand
- Department of Psychiatry, Washington University School of Medicine,Saint Louis, MO USA
- Department of Psychological and Brain Sciences, Washington University,Saint Louis, MO USA
- Departments of Psychiatry, Neurology and Radiology Perelman School of Medicine, University of Pennsylvania,Philadelphia, PA USA
- McLean Imaging Center, Harvard Medical School,Boston, MA USA
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 6 matches between paragraphs and lines of code.
kassiehamilton/WAPIAW2024
47955c36c9da966b8dbb792a66d702f1ec9ee5a6, 20 April 2026Availability: 1 check, the latest on 27 September 2026: the link answers
- 27 September 2026: the link answers
10 files
- ANOVA_notebook.ipynb, Jupyter, 366 lines, 2 matches
- Source_Code/
regression.py , Python, 403 lines, 1 match - Source_Code/
utils_py/ , Python, 246 linesanalysis.py - code_for_figures/
brain_visual.Rmd , R, 229 lines - code_for_figures/
combine_figures.py , Python, 118 lines - code_for_figures/
meta_violin.py , Python, 91 lines, 2 matches - heterogeneity_test.py, Python, 186 lines
- meta.py, Python, 211 lines, 1 match
- LICENSE, License, 21 lines
- README.md, Text, 86 lines
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: kassiehamilton/
WAPIAW2024
Read it in the paper: doi.org/10.1038/s44220-026-00680-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:
- 1 repository of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
- 8 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
- ukbiobank.ac.uk/
enable-your-research/ , at UK Biobank; found in “Data availability”apply-for-access
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: ukbiobank.ac.uk/
enable-your-research/ apply-for-access
Read it in the paper: doi.org/10.1038/s44220-026-00680-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 2, 28 September 2026
- Publisher: n/a → Springer Science+Business Media
Version 1, 27 September 2026: the first record
Recorded: type, language, journal, volume, issue, pages, dates, 17 authors, 2 keywords, 2 funders, 90 references.
Cite
This paper
Hamilton, K. M., Luo, X., Easley, T., Ahmad, F., Guo, T., Jarukasemkit, S., Modi, H., Naranjo Rincón, S., Shelton, C., Stahl, L., Wang, Z., Zhu, Y., Lenzini, P., Barch, D. M., Sheline, Y. I., Hannon, K., & Bijsterbosch, J. D. (2026). The neuroimaging correlates of depression established across six large-scale population datasets. Nature. Mental health, 4(8), 1329-1341. https://
BibTeX
@article{hamilton2026neu
author = {Hamilton, Kassandra Miyoko and Luo, Xiaoke and Easley, Ty and Ahmad, Fyzeen and Guo, Thomas and Jarukasemkit, Setthanan and Modi, Hailey and Naranjo Rincón, Samuel and Shelton, Cabria and Stahl, Lyn and Wang, Zijian and Zhu, Yuling and Lenzini, Petra and Barch, Deanna M. and Sheline, Yvette I. and Hannon, Kayla and Bijsterbosch, Janine D.},
title = {{The neuroimaging correlates of depression established across six large-scale population datasets}},
journal = {Nature. Mental health},
year = {2026},
month = jul,
volume = {4},
number = {8},
pages = {1329--1341},
publisher = {Springer Science+Business Media},
issn = {2731-6076},
doi = {10.1038/
url = {https://
pmid = {42564120},
pmcid = {PMC13442040}
}
RIS
TY - JOUR
AU - Hamilton, Kassandra Miyoko
AU - Luo, Xiaoke
AU - Easley, Ty
AU - Ahmad, Fyzeen
AU - Guo, Thomas
AU - Jarukasemkit, Setthanan
AU - Modi, Hailey
AU - Naranjo Rincón, Samuel
AU - Shelton, Cabria
AU - Stahl, Lyn
AU - Wang, Zijian
AU - Zhu, Yuling
AU - Lenzini, Petra
AU - Barch, Deanna M.
AU - Sheline, Yvette I.
AU - Hannon, Kayla
AU - Bijsterbosch, Janine D.
TI - The neuroimaging correlates of depression established across six large-scale population datasets
T2 - Nature. Mental health
J2 - Nat Ment Health
PY - 2026
DA - 2026/
VL - 4
IS - 8
SP - 1329
EP - 1341
SN - 2731-6076
PB - Springer Science+Business Media
DO - 10.1038/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1038/
"type": "article-journal",
"title": "The neuroimaging correlates of depression established across six large-scale population datasets",
"container-title": "Nature. Mental health",
"author": [
{
"family": "Hamilton",
"given": "Kassandra Miyoko"
},
{
"family": "Luo",
"given": "Xiaoke"
},
{
"family": "Easley",
"given": "Ty"
},
{
"family": "Ahmad",
"given": "Fyzeen"
},
{
"family": "Guo",
"given": "Thomas"
},
{
"family": "Jarukasemkit",
"given": "Setthanan"
},
{
"family": "Modi",
"given": "Hailey"
},
{
"family": "Naranjo Rincón",
"given": "Samuel"
},
{
"family": "Shelton",
"given": "Cabria"
},
{
"family": "Stahl",
"given": "Lyn"
},
{
"family": "Wang",
"given": "Zijian"
},
{
"family": "Zhu",
"given": "Yuling"
},
{
"family": "Lenzini",
"given": "Petra"
},
{
"family": "Barch",
"given": "Deanna M."
},
{
"family": "Sheline",
"given": "Yvette I."
},
{
"family": "Hannon",
"given": "Kayla"
},
{
"family": "Bijsterbosch",
"given": "Janine D."
}
],
"container-title-short":
"volume": "4",
"issue": "8",
"page": "1329-1341",
"DOI": "10.1038/
"PMID": "42564120",
"PMCID": "PMC13442040",
"ISSN": "2731-6076",
"publisher": "Springer Science+Business Media",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
7,
13
]
]
}
}
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.1093/gigascience/giae119 [code]
- Opaque ontology: neuroimaging classification of ICD-10 diagnostic groups in the UK Biobank.Journal: GigaScienceIn common: ukbiobank.ac.uk/enable-your-research/apply-for-access, 6 references, 2 authors
- [2] doi:10.1016/j.ynirp.2023.100163 [code]
- Population modeling with machine learning can enhance measures of mental health - Open-data replication.Journal: Neuroimage. ReportsIn common: ggplot2, scikit-learn, pandas, 3 other tools, ukbiobank.ac.uk/enable-your-research/apply-for-access, 6 references, author Janine D. Bijsterbosch
- [3] doi:10.1017/s0033291724003167 [code]
- Higher amplitudes of visual networks are associated with trait- but not state-depression.Journal: Psychological medicineIn common: depression, 11 references, author Janine D. Bijsterbosch
- [4] doi:10.1016/j.bpsgos.2025.100473 [code]
- Comparing Data-Driven Subtypes of Depression Informed by Clinical and Neuroimaging Data: A Registered Report.Journal: Biological psychiatry global open scienceIn common: scikit-learn, pandas, SciPy, 1 other tool, ukbiobank.ac.uk/enable-your-research/apply-for-access, depression, 1 reference, 2 authors
- [5] doi:10.7554/elife.108109 [code]
- Multimodal MRI marker of cognition explains the association between cognition and mental health in the UK Biobank.Journal: eLifeIn common: ggplot2, seaborn, scikit-learn, 4 other tools, ukbiobank.ac.uk/enable-your-research/apply-for-access, 9 references
- [6] doi:10.1038/s41467-023-43737-7 [code]
- Opposing brain signatures of sleep in task-based and resting-state conditions.Journal: Nature communicationsIn common: Pillow, statsmodels, seaborn, 5 other tools, ukbiobank.ac.uk/enable-your-research/apply-for-access, depression, 6 references
- [7] doi:10.1038/s42003-024-06361-9 [code]
- Neural correlates of obesity across the lifespan.Journal: Communications biologyIn common: ggseg, Pillow, statsmodels, 7 other tools, 7 references
- [8] doi:10.1016/j.biopsych.2025.04.025 [code]
- Parsing Clinical and Neurobiological Sources of Heterogeneity in Depression.Journal: Biological psychiatryIn common: ukbiobank.ac.uk/enable-your-research/apply-for-access, depression, 5 references, author Kayla Hannon
- [9] doi:10.1016/j.neuroimage.2023.120044 [code]
- Comparison between gradients and parcellations for functional connectivity prediction of behavior.Journal: NeuroImageIn common: scikit-learn, SciPy, Matplotlib, 1 other tool, 9 references, author Janine D. Bijsterbosch
- [10] doi:10.1002/hbm.25690 [code]
- Mental health in the UK Biobank: A roadmap to self-report measures and neuroimaging correlates.Journal: Human brain mappingIn common: ukbiobank.ac.uk/enable-your-research/apply-for-access, depression, methods / tools, 5 references, author Janine D. Bijsterbosch
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, 8 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:c03a10bf38fd608e…
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/s44220-026-00680-y)
<!-- oscr-badge:end -->reStructuredText
.. oscr-badge:start
.. image:: https://openscicode.org/badge/doi/10.1038/s44220-026-00680-y.svg
:target: https://openscicode.org/badge/doi/10.1038/s44220-026-00680-y
:alt: OSCR
.. oscr-badge:endHTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.1038/s44220-026-00680-y"><img src="https://openscicode.org/badge/doi/10.1038/s44220-026-00680-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.
