OSCR

The neuroimaging correlates of depression established across six large-scale population datasets.

Code ↔ Paper

6 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 6 matches
  1. [1] § Results › Visual and somatomotor involvement in depression ↔ code_for_figures/meta_violin.py, lines 14–90 · score 0.80 · dorsal attention, spatial network, ventral attention, absolute meta, cortical surface area, box
  2. [2] § Results › Structural neuroimaging correlates of depression ↔ meta.py, lines 82–91 · score 0.68 · HCP Aging, HCP YA, HCP Development, Sadness, RDS, ANXPE
  3. [3] § Results › Visual and somatomotor involvement in depression ↔ ANOVA_notebook.ipynb, lines 1–75 · score 0.61 · dorsal attention, ventral attention, cortical surface area, gray matter volume, limbic, frontoparietal
  4. [4] § Methods › Statistical comparisons ↔ code_for_figures/meta_violin.py, lines 14–90 · score 0.58 · cortical surface area, cortical thickness, imaging metric, gray matter volume, functional connectivity, depression phenotype
  5. [5] § Methods › Statistical comparisons ↔ ANOVA_notebook.ipynb, lines 1–75 · score 0.53 · cortical surface area, cortical thickness, imaging metric, gray matter volume, ANOVAs, Yeo
  6. [6] § Methods › Nonlinearity ↔ Source_Code/regression.py, lines 116–194 · score 0.51 · sex, GAM, edof, freedom, covariates, variables

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

Python · 91 lines · 3.5 KB · MIT · 2 matches

  1. import os
  2. import pandas as pd
  3. import seaborn as sns
  4. import matplotlib.pyplot as plt
  5. df_volume = pd.read_csv("../meta_results_volume/meta_analysis_without_covars.csv")
  6. df_area = pd.read_csv("../meta_results_area/meta_analysis_without_covars.csv")
  7. df_thickness = pd.read_csv("../meta_results_thickness/meta_analysis_without_covars.csv")
  8. structural_dfs = [df_volume, df_area, df_thickness]
  9. # load functional data
  10. schaefer_partial_path = "../meta_analysis_without_covars_with_yeo.csv"
  11. schaefer_partial_df = pd.read_csv(schaefer_partial_path)
  12. yeo_mapping = {
  13. 1: "Visual",
  14. 2: "Somatomotor",
  15. 3: "Dorsal Attention",
  16. 4: "Ventral Attention",
  17. 5: "Limbic",
  18. 6: "Frontoparietal",
  19. 7: "Default",
  20. 8: "Subcortical"
  21. }
  22. schaefer_partial_df['Yeo'] = schaefer_partial_df['Yeo1']
  23. schaefer_partial_df['Yeo_name'] = schaefer_partial_df['Yeo1'].map(yeo_mapping)
  24. functional_dfs = [schaefer_partial_df]
  25. df_volume["estimate"] = df_volume["estimate"].abs()
  26. df_volume["imaging_metric"] = "Gray Matter Volume"
  27. df_area["estimate"] = df_area["estimate"].abs()
  28. df_area["imaging_metric"] = "Cortical Surface Area"
  29. df_thickness["estimate"] = df_thickness["estimate"].abs()
  30. df_thickness["imaging_metric"] = "Cortical Thickness"
  31. schaefer_partial_df["estimate"] = schaefer_partial_df["estimate"].abs()
  32. schaefer_partial_df["imaging_metric"] = "Functional Connectivity"
  33. df_total = pd.concat([df_volume, df_area, df_thickness, schaefer_partial_df], ignore_index=True)
  34. print(df_total.head())
  35. print(schaefer_partial_df.columns)
  36. print(schaefer_partial_df["phen_group"].unique())
  37. print(max(schaefer_partial_df["estimate"]))
  38. all_dfs = structural_dfs + functional_dfs
  39. df_total.loc[df_total['phen_group'] == 'Neuroticism', 'phen_group'] = 'Predisposition'
  40. df_total.loc[df_total['phen_group'] == 'Depression', 'phen_group'] = 'Severity'
  41. df_total['Depression phenotype']=df_total['phen_group']
  42. plt.figure(figsize=(10, 6))
  43. sns.violinplot(data=df_total, x='imaging_metric', y='estimate', hue='Depression phenotype', dodge=True,inner='box', palette=['lightgray','skyblue'])
  44. plt.xlabel('Imaging Metric Type')
  45. plt.ylabel('Absolute Meta-analysis Estimate')
  46. plt.ylim(-0.02,0.09)
  47. plt.tight_layout()
  48. #plt.show()
  49. plt.savefig("../FIGURE3.png", dpi=600)
  50. df_volume['estimate_abs'] = df_volume['estimate'].abs()
  51. df_area['estimate_abs'] = df_area['estimate'].abs()
  52. df_volume.loc[df_volume['phen_group'] == 'Neuroticism', 'phen_group'] = 'Predisposition'
  53. df_volume.loc[df_volume['phen_group'] == 'Depression', 'phen_group'] = 'Severity'
  54. df_volume['Depression phenotype']=df_volume['phen_group']
  55. df_area['Depression phenotype']=df_area['phen_group']
  56. plt.figure(figsize=(12, 6))
  57. sns.violinplot(data=df_volume, x='Yeo_name', y='estimate_abs', hue='Depression phenotype', dodge=True,palette=['lightgray','skyblue'])
  58. # plt.title('ARI Score Distribution by k')
  59. plt.xlabel('Spatial Network')
  60. plt.ylabel('Absolute Meta-analysis Estimate')
  61. plt.ylim(-0.02,0.1)
  62. plt.tight_layout()
  63. #plt.show()
  64. plt.savefig("../FIGURE4_A.png", dpi=600)
  65. df_area.loc[df_area['phen_group'] == 'Neuroticism', 'phen_group'] = 'Predisposition'
  66. df_area.loc[df_area['phen_group'] == 'Depression', 'phen_group'] = 'Severity'
  67. plt.figure(figsize=(12, 6))
  68. sns.violinplot(data=df_area, x='Yeo_name', y='estimate_abs', hue='Depression phenotype', dodge=True,palette=['lightgray','skyblue'])
  69. # plt.title('ARI Score Distribution by k')
  70. plt.xlabel('Spatial Network')
  71. plt.ylim(-0.02,0.1)
  72. plt.ylabel('Absolute Meta-analysis Estimate')
  73. plt.legend().remove()
  74. plt.tight_layout()
  75. #plt.show()
  76. plt.savefig("../FIGURE4-B.png", dpi=600)

meta_violin.py at commit 47955c3, under MIT · at the source

Overview

Authors: Kassandra Miyoko Hamilton1, Xiaoke Luo1, Ty Easley1,2, Fyzeen Ahmad1, Thomas Guo1, Setthanan Jarukasemkit1,3,4, Hailey Modi1, Samuel Naranjo Rincón1, Cabria Shelton1, Lyn Stahl1, Zijian Wang1, Yuling Zhu1, Petra Lenzini1, Deanna M. Barch1,5,6, Yvette I. Sheline7, Kayla Hannon1,8, Janine D. Bijsterbosch1
  1. Department of Radiology, Washington University School of Medicine,Saint Louis, MO USA
  2. Department of Mathematics, Washington University,Saint Louis, MO USA
  3. Division of Neurology, Department of Medicine, Faculty of Medicine Ramathibodi Hospital, Mahidol University,Bangkok, Thailand
  4. Cognitive Clinical and Computational Neuroscience (CCCN) Center of Excellence, Chulalongkorn University,Bangkok, Thailand
  5. Department of Psychiatry, Washington University School of Medicine,Saint Louis, MO USA
  6. Department of Psychological and Brain Sciences, Washington University,Saint Louis, MO USA
  7. Departments of Psychiatry, Neurology and Radiology Perelman School of Medicine, University of Pennsylvania,Philadelphia, PA USA
  8. McLean Imaging Center, Harvard Medical School,Boston, MA USA
Journal: Nature. Mental health, volume 4, issue 8, pages 1329-1341
Dates: received 7 August 2025; accepted 11 June 2026; published online 13 July 2026; in print 2026
Type: Research article · Language: English
License: CC BY-NC-ND
Identifiers: DOI 10.1038/s44220-026-00680-y · PMID 42564120 · PMCID PMC13442040 · OpenAlex W7168143105
Open access: hybrid, a free copy (OpenAlex)
Status: code verified
Categories: depression (population), methods / tools (subfield)
Methods: Statistics, Smoothing, state filtering, decompositions, Connectivity, fMRI & imaging, Preprocessing
Keywords: Emotion, Depression
Topic: Functional Brain Connectivity Studies (Cognitive Neuroscience, Neuroscience), according to OpenAlex
Funding: National Institute of Mental Health (MH128286-03S2, R01 MH128286, R01 MH132962); NIH (R25 NS130965-02)
Citations: not cited yet (Europe PMC); 92 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 6 matches between paragraphs and lines of code.

kassiehamilton/WAPIAW2024

License: MIT
State: the link answers, verified on 27 September 2026
Evidence: files inventoried
Commit: 47955c36c9da966b8dbb792a66d702f1ec9ee5a6, 20 April 2026
Languages: Python (6), Jupyter (1), R (1)
Size: 16 files, 8 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: pandas (6 files), NumPy (5 files), SciPy (4 files), statsmodels (3 files), Matplotlib (2 files), scikit-learn (2 files), seaborn (2 files), ggplot2 (1 file), ggseg (1 file), Pillow (1 file), tidyverse (1 file)
Availability: 1 check, the latest on 27 September 2026: the link answers
  • 27 September 2026: the link answers
10 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/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

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:

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://doi.org/10.1038/s44220-026-00680-y

BibTeX

@article{hamilton2026neuroimaging,
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/s44220-026-00680-y},
url = {https://doi.org/10.1038/s44220-026-00680-y},
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/07/13
VL - 4
IS - 8
SP - 1329
EP - 1341
SN - 2731-6076
PB - Springer Science+Business Media
DO - 10.1038/s44220-026-00680-y
UR - https://doi.org/10.1038/s44220-026-00680-y
LA - en
ER -

CSL-JSON

{
"id": "10.1038/s44220-026-00680-y",
"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": "Nat Ment Health",
"volume": "4",
"issue": "8",
"page": "1329-1341",
"DOI": "10.1038/s44220-026-00680-y",
"PMID": "42564120",
"PMCID": "PMC13442040",
"ISSN": "2731-6076",
"publisher": "Springer Science+Business Media",
"URL": "https://doi.org/10.1038/s44220-026-00680-y",
"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.7554/elife.108109 [code]
Multimodal MRI marker of cognition explains the association between cognition and mental health in the UK Biobank.
Journal: eLife
In common: ggplot2, seaborn, scikit-learn, 4 other tools, ukbiobank.ac.uk/enable-your-research/apply-for-access, 9 references
[2] doi:10.1038/s41467-026-75661-x [code]
A neural signature of sleep deprivation in the human brain.
Journal: Nature communications
In common: statsmodels, seaborn, scikit-learn, 4 other tools, ukbiobank.ac.uk/enable-your-research/apply-for-access, 5 references
[3] doi:10.1162/imag.a.1278 [code]
Young and old adult brains experience opposite effects of acute sleep restriction on the functional connectivity network.
Journal: Imaging neuroscience (Cambridge, Mass.)
In common: ggseg, Pillow, statsmodels, 7 other tools, 4 references
[4] doi:10.1038/s41467-026-74462-6 [code]
Neural similarity between choice options predicts group-level context effects.
Journal: Nature communications
In common: Pillow, statsmodels, seaborn, 5 other tools, 6 references
[5] doi:10.1038/s41467-026-75585-6 [code]
Brain network dynamics reflect psychiatric illness status and transdiagnostic symptom profiles across health and disease.
Journal: Nature communications
In common: seaborn, tidyverse, scikit-learn, 4 other tools, depression, 6 references
[6] doi:10.1038/s41380-026-03691-4 [code]
Breaking the norm: population-scale deviations of brain structure in depression and anxiety.
Journal: Molecular psychiatry
In common: statsmodels, seaborn, scikit-learn, 4 other tools, depression, 4 references
[7] doi:10.1038/s41380-026-03497-4 [code]
Transcriptome-informed brain cartography of polygenic risk and association with brain structure in major psychiatric disorders.
Journal: Molecular psychiatry
In common: ggseg, statsmodels, ggplot2, 5 other tools, depression, 3 references
[8] doi:10.1038/s41467-026-76011-7 [code]
Human cortex organizes dynamic co-fluctuations along the sensorimotor-association axis.
Journal: Nature communications
In common: ggseg, Pillow, ggplot2, 4 other tools, 5 references
[9] doi:10.1038/s41467-026-73153-6 [code]
Latent neural architecture organising shared aesthetic evaluations of visual artworks.
Journal: Nature communications
In common: Pillow, seaborn, scikit-learn, 4 other tools, 6 references
[10] doi:10.3389/fnagi.2026.1742371 [code]
Cross-sectional and longitudinal functional network alterations associated with subthreshold depressive symptoms in healthy older adults.
Journal: Frontiers in aging neuroscience
In common: scikit-learn, SciPy, Matplotlib, 1 other tool, depression, 7 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.

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.