Metabolic syndrome severity and the energetic cost of brain network transitions: A normative modeling study of accelerated brain aging.
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 10 matches
- [1] § Results › MetS-sensitive cognitive states based on network control alterations ↔ cognitive_map_generation.py, lines 9 to 66 · score 0.78 · mental imagery, memory retrieval, working memory, verbal, navigation, inference · block
oscr:b:P6HG9BEZA5CFS-C· Report a mismatch - [2] § Methods › Normative modeling of control energy across canonical brain networks: Estimating brain age gap (BAG) ↔ normative_modeling.py, lines 15 to 33 · score 0.73 · PCNtoolkit, normative modeling, BLR models, cubic, splines, age · block
oscr:b:G9BN819RV4G7P-7· Report a mismatch - [3] § Methods › Normative modeling of control energy across canonical brain networks: Estimating brain age gap (BAG) ↔ normative_modeling.py, lines 124 to 151 · score 0.72 · household income, normative modeling, quintile, Townsend, alcohol, smoking · block
oscr:b:CHTXRVDKZA7A6-Z· Report a mismatch - [4] § Methods › Spatial colocalization of network controllability deviations with PET and cell-type gene expression ↔ colocalization.py, lines 58 to 81 · score 0.69 · Allen Human Brain, randomization, gene, cells, colocalization, permutation · block
oscr:b:APPJ30E2HF2ZV-N· Report a mismatch - [5] § Results › Relationship between the activation energies of eight canonical brain networks and metabolic indicators ↔ PLSC.py, lines 15 to 33 · score 0.69 · latent variables, HbA1c, waist circumference, variance, PLSC, triglycerides · block
oscr:b:NRZGWNFCPDHEP-V· Report a mismatch - [6] § Methods › Normative modeling of control energy across canonical brain networks: Estimating brain age gap (BAG) ↔ brain_age_gap.py, lines 33 to 45 · score 0.69 · predicted age, age corrected, fit, gap, splines, BAGs · block
oscr:b:T6DJAR427P8F0-6· Report a mismatch - [7] § Methods › Spatial colocalization of network controllability deviations with PET and cell-type gene expression ↔ colocalization.py, lines 58 to 81 · score 0.68 · Allen Human Brain, colocalization, NiSpace, MetS, gene, cell · block
oscr:b:APPJ30E2HF2ZV-N· Report a mismatch - [8] § Methods › Cardiometabolic and cognitive assessment ↔ tmap_generation.py, lines 3 to 28 · score 0.64 · HbA1c, waist circumference, diastolic, systolic, triglycerides, HDL · block
oscr:b:MYVVJ4ZPF2EH9-9· Report a mismatch - [9] § Methods › Cardiometabolic and cognitive assessment ↔ multiple_regression.py, lines 92 to 109 · score 0.59 · HbA1c, waist circumference, DBP, SBP, triglycerides, HDL · block
oscr:b:AW4HHQ2P8A1CS-3· Report a mismatch - [10] § Results › Relationship between the activation energies of eight canonical brain networks and metabolic indicators ↔ PLSC.py, lines 15 to 33 · score 0.56 · latent variable, Bootstrap, BP, Variance, PLSC, permutation · block
oscr:b:NRZGWNFCPDHEP-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
Python · 180 lines · 6.6 KB · no license · 2 matches
- import pandas as pd
- import numpy as np
- import os
- from patsy import dmatrix
- from pcntoolkit.normative import estimate
- cohort = pd.read_csv('cohort.csv')
- activation = pd.read_csv('activation.csv') ## controllability.csv, metabolic_feature.csv
- data = pd.merge(cohort, activation, how='inner', on='eid')
- data.to_csv('whole_data.csv', index=False)
- ability = [col for col in activation.columns if col != 'eid']
- # ability = ['BMI', 'Weight', 'Waist circumference', 'Hip circumference', 'HbA1c', 'HDL', 'LDL', 'Cholesterol', 'Triglycerides', 'Systolic BP', 'Diastolic BP']
- """
- ==========================================================================
- UKB Normative Modeling Pipeline
- ---------------------------------------------------------------------------
- ✓ preprocessing: sex, income, alcohol, education, ethnity(White vs Non-White),
- Townsend quintile(1–5), smoking/center one-hot
- ✓ spline(age) : cubic B-spline, df=5, no intercept
- ✓ covariates : covariates.txt
- ✓ site (dummy) : site.txt
- ✓ response : <network>_response.txt
- ✓ BLR modeling : PCNtoolkit
- ==========================================================================
- """
- # === [0] Basic setting & module =====================================================
- import os
- import numpy as np
- import pandas as pd
- from patsy import dmatrix
- from pcntoolkit.normative import estimate
- # -----------------------------------------------------------------
- DATA_FILE = "whole_data.csv"
- OUT_DIR = "blr_spline_pcntoolkit_outputs"
- NETWORKS = ability
- os.makedirs(OUT_DIR, exist_ok=True)
- # === [1] Import data ======================================================
- df = pd.read_csv(DATA_FILE)
- # === [2] NaN processing ------------------------------------------------------
- def _to_nan(x):
- if isinstance(x, str) and x.strip() in ["Do not know", "Prefer not to answer"]:
- return np.nan
- return x
- cols_str = ['sex', 'household_income', 'alcohol',
- 'education', 'smoking', 'center', 'ethnity']
- df[cols_str] = df[cols_str].applymap(_to_nan)
- # === [3] Individual covariate encoding ---------------------------------------------------
- # 3-1) sex (0 = Male, 1 = Female) --------------------------------------------
- df['sex'] = df['sex'].map({'Male': 0, 'Female': 1})
- # 3-2) household_income (ordinal 0–4) ----------------------------------------
- income_order = {
- 'Less than 18,000': 0, '18,000 to 30,999': 1,
- '31,000 to 51,999': 2, '52,000 to 100,000': 3,
- 'Greater than 100,000': 4
- }
- df['household_income'] = df['household_income'].map(income_order)
- df['household_income'].fillna(int(df['household_income'].median()), inplace=True)
- # 3-3) alcohol (ordinal 0–5) --------------------------------------------------
- alcohol_order = {
- 'Never': 0, 'Special occasions only': 1, 'One to three times a month': 2,
- 'Once or twice a week': 3, 'Three or four times a week': 4,
- 'Daily or almost daily': 5
- }
- df['alcohol'] = df['alcohol'].map(alcohol_order)
- df['alcohol'].fillna(int(df['alcohol'].median()), inplace=True)
- # 3-4) education (0–3) --------------------------------------------------------
- def simplify_education(text):
- if pd.isna(text): return np.nan
- if 'College or University degree' in text: return 3
- if 'A levels/AS levels' in text: return 2
- if 'O levels/GCSEs' in text: return 1
- if 'None of the above' in text: return 0
- return 1
- df['education'] = df['education'].apply(simplify_education)
- df['education'].fillna(int(df['education'].median()), inplace=True)
- # 3-5) ethnity → White vs Non-White (binary) ----------------------------------
- white_cats = ['British', 'Irish', 'Any other white background', 'White']
- df['is_nonwhite'] = df['ethnity'].apply(
- lambda x: 1.0 if pd.notna(x) and x not in white_cats
- else 0.0 if pd.notna(x) and x in white_cats
- else np.nan
- )
- df['is_nonwhite'].fillna(df['is_nonwhite'].median(), inplace=True)
- df.drop(columns=['ethnity'], inplace=True)
- # 3-6) Townsend index → 5-quantile (1–5) --------------------------------------
- df['townsend_quintile'] = pd.qcut(
- df['townsend'], 5, labels=[1, 2, 3, 4, 5]
- ).astype(float)
- df['townsend_quintile'].fillna(3, inplace=True)
- # 3-7) smoking & center one-hot -----------
- for col in ['smoking', 'center']:
- df[col].fillna('Unknown', inplace=True)
- df = pd.get_dummies(df, columns=['smoking', 'center'], drop_first=False)
- # ✅ one-hot bool type → float
- df = df.astype(float)
- # === [4] Type change ==================================
- if len(df.select_dtypes('object').columns):
- raise ValueError(f"Still remain string: {df.select_dtypes('object').columns.tolist()}")
- # === [5] Spline(age) generation =====================================================
- spline_df = dmatrix(
- "bs(age, df=5, degree=3, include_intercept=False)",
- {"age": df["age"]}, return_type='dataframe'
- )
- spline_df.columns = [f"spline_{i}" for i in range(spline_df.shape[1])]
- # === [6] covariate dataframe & save ======================================
- # smoking_/center_ dummy column
- smoking_dummies = [c for c in df.columns if c.startswith('smoking_')]
- center_dummies = [c for c in df.columns if c.startswith('center_')]
- '''
- non_spline_vars = [
- 'sex', 'household_income', 'alcohol', 'education',
- 'townsend_quintile', 'is_nonwhite'
- ] + smoking_dummies + center_dummies
- '''
- non_spline_vars = ['sex']
- cov_df = pd.concat(
- [spline_df.reset_index(drop=True), df[non_spline_vars].reset_index(drop=True)],
- axis=1
- )
- cov_path = os.path.join(OUT_DIR, "covariates.txt")
- site_path = os.path.join(OUT_DIR, "site.txt")
- cov_df.to_csv(cov_path, index=False, header=False, sep=' ')
- pd.DataFrame({'site': [0] * len(cov_df)}).to_csv(
- site_path, index=False, header=False, sep=' '
- )
- print(f"✅ covariates.txt saved → {cov_df.shape[0]} subjects × {cov_df.shape[1]} vars")
- # === [7] BLR model training ========================================================
- for net in NETWORKS:
- print(f"\n▶ BLR model training: {net}")
- resp_path = os.path.join(OUT_DIR, f"{net}_response.txt")
- df[[net]].to_csv(resp_path, index=False, header=False, sep=' ')
- # result directory
- net_outdir = os.path.join(OUT_DIR, net)
- os.makedirs(net_outdir, exist_ok=True)
- # PCNtoolkit BLR
- estimate(
- covfile=cov_path,
- respfile=resp_path,
- outdir=net_outdir,
- alg="blr",
- savemodel=True,
- standardize=True,
- variables=list(cov_df.columns),
- cvfolds=10,
- outputsuffix=net
- )
- print(f"✅ complete → result save: {net_outdir}")
- print("\n🎉 All network BLR pipeline completed!")
normative_modeling.py at commit 20f728e, no license · at the source
Overview
Abstract
Although metabolic syndrome is a modifiable risk factor for functional decline in various organs, the brain network mechanisms linking metabolic cost to functional vulnerability remain poorly understood. We applied network control theory to diffusion magnetic resonance imaging-derived connectomes in 25,697 adults aged 40–70 years to quantify the energetic cost of engaging 8 large-scale brain networks. Metabolic syndrome was defined according to established criteria, with a composite score (0–5) based on the presence of central obesity, elevated triglycerides, reduced high-density lipoprotein cholesterol, hypertension, and impaired glycemic control. Normative modeling provided age-adjusted network deviations and brain age gap estimates. Associations with metabolic indicators and behavioral cognitive performance (7 tasks in UK Biobank) were tested, and meta-analytic mapping (123 cognitive states in Neurosynth) was used to identify at-risk domains. Severity of metabolic syndrome was associated with distinct, network-specific energetic alterations, including progressively increased subcortical control energy cost, decreased visual, and threshold changes in attentional and executive networks. The control energy profiles of the subcortical and visual networks exhibited accelerated brain age gap trajectories, reflecting significant departures from normative age-matched expectations. Waist circumference was the strongest metabolic predictor, with effects amplified in older age. Partial least squares correlation analysis revealed associations of metabolic profile (central obesity and dyslipidemia) with higher subcortical/
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 10 matches between paragraphs and lines of code.
phs9416/UKB_MetS_NCT
20f728ebf5ff5630f33f1ef594836ebafc1f5c77, 1 October 2025Availability: 1 check, the latest on 27 September 2026: the link answers
- 27 September 2026: the link answers
13 files
- PLSC.py, Python, 120 lines, 2 matches
- UKB_connectome_download.
sh , Shell, 29 lines - activation_energy.py, Python, 43 lines
- activation_energy_differ
ence.py , Python, 128 lines - brain_age_gap.py, Python, 121 lines, 1 match
- cognitive_map_generation
.py , Python, 157 lines, 1 match - cognitive_test.py, Python, 103 lines
- colocalization.py, Python, 104 lines, 2 matches
- controllability.py, Python, 28 lines
- multiple_regression.py, Python, 155 lines, 1 match
- normative_modeling.py, Python, 180 lines, 2 matches
- tmap_generation.py, Python, 152 lines, 1 match
- README.md, Text, 36 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;
- 12 scripts, each with its path and the digest of its content;
- 10 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
Data originate from the UK Biobank and will be accessible contingent upon authorization from the UK Biobank (https://
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, 27 September 2026: the first record
Recorded: type, language, journal, volume, pages, dates, 2 authors, 5 keywords, 4 funders, 70 references.
Cite
This paper
Park, H. S., & Jeong, B. (2026). Metabolic syndrome severity and the energetic cost of brain network transitions: A normative modeling study of accelerated brain aging. Imaging neuroscience (Cambridge, Mass.), 4, IMAG.a.1282. https://
BibTeX
@article{park2026metabol
author = {Park, Hyun Soo and Jeong, Bumseok},
title = {{Metabolic syndrome severity and the energetic cost of brain network transitions: A normative modeling study of accelerated brain aging}},
journal = {Imaging neuroscience (Cambridge, Mass.)},
year = {2026},
month = jun,
volume = {4},
pages = {IMAG.a.1282},
publisher = {MIT Press},
issn = {2837-6056},
doi = {10.1162/
url = {https://
pmid = {42344102},
pmcid = {PMC13288504}
}
RIS
TY - JOUR
AU - Park, Hyun Soo
AU - Jeong, Bumseok
TI - Metabolic syndrome severity and the energetic cost of brain network transitions: A normative modeling study of accelerated brain aging
T2 - Imaging neuroscience (Cambridge, Mass.)
J2 - Imaging Neurosci (Camb)
PY - 2026
DA - 2026/
VL - 4
SP - IMAG.a.1282
SN - 2837-6056
PB - MIT Press
DO - 10.1162/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1162/
"type": "article-journal",
"title": "Metabolic syndrome severity and the energetic cost of brain network transitions: A normative modeling study of accelerated brain aging",
"container-title": "Imaging neuroscience (Cambridge, Mass.)",
"author": [
{
"family": "Park",
"given": "Hyun Soo"
},
{
"family": "Jeong",
"given": "Bumseok"
}
],
"container-title-short":
"volume": "4",
"page": "IMAG.a.1282",
"DOI": "10.1162/
"PMID": "42344102",
"PMCID": "PMC13288504",
"ISSN": "2837-6056",
"publisher": "MIT Press",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
6,
22
]
]
}
}
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-04025-2 [code]
- Brain energetic landscapes shape state dysregulation in major depressive disorder: a morphological network controllability perspective.Journal: Translational psychiatryIn common: Nilearn, NiBabel, seaborn, 5 other tools, 12 references
- [2] doi:10.1038/s41467-026-71961-4 [code]
- Spatiotemporal asymmetries on brain energy landscape uncover system entrapment related to depression severity.Journal: Nature communicationsIn common: Nilearn, statsmodels, NiBabel, 6 other tools, computational, structural MRI / diffusion, 9 references
- [3] doi:10.1038/s42003-026-09560-8 [code]
- Controlling the human connectome with spatially diffuse input signals.Journal: Communications biologyIn common: Nilearn, NiBabel, scikit-learn, 4 other tools, computational, 13 references
- [4] doi:10.1038/s41467-025-66542-w [code]
- Inferring intrinsic neural timescales using optimal control theory.Journal: Nature communicationsIn common: Nilearn, NiBabel, seaborn, 5 other tools, computational, 10 references
- [5] doi:10.1162/netn_a_00425 [code]
- The control costs of human brain dynamics.Journal: Network neuroscience (Cambridge, Mass.)In common: Nilearn, NiBabel, seaborn, 4 other tools, computational, 9 references
- [6] doi:10.1038/s41551-024-01242-2 [code]
- Contributions of network structure, chemoarchitecture and diagnostic categories to transitions between cognitive topographies.Journal: Nature biomedical engineeringIn common: statsmodels, NiBabel, seaborn, 5 other tools, structural MRI / diffusion, 9 references
- [7] doi:10.7554/elife.93246 [code]
- A latent clinical-anatomical dimension relating metabolic syndrome to brain structure and cognition.Journal: eLifeIn common: Nilearn, statsmodels, NiBabel, 6 other tools, 9 references
- [8] doi:10.64898/2025.12.01.691701 [code]
- Cognitive cartography of mammalian brains using meta-analysis of AI expertsJournal: bioRxiv (preprint)In common: Nilearn, statsmodels, NiBabel, 6 other tools, 8 references
- [9] doi:10.1371/journal.pbio.3003856 [code]
- Aging and metabolism contribute separately to brain-body health.Journal: PLoS biologyIn common: Nilearn, statsmodels, NiBabel, 6 other tools, structural MRI / diffusion, 7 references
- [10] doi:10.1017/s0033291725103140 [code]
- Controllability of morphometric network colocalize with underlying neurobiology in major depression.Journal: Psychological medicineIn common: structural MRI / diffusion, 12 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: 1 repository of the authors' code, each at its verified commit and with its license, 12 scripts, and 10 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:4b967bf34fc2a382…
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.1162/imag.a.1282)
<!-- oscr-badge:end -->reStructuredText
.. oscr-badge:start
.. image:: https://openscicode.org/badge/doi/10.1162/imag.a.1282.svg
:target: https://openscicode.org/badge/doi/10.1162/imag.a.1282
:alt: OSCR
.. oscr-badge:endHTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.1162/imag.a.1282"><img src="https://openscicode.org/badge/doi/10.1162/imag.a.1282.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.
