OSCR

Functional connectome signature of general psychopathology in middle-aged and older adults: Evidence from multi-cohort, multi-ethnic analyses.

Code ↔ Paper

3 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 3 matches
  1. [1] § Results › General psychopathology brain network scores at baseline predict mortality risk ↔ scripts/mortality_prediction_cox.R, lines 1–62 · score 0.65 · Cox model, hazard ratio, education, sex, CI, brain score
  2. [2] § Methods › Brain connectivity patterns and clinical trajectories ↔ scripts/longitudinal_prediction.R, lines 108–186 · score 0.59 · post hoc, ANOVAs, FDR, Tukey, GAD, AUDIT
  3. [3] § Methods › Prediction of mortality risk ↔ scripts/mortality_prediction_cox.R, lines 1–62 · score 0.58 · hazard ratios, Cox, education, sex, mortality, brain score

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

R · 97 lines · 4.3 KB · no license · 2 matches

  1. library(survival)
  2. library(tidyverse)
  3. library(broom)
  4. library(gridExtra)
  5. library(lmtest)
  6. #load data
  7. brain = read.csv('synthetic_data/synthetic_cox_data.csv')
  8. res.cox <- coxph(Surv(time, survival) ~ age + sex + Years_of_education + TDI + brain_score_lv1+brain_score_lv2, data = brain)
  9. summary(res.cox)
  10. res.cox_base <- coxph(Surv(time, survival) ~ age + sex+ Years_of_education + TDI , data = brain)
  11. summary(res.cox_base)
  12. lrtest(res.cox_base,res.cox)
  13. # Define the desired order of terms
  14. desired_order <- c("brain_score_lv2", "brain_score_lv1", "TDI", "Years_of_education", "sex", "age")
  15. plot1 = coxph(Surv(time, survival) ~ age + sex + Years_of_education + TDI + brain_score_lv1 + brain_score_lv2, data = brain) %>%
  16. tidy() %>%
  17. arrange(term) %>%
  18. mutate(term = factor(term, levels = desired_order)) %>%
  19. mutate(upper = estimate + 1.96 * std.error,
  20. lower = estimate - 1.96 * std.error,
  21. color = ifelse((upper > 0 & lower < 0), "black", ifelse(estimate > 1, "green4", "red3"))) %>%
  22. mutate(across(all_of(c("estimate", "lower", "upper")), exp)) %>%
  23. ggplot(aes(estimate, term, color = color)) +
  24. geom_vline(xintercept = 1, color = "red",linetype = "dashed", alpha = 0.5) +
  25. geom_linerange(aes(xmin = lower, xmax = upper), size = 4, alpha = 0.5) +
  26. geom_point(size = 5) +
  27. theme_minimal(base_size = 16) +
  28. scale_color_identity() +
  29. xlim(c(0, 2)) +
  30. labs(y = NULL,
  31. x = "Hazard ratio estimate") +
  32. theme(text = element_text(size = 40, family = "sans"),
  33. legend.position = 'none',
  34. panel.border = element_blank(),
  35. axis.line = element_line(),
  36. panel.grid.major = element_blank(),
  37. panel.grid.minor = element_blank(),
  38. axis.text.x = element_text(colour = "black", size = 40),
  39. axis.text.y = element_text(colour = "black", size = 40)) +
  40. scale_y_discrete(labels = c("Years_of_education" = "Education", "sex" = "Sex",
  41. "brain_score_lv1" = "LV1 Brain score",
  42. "brain_score_lv2" = "LV2 Brain score",
  43. "age" = "Age"))
  44. cox_model = res.cox
  45. # Get model summary
  46. ## OR point estimate table
  47. desired_order2 <- c("age", "sex", "Years_of_education", "TDI", "brain_score_lv1", "brain_score_lv2")
  48. cox_summary <- tidy(res.cox, exponentiate = TRUE, conf.int = TRUE) %>%
  49. mutate(term = factor(term, levels = desired_order2)) %>%
  50. arrange(term) %>%
  51. mutate(upper = conf.high,
  52. lower = conf.low,
  53. color = ifelse((upper > 0 & lower < 0), "black", ifelse(estimate > 1, "green4", "red3"))) %>%
  54. mutate(CI = paste0(round(lower, 2), " - ", round(upper, 2)))
  55. table_base <- ggplot(cox_summary) +
  56. ylab(NULL) + xlab(" ") +
  57. theme(plot.title = element_text(hjust = 0.5, size=30),
  58. axis.text.x = element_text(color="white", hjust = -0.1, size = 25), ## This is used to help with alignment
  59. axis.line = element_blank(),
  60. axis.text.y = element_blank(),
  61. axis.ticks = element_blank(),
  62. axis.title.y = element_blank(),
  63. legend.position = "none",
  64. panel.background = element_blank(),
  65. panel.border = element_blank(),
  66. panel.grid.major = element_blank(),
  67. panel.grid.minor = element_blank(),
  68. plot.background = element_blank())
  69. tab1 <- table_base +
  70. labs(title = "space") +
  71. geom_text(aes(y = factor(rev(term), levels = desired_order2), x = 1, label = sprintf("%0.2f", round(estimate, digits = 2))),
  72. size = 13, vjust = -1.5,
  73. color = ifelse((cox_summary$lower < 1 & cox_summary$upper > 1), "black", "red")) + ## Adjusted condition for coloring
  74. ggtitle("HR") +
  75. theme(plot.title = element_text(margin = margin(b = 20),face = "bold")) ## Increase margin between title and text
  76. tab2 <- table_base +
  77. geom_text(aes(y = factor(rev(term), levels = desired_order2), x = 1, label = CI),
  78. size = 13, vjust = -1.5,
  79. color = ifelse((cox_summary$lower < 1 & cox_summary$upper > 1), "black", "red")) + ## Adjusted condition for coloring
  80. ggtitle("95% CI") +
  81. theme(plot.title = element_text(margin = margin(b = 20),face = "bold")) ## Increase margin between title and text
  82. # Arrange the plots and tables
  83. lay <- matrix(c(1,1,1,1,1,1,1,1,1,1,2,3,3), nrow = 1)
  84. grid.arrange(plot1, tab1, tab2, layout_matrix = lay)

mortality_prediction_cox.R at commit baa4810, no license · at the source

Overview

Authors: Thuan Tinh Nguyen1,2, Kwun Kei Ng1,2, Voon Hao Lew1,2, Janice Jue Xin Koi1,2, Wen Liang Loh1,2, Woon-Puay Koh2,3, Juan Helen Zhou1,2,4
  1. Centre for Sleep and Cognition & Centre for Translational Magnetic Resonance Research, Yong Loo Lin School of Medicine, National University of Singapore, Singapore, Singapore
  2. Healthy Longevity & Human Potential Translational Research Program and Department of Medicine, Yong Loo Lin School of Medicine, National University of Singapore, Singapore
  3. Institute for Human Development and Potential (IHDP), Agency for Science, Technology and Research (A*STAR), Singapore, Singapore
  4. Department of Electrical and Computer Engineering & Integrative Sciences and Engineering Programme (ISEP), NUS Graduate School, National University of Singapore, Singapore, Singapore
Journal: Imaging neuroscience (Cambridge, Mass.), volume 4, article IMAG.a.1308
Dates: received 1 February 2026; accepted 24 June 2026; published online 20 July 2026
Type: Research article · Language: English
License: CC BY
Identifiers: DOI 10.1162/imag.a.1308 · PMID 42483417 · PMCID PMC13386346 · OpenAlex W7167090296
Open access: diamond, a free copy (OpenAlex)
Status: code verified
Categories: fMRI (modality), human (organism)
Methods: Statistics, Machine learning, Preprocessing, Connectivity, fMRI & imaging, Smoothing, state filtering, decompositions
Keywords: functional connectivity, psychopathology, transdiagnostic, middle-aged and older adults, brain networks, UK Biobank
Topic: Functional Brain Connectivity Studies (Cognitive Neuroscience, Neuroscience), according to OpenAlex
Funding: National University of Singapore; Ministry of Education (MOE-T2EP40120-0007 & T2EP2-0223-0025, MOE-T2EP20220-0001); Ministry of Education, India; National University Health System; Medical Research Council; National Medical Research Council (CIRG21nov-0007, NMRC/OFLCG19May-0035, NMRC/CIRG/1485/2018, NMRC/CSA-SI/0007/2016, NMRC/MOH-00707-01, NMRC/CG/435 M009/2017-NUH/NUHS, CIRG21nov-0007, HLCA23Feb-0004, and OFIRG24Jul-0049, OFLCG19MAY-0035, NMRC/CSA-SI/0007/2016, NMRC/OFLCG19May‐0035, HLCA23Feb‐0004)
Citations: not cited yet (Europe PMC); 93 references in the paper

Abstract

Mental health disorders are increasingly prevalent in middle-aged and older adults, a population undergoing substantial brain network reorganization. We aimed to identify whole-brain connectivity patterns associated with transdiagnostic psychiatric dimensions and their links to mental health trajectories and mortality. We analyzed resting-state functional connectivity from the UK Biobank (N = 6529) using multivariate partial least squares analysis to identify latent variables linking brain networks with mental health symptoms. Associations with longitudinal mental health outcomes and mortality risk were examined. Validation of the psychopathology-linked connectome constructs was conducted in HCP-Aging (N = 697) and a Singapore-based community dwelling elderly cohort known as the SG70 Study (N = 943). Two robust latent variables emerged. The first represented a general psychopathology factor (p = 0.0006, 28.0% of the overall covariance), marked by altered connectivity in the somatomotor and default mode networks. The second (p < 0.0001, 17.2% of the overall covariance) distinguished affective disorders from alcohol use disorder via attentional and subcortical network patterns. Importantly, the general psychopathology brain scores differentiated groups with varying future depression trajectories (F(3) = 16.47, p < 0.0001) and were linked to elevated mortality risk (HR = 1.31, CI [1.06–1.62], p = 0.014). This same connectivity signature was also associated with general mental health outcomes in HCP-Aging (rho = 0.13, p = 0.015) and depression in SG70 (rho = 0.07, p = 0.031), demonstrating cross-country and multiethnic robustness. Our findings reveal a stable, interpretable brain connectome-based signature of general psychopathology in later life. This work provides insight into mechanisms of vulnerability and suggests that brain-based markers may help indicate risk and differentiate patterns of symptom persistence, transition, and remission across disorders in aging populations.

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 3 matches between paragraphs and lines of code.

hzlab/2026_Nguyen_ImagingNeuroscience_Connectome_Psychopathology

License: none: the authors keep all their rights
State: the link answers, verified on 27 September 2026
Evidence: files inventoried
Commit: baa4810611f54a1777d0fae89a2e47f260949d39, 23 April 2026
Languages: MATLAB (2), R (2)
Size: 24 files, 4 scripts
Software Heritage: not archived
Found in: “Data and Code Availability”
Holds: README
Not found: license file, CITATION.cff, environment file, tests, continuous integration, documentation
Tools: tidyverse (2 files), broom (1 file), ggplot2 (1 file), Statistics and Machine Learning Toolbox (1 file), survival (1 file)
Availability: 1 check, the latest on 27 September 2026: the link answers
  • 27 September 2026: the link answers
5 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:

  • 1 repository of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
  • 4 scripts, each with its path and the digest of its content;
  • 3 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.

Data and Code Availability

The data used in this study were obtained from the UK Biobank and the Human Connectome Project in Aging (HCP-Aging). These data are available to qualified researchers through application to the respective data access procedures. All code used in these analyses is publicly available on GitHub at https://github.com/hzlab/2026_Nguyen_ImagingNeuroscience_Connectome_Psychopathology

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 2, 28 September 2026

  • Funding: added National University of Singapore; Ministry of Education - Singapore: MOE-T2EP40120-0007 & T2EP2-0223-0025, MOE-T2EP20220-0001; Ministry of Education, India; National University Health System; Medical Research Council; National Medical Research Council: CIRG21nov-0007, NMRC/OFLCG19May-0035, NMRC/CIRG/1485/2018, NMRC/CSA-SI/0007/2016, NMRC/MOH-00707-01, NMRC/CG/435 M009/2017-NUH/NUHS, CIRG21nov-0007, HLCA23Feb-0004, and OFIRG24Jul-0049, OFLCG19MAY-0035, NMRC/CSA-SI/0007/2016, NMRC/OFLCG19May‐0035, HLCA23Feb‐0004

Version 1, 27 September 2026: the first record

Recorded: type, language, journal, volume, pages, dates, 7 authors, 6 keywords, 92 references.

Cite

This paper

Nguyen, T. T., Ng, K. K., Lew, V. H., Koi, J. J. X., Loh, W. L., Koh, W.-P., & Zhou, J. H. (2026). Functional connectome signature of general psychopathology in middle-aged and older adults: Evidence from multi-cohort, multi-ethnic analyses. Imaging neuroscience (Cambridge, Mass.), 4, IMAG.a.1308. https://doi.org/10.1162/imag.a.1308

BibTeX

@article{nguyen2026functional,
author = {Nguyen, Thuan Tinh and Ng, Kwun Kei and Lew, Voon Hao and Koi, Janice Jue Xin and Loh, Wen Liang and Koh, Woon-Puay and Zhou, Juan Helen},
title = {{Functional connectome signature of general psychopathology in middle-aged and older adults: Evidence from multi-cohort, multi-ethnic analyses}},
journal = {Imaging neuroscience (Cambridge, Mass.)},
year = {2026},
month = jul,
volume = {4},
pages = {IMAG.a.1308},
publisher = {MIT Press},
issn = {2837-6056},
doi = {10.1162/imag.a.1308},
url = {https://doi.org/10.1162/imag.a.1308},
pmid = {42483417},
pmcid = {PMC13386346}
}

RIS

TY - JOUR
AU - Nguyen, Thuan Tinh
AU - Ng, Kwun Kei
AU - Lew, Voon Hao
AU - Koi, Janice Jue Xin
AU - Loh, Wen Liang
AU - Koh, Woon-Puay
AU - Zhou, Juan Helen
TI - Functional connectome signature of general psychopathology in middle-aged and older adults: Evidence from multi-cohort, multi-ethnic analyses
T2 - Imaging neuroscience (Cambridge, Mass.)
J2 - Imaging Neurosci (Camb)
PY - 2026
DA - 2026/07/20
VL - 4
SP - IMAG.a.1308
SN - 2837-6056
PB - MIT Press
DO - 10.1162/imag.a.1308
UR - https://doi.org/10.1162/imag.a.1308
LA - en
ER -

CSL-JSON

{
"id": "10.1162/imag.a.1308",
"type": "article-journal",
"title": "Functional connectome signature of general psychopathology in middle-aged and older adults: Evidence from multi-cohort, multi-ethnic analyses",
"container-title": "Imaging neuroscience (Cambridge, Mass.)",
"author": [
{
"family": "Nguyen",
"given": "Thuan Tinh"
},
{
"family": "Ng",
"given": "Kwun Kei"
},
{
"family": "Lew",
"given": "Voon Hao"
},
{
"family": "Koi",
"given": "Janice Jue Xin"
},
{
"family": "Loh",
"given": "Wen Liang"
},
{
"family": "Koh",
"given": "Woon-Puay"
},
{
"family": "Zhou",
"given": "Juan Helen"
}
],
"container-title-short": "Imaging Neurosci (Camb)",
"volume": "4",
"page": "IMAG.a.1308",
"DOI": "10.1162/imag.a.1308",
"PMID": "42483417",
"PMCID": "PMC13386346",
"ISSN": "2837-6056",
"publisher": "MIT Press",
"URL": "https://doi.org/10.1162/imag.a.1308",
"language": "en",
"issued": {
"date-parts": [
[
2026,
7,
20
]
]
}
}

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, 10 references
[2] doi:10.1371/journal.pbio.3003738 [code]
Altered salience network structure-function integration underlies the decline in cognitive flexibility during aging.
Journal: PLoS biology
In common: Statistics and Machine Learning Toolbox, fMRI, 5 references, author Juan Helen Zhou
[3] doi:10.1038/s44220-026-00680-y [code]
The neuroimaging correlates of depression established across six large-scale population datasets.
Journal: Nature. Mental health
In common: ggplot2, tidyverse, 8 references
[4] doi:10.1038/s41593-026-02359-0 [code]
The cross-site reproducibility of MRI morphometric phenotypes in psychiatric disorders.
Journal: Nature neuroscience
In common: Statistics and Machine Learning Toolbox, 4 references, author Juan Helen Zhou
[5] doi:10.1002/jcv2.70135 [code]
Alterations in resting-state functional connectivity relate to psychopathology trajectories during emerging adolescence.
Journal: JCPP advances
In common: broom, ggplot2, tidyverse, fMRI, 4 references
[6] doi:10.1038/s41467-026-73072-6 [code]
Mapping the spatiotemporal continuum of structural connectivity development across the human connectome in youth.
Journal: Nature communications
In common: ggplot2, tidyverse, 6 references
[7] doi:10.1186/s40337-026-01671-1 [code]
Aberrant large- and mesoscale network segregation and integration in bulimia nervosa.
Journal: Journal of eating disorders
In common: broom, Statistics and Machine Learning Toolbox, ggplot2, 1 other tool, fMRI, 3 references
[8] 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 aging
In common: ggplot2, tidyverse, 5 references
[9] doi:10.7554/elife.103097 [code]
Canonical neurodevelopmental trajectories of structural and functional manifolds.
Journal: eLife
In common: Statistics and Machine Learning Toolbox, ggplot2, tidyverse, 4 references
[10] doi:10.1038/s41467-026-71719-y [code]
Brain functional-structural gradient coupling reflects development, behavior and genetic influences.
Journal: Nature communications
In common: Statistics and Machine Learning Toolbox, ggplot2, tidyverse, 4 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.