Lifespan normative modeling of brain microstructure.
The 4 matches
- [1] § Results › Lifespan trajectories of brain microstructural metrics ↔ code/nm_hbr_controls10_rob_spline_age_sexbatch_v29.py, lines 50–94 · score 0.68 · hbn si, aomic id1000, ping philips, adni3 s31, abcd siemens, site CAMCAN
- [2] § Results › Lifespan trajectories of brain microstructural metrics ↔ code/nm_hbr_controls1_rob_spline_age_sexbatch_v29.py, lines 50–94 · score 0.68 · hbn si, aomic id1000, ping philips, adni3 s31, abcd siemens, site CAMCAN
- [3] § Methods › White matter regions assessed ↔ code/nm_hbr_NIMHANS_spline_age_sexbatch_transfer.py, lines 44–46 · score 0.57 · SFO, SLF, ACR, ALIC, CGC, EC
- [4] § Methods › White matter regions assessed ↔ code/nm_hbr_UCLA_spline_age_sexbatch_transfer.py, lines 44–46 · score 0.57 · SFO, SLF, ACR, ALIC, CGC, EC
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 · 326 lines · 18 KB · GPL-3.0 · 1 match
- # -*- coding: utf-8 -*-
- """
- Created in August 2024
- # @author: Julio Villalón
- """
- import os
- import pandas as pd
- import numpy as np
- from sklearn.model_selection import train_test_split
- from pcntoolkit.normative import estimate, evaluate
- from scipy.stats import norm
- import argparse
- import pickle
- __author__ = 'Julio Villalón'
- parser = argparse.ArgumentParser(description='This runs the HBR normative modeling with HBR.')
- parser.add_argument('-controls','--controls_csv', help='Input table with controls, including the site ID.',required=True)
- parser.add_argument('-dirO','--dirOutput', help='Ouput directory. Put slash at the end.',required=True)
- parser.add_argument('-age_column','--age_column', help='Name of the age column header.',required=True)
- parser.add_argument('-site_column','--site_column', help='Name of the site column header.',required=True)
- parser.add_argument('-sex_column','--sex_column', help='Name of the sex column header.',required=True)
- parser.add_argument('-outscaler','--outscaler', help='Scaling approach for output responses,\
- could be None (Default), standardize, minmax, or robminmax.',required=True)
- args = parser.parse_args()
- ## show the inputs ##
- print("Input controls file: %s" % args.controls_csv)
- print("Output directory: %s" % args.dirOutput)
- print("Name of the site column: %s" % args.site_column)
- print("Name of the age column: %s" % args.age_column)
- print("Name of the sex column: %s" % args.sex_column)
- print("Scaling approach for output response, outscaler: %s" % args.outscaler)
- data_dir = args.dirOutput
- if not os.path.exists(data_dir):
- os.makedirs(data_dir)
- # 21 ROIS + Average WM = 22 total rois. Bilateral, not left and right.
- rois =['ACR','ALIC','Average','BCC','CGC','CGH','CST','EC','FX','FXST','GCC',
- 'UNC','PCR','PLIC','PTR','RLIC','SCC','SCR','SFO','SLF','SS','TAP']
- #Reading in the controls table. Making sure
- dmri = args.controls_csv
- train_all = pd.read_csv(dmri, dtype={'subjectID': str, 'SID': str, 'Protocol_No': int, 'Protocol': str, 'Study': str})
- train_all["site"] = train_all[args.site_column] # Creating a new column copied from the original site column.
- # This makes the new columns called site_HCP, site_ABCD, site_XXX
- train_all_site = pd.get_dummies(train_all, columns=['site'])
- train_all_site['site_ID'] = train_all['site'] #adding the columns with site names to the new frame
- train_all_site['site_ID_bin'] = train_all['Protocol_No'] # this is the numeric version of Protocol
- controls_big = train_all_site.copy()
- train_site = controls_big[['site_ID_bin', args.sex_column]]
- controls_cov_big = controls_big[['subjectID',
- args.age_column,
- args.sex_column,
- 'site_ID',
- 'site_ID_bin',
- 'site_ABCD_SIEMENS', 'site_ABCD_GE',
- 'site_ABCD_PHILIPS', 'site_ADNI3_GE36',
- 'site_ADNI3_GE54', 'site_ADNI3_P33',
- 'site_ADNI3_P36', 'site_ADNI3_S127',
- 'site_ADNI3_S31', 'site_ADNI3_S55',
- 'site_AOMIC_ID1000', 'site_AOMIC_PIOP1',
- 'site_AOMIC_PIOP2', 'site_CAMCAN', 'site_CHBMP',
- 'site_CHCP', 'site_HBN_CBIC', 'site_HBN_CUNY',
- 'site_HBN_RUBIC', 'site_HBN_SI', 'site_HCP_A',
- 'site_HCP_D', 'site_HCP_YA',
- 'site_NIH_Peds_dti04_SIEMENS', 'site_NIH_Peds_dti04_GE',
- 'site_NIH_Peds_edti02_SIEMENS', 'site_NIH_Peds_edti02_GE',
- 'site_OASIS3', 'site_PING_GE', 'site_PING_SIEMENS',
- 'site_PING_PHILIPS', 'site_PNC', 'site_PPMI',
- 'site_QTAB', 'site_QTIM', 'site_SLIM', 'site_UKBB']]
- controls_features_big = controls_big[rois]
- X_train8020_f1, X_test8020_f1, y_train8020_f1, y_test8020_f1 = train_test_split(controls_cov_big,
- controls_features_big, stratify=train_site,
- test_size=0.2, random_state=90057)
- X_train_f1 = X_train8020_f1.copy()
- X_test_f1 = X_test8020_f1.copy()
- y_train_f1 = y_train8020_f1.copy()
- y_test_f1 = y_test8020_f1.copy()
- X_train_f1.reset_index(drop=True, inplace=True)
- X_test_f1.reset_index(drop=True, inplace=True)
- y_train_f1.reset_index(drop=True, inplace=True)
- y_test_f1.reset_index(drop=True, inplace=True)
- ABCD_SIEMENS_te= X_test_f1.index[X_test_f1['site_ABCD_SIEMENS'] == 1].to_list()
- ABCD_GE_te= X_test_f1.index[X_test_f1['site_ABCD_GE'] == 1].to_list()
- ABCD_PHILIPS_te= X_test_f1.index[X_test_f1['site_ABCD_PHILIPS'] == 1].to_list()
- ADNI3_GE36_te= X_test_f1.index[X_test_f1['site_ADNI3_GE36'] == 1].to_list()
- ADNI3_GE54_te= X_test_f1.index[X_test_f1['site_ADNI3_GE54'] == 1].to_list()
- ADNI3_P33_te= X_test_f1.index[X_test_f1['site_ADNI3_P33'] == 1].to_list()
- ADNI3_P36_te= X_test_f1.index[X_test_f1['site_ADNI3_P36'] == 1].to_list()
- ADNI3_S127_te= X_test_f1.index[X_test_f1['site_ADNI3_S127'] == 1].to_list()
- ADNI3_S31_te= X_test_f1.index[X_test_f1['site_ADNI3_S31'] == 1].to_list()
- ADNI3_S55_te= X_test_f1.index[X_test_f1['site_ADNI3_S55'] == 1].to_list()
- AOMIC_ID1000_te= X_test_f1.index[X_test_f1['site_AOMIC_ID1000'] == 1].to_list()
- AOMIC_PIOP1_te= X_test_f1.index[X_test_f1['site_AOMIC_PIOP1'] == 1].to_list()
- AOMIC_PIOP2_te= X_test_f1.index[X_test_f1['site_AOMIC_PIOP2'] == 1].to_list()
- CAMCAN_te= X_test_f1.index[X_test_f1['site_CAMCAN'] == 1].to_list()
- CHBMP_te= X_test_f1.index[X_test_f1['site_CHBMP'] == 1].to_list()
- CHCP_te= X_test_f1.index[X_test_f1['site_CHCP'] == 1].to_list()
- HBN_CBIC_te= X_test_f1.index[X_test_f1['site_HBN_CBIC'] == 1].to_list()
- HBN_CUNY_te= X_test_f1.index[X_test_f1['site_HBN_CUNY'] == 1].to_list()
- HBN_RUBIC_te= X_test_f1.index[X_test_f1['site_HBN_RUBIC'] == 1].to_list()
- HBN_SI_te= X_test_f1.index[X_test_f1['site_HBN_SI'] == 1].to_list()
- HCP_A_te= X_test_f1.index[X_test_f1['site_HCP_A'] == 1].to_list()
- HCP_D_te= X_test_f1.index[X_test_f1['site_HCP_D'] == 1].to_list()
- HCP_YA_te= X_test_f1.index[X_test_f1['site_HCP_YA'] == 1].to_list()
- NIH_Peds_dti04_SIEMENS_te= X_test_f1.index[X_test_f1['site_NIH_Peds_dti04_SIEMENS'] == 1].to_list()
- NIH_Peds_dti04_GE_te= X_test_f1.index[X_test_f1['site_NIH_Peds_dti04_GE'] == 1].to_list()
- NIH_Peds_edti02_SIEMENS_te= X_test_f1.index[X_test_f1['site_NIH_Peds_edti02_SIEMENS'] == 1].to_list()
- NIH_Peds_edti02_GE_te= X_test_f1.index[X_test_f1['site_NIH_Peds_edti02_GE'] == 1].to_list()
- OASIS3_te= X_test_f1.index[X_test_f1['site_OASIS3'] == 1].to_list()
- PING_GE_te= X_test_f1.index[X_test_f1['site_PING_GE'] == 1].to_list()
- PING_SIEMENS_te= X_test_f1.index[X_test_f1['site_PING_SIEMENS'] == 1].to_list()
- PING_PHILIPS_te= X_test_f1.index[X_test_f1['site_PING_PHILIPS'] == 1].to_list()
- PNC_te= X_test_f1.index[X_test_f1['site_PNC'] == 1].to_list()
- PPMI_te= X_test_f1.index[X_test_f1['site_PPMI'] == 1].to_list()
- QTAB_te= X_test_f1.index[X_test_f1['site_QTAB'] == 1].to_list()
- QTIM_te= X_test_f1.index[X_test_f1['site_QTIM'] == 1].to_list()
- SLIM_te= X_test_f1.index[X_test_f1['site_SLIM'] == 1].to_list()
- UKBB_te= X_test_f1.index[X_test_f1['site_UKBB'] == 1].to_list()
- dfbatch_tr = X_train_f1[['site_ID_bin', args.sex_column]]
- dfbatch_te = X_test_f1[['site_ID_bin', args.sex_column]]
- dfbatch_tr.to_csv(os.path.join(data_dir, 'batch_tr.txt'),
- na_rep='NaN', index=False, header=False, sep=' ')
- with open(data_dir + '/batch_tr.pkl', 'wb') as file:
- pickle.dump(dfbatch_tr, file)
- dfbatch_te.to_csv(os.path.join(data_dir, 'batch_te.txt'),
- na_rep='NaN', index=False, header=False, sep=' ')
- with open(data_dir + '/batch_te.pkl', 'wb') as file:
- pickle.dump(dfbatch_te, file)
- dfsubject_tr = X_train_f1[['subjectID']]
- dfsubject_te = X_test_f1[['subjectID']]
- dfsubject_tr.to_csv(os.path.join(data_dir, 'subjects_tr.txt'),
- na_rep='NaN', index=False, header=False, sep=' ')
- dfsubject_te.to_csv(os.path.join(data_dir, 'subjects_te.txt'),
- na_rep='NaN', index=False, header=False, sep=' ')
- X_train_f1 = X_train_f1.drop(['subjectID', args.sex_column, 'site_ID', 'site_ID_bin',
- 'site_ABCD_SIEMENS', 'site_ABCD_GE',
- 'site_ABCD_PHILIPS', 'site_ADNI3_GE36',
- 'site_ADNI3_GE54', 'site_ADNI3_P33',
- 'site_ADNI3_P36', 'site_ADNI3_S127',
- 'site_ADNI3_S31', 'site_ADNI3_S55',
- 'site_AOMIC_ID1000', 'site_AOMIC_PIOP1',
- 'site_AOMIC_PIOP2', 'site_CAMCAN', 'site_CHBMP',
- 'site_CHCP', 'site_HBN_CBIC', 'site_HBN_CUNY',
- 'site_HBN_RUBIC', 'site_HBN_SI', 'site_HCP_A',
- 'site_HCP_D', 'site_HCP_YA',
- 'site_NIH_Peds_dti04_SIEMENS', 'site_NIH_Peds_dti04_GE',
- 'site_NIH_Peds_edti02_SIEMENS', 'site_NIH_Peds_edti02_GE',
- 'site_OASIS3', 'site_PING_GE', 'site_PING_SIEMENS',
- 'site_PING_PHILIPS', 'site_PNC', 'site_PPMI',
- 'site_QTAB', 'site_QTIM', 'site_SLIM', 'site_UKBB'], axis=1)
- X_test_f1 = X_test_f1.drop(['subjectID', args.sex_column, 'site_ID', 'site_ID_bin',
- 'site_ABCD_SIEMENS', 'site_ABCD_GE',
- 'site_ABCD_PHILIPS', 'site_ADNI3_GE36',
- 'site_ADNI3_GE54', 'site_ADNI3_P33',
- 'site_ADNI3_P36', 'site_ADNI3_S127',
- 'site_ADNI3_S31', 'site_ADNI3_S55',
- 'site_AOMIC_ID1000', 'site_AOMIC_PIOP1',
- 'site_AOMIC_PIOP2', 'site_CAMCAN', 'site_CHBMP',
- 'site_CHCP', 'site_HBN_CBIC', 'site_HBN_CUNY',
- 'site_HBN_RUBIC', 'site_HBN_SI', 'site_HCP_A',
- 'site_HCP_D', 'site_HCP_YA',
- 'site_NIH_Peds_dti04_SIEMENS', 'site_NIH_Peds_dti04_GE',
- 'site_NIH_Peds_edti02_SIEMENS', 'site_NIH_Peds_edti02_GE',
- 'site_OASIS3', 'site_PING_GE', 'site_PING_SIEMENS',
- 'site_PING_PHILIPS', 'site_PNC', 'site_PPMI',
- 'site_QTAB', 'site_QTIM', 'site_SLIM', 'site_UKBB'], axis=1)
- X_train_f1.loc[:, args.age_column] = X_train_f1[args.age_column] / 100
- X_test_f1.loc[:, args.age_column] = X_test_f1[args.age_column] / 100
- roi_ids = ['ACR','ALIC','Average','BCC','CGC','CGH','CST','EC','FX','FXST',
- 'GCC','UNC','PCR','PLIC','PTR','RLIC','SCC','SCR','SFO','SLF','SS',
- 'TAP']
- # Run normative model for controls train/test split
- sites = [ABCD_SIEMENS_te, ABCD_GE_te, ABCD_PHILIPS_te, ADNI3_GE36_te,
- ADNI3_GE54_te, ADNI3_P33_te, ADNI3_P36_te, ADNI3_S127_te,
- ADNI3_S31_te, ADNI3_S55_te, AOMIC_ID1000_te, AOMIC_PIOP1_te,
- AOMIC_PIOP2_te, CAMCAN_te, CHBMP_te, CHCP_te, HBN_CBIC_te,
- HBN_CUNY_te, HBN_RUBIC_te, HBN_SI_te, HCP_A_te, HCP_D_te,
- HCP_YA_te, NIH_Peds_dti04_SIEMENS_te, NIH_Peds_dti04_GE_te,
- NIH_Peds_edti02_SIEMENS_te, NIH_Peds_edti02_GE_te, OASIS3_te,
- PING_GE_te, PING_SIEMENS_te, PING_PHILIPS_te, PNC_te, PPMI_te, QTAB_te,
- QTIM_te, SLIM_te, UKBB_te]
- site_names = ['ABCD_SIEMENS_te', 'ABCD_GE_te', 'ABCD_PHILIPS_te',
- 'ADNI3_GE36_te', 'ADNI3_GE54_te', 'ADNI3_P33_te', 'ADNI3_P36_te',
- 'ADNI3_S127_te', 'ADNI3_S31_te', 'ADNI3_S55_te', 'AOMIC_ID1000_te',
- 'AOMIC_PIOP1_te', 'AOMIC_PIOP2_te', 'CAMCAN_te', 'CHBMP_te',
- 'CHCP_te', 'HBN_CBIC_te', 'HBN_CUNY_te', 'HBN_RUBIC_te',
- 'HBN_SI_te', 'HCP_A_te', 'HCP_D_te', 'HCP_YA_te',
- 'NIH_Peds_dti04_SIEMENS_te', 'NIH_Peds_dti04_GE_te',
- 'NIH_Peds_edti02_SIEMENS_te', 'NIH_Peds_edti02_GE_te', 'OASIS3_te',
- 'PING_GE_te', 'PING_SIEMENS_te', 'PING_PHILIPS_te', 'PNC_te',
- 'PPMI_te', 'QTAB_te', 'QTIM_te', 'SLIM_te', 'UKBB_te']
- for roi in roi_ids:
- print('Saving the tables for ROI:', roi)
- roi_dir = os.path.join(data_dir, roi)
- if not os.path.exists(roi_dir):
- os.makedirs(roi_dir)
- np.savetxt(os.path.join(roi_dir, 'cov_int_controls_tr.txt'), X_train_f1)
- np.savetxt(os.path.join(roi_dir, 'cov_int_controls_te.txt'), X_test_f1)
- # Saving the Y for each roi
- np.savetxt(os.path.join(roi_dir, 'resp_controls_tr.txt'), y_train_f1[roi])
- np.savetxt(os.path.join(roi_dir, 'resp_controls_te.txt'), y_test_f1[roi])
- # Create pandas dataframes with header names to save out the overall and per-site model evaluation metrics
- hbr_metrics = pd.DataFrame(columns = ['ROI', 'MSLL', 'EV', 'SMSE', 'RMSE', 'Rho', 'NLL'])
- hbr_site_metrics = pd.DataFrame(columns = ['ROI', 'site', 'y_mean', 'y_var', 'yhat_mean', 'yhat_var', 'MSLL', 'EV', 'SMSE', 'RMSE', 'Rho'])
- # Loop through ROIs for controls 80/20 train/test split
- for roi in roi_ids:
- print('Running ROI:', roi)
- roi_dir = os.path.join(data_dir, roi)
- os.chdir(roi_dir)
- # configure the covariates to use. Change *_bspline_* to *_int_* to
- cov_file_tr = os.path.join(roi_dir, 'cov_int_controls_tr.txt')
- cov_file_te = os.path.join(roi_dir, 'cov_int_controls_te.txt')
- # load train & test response files
- resp_file_tr = os.path.join(roi_dir, 'resp_controls_tr.txt')
- resp_file_te = os.path.join(roi_dir, 'resp_controls_te.txt')
- batch_tr = os.path.join(data_dir, 'batch_tr.pkl')
- batch_te = os.path.join(data_dir, 'batch_te.pkl')
- # run a basic model
- yhat_te, s2_te, nm, Z, metrics_te = estimate(cov_file_tr,
- resp_file_tr,
- testresp=resp_file_te,
- testcov=cov_file_te,
- alg = 'hbr',
- trbefile=batch_tr,
- tsbefile=batch_te,
- model_type='bspline',
- savemodel = True,
- saveoutput = False,
- linear_mu ='True',
- linear_sigma='True',
- random_intercept_mu='True',
- random_intercept_sigma='True',
- random_slope_mu='False',
- random_slope_sigma='False',
- outscaler=args.outscaler
- )
- p_mosi = 1 - norm.sf(np.abs(Z)) * 2
- Z_p = np.concatenate((Z, p_mosi), axis=1)
- np.savetxt(os.path.join(roi_dir, 'Z_p_estimate.txt'), Z_p)
- np.savetxt(os.path.join(roi_dir, 'Yhat_estimate.txt'), yhat_te)
- np.savetxt(os.path.join(roi_dir, 'Ys2_estimate.txt'), s2_te)
- # display and save metrics
- keys = list(metrics_te.keys())
- print(keys)
- print(metrics_te.items())
- print('EV=', metrics_te['EXPV'][0])
- print('RHO=', metrics_te['Rho'][0])
- print('MSLL=', metrics_te['MSLL'][0])
- print('SMSE=', metrics_te['SMSE'][0])
- hbr_metrics.loc[len(hbr_metrics)] = [roi, metrics_te['MSLL'][0], metrics_te['EXPV'][0], metrics_te['SMSE'][0],
- metrics_te['RMSE'][0], metrics_te['Rho'][0], metrics_te['NLL'][0]]
- # Compute metrics per site in test set, save to pandas df
- # load true test data
- X_te = np.loadtxt(cov_file_te)
- y_te = np.loadtxt(resp_file_te)
- y_te = y_te[:, np.newaxis] # make sure it is a 2-d array
- for num, site in enumerate(sites):
- y_mean_te_site = np.array([[np.mean(y_te[site])]])
- y_var_te_site = np.array([[np.var(y_te[site])]])
- yhat_mean_te_site = np.array([[np.mean(yhat_te[site])]])
- yhat_var_te_site = np.array([[np.var(yhat_te[site])]])
- metrics_te_site = evaluate(y_te[site], yhat_te[site], s2_te[site], y_mean_te_site, y_var_te_site)
- site_name = site_names[num]
- hbr_site_metrics.loc[len(hbr_site_metrics)] = [roi, site_names[num],
- y_mean_te_site[0],
- y_var_te_site[0],
- yhat_mean_te_site[0],
- yhat_var_te_site[0],
- metrics_te_site['MSLL'][0],
- metrics_te_site['EXPV'][0],
- metrics_te_site['SMSE'][0],
- metrics_te_site['RMSE'][0],
- metrics_te_site['Rho'][0]]
- os.chdir(data_dir)
- # Save per site test set metrics variable to CSV file
- hbr_site_metrics.to_csv(os.path.join(data_dir, 'hbr_controls_site_metrics_f1.csv'), index=False, index_label=None)
- # Save overall test set metrics to CSV file
- hbr_metrics.to_csv(os.path.join(data_dir, 'hbr_controls_metrics_f1.csv'), index=False, index_label=None)
nm_hbr_controls10_rob_spline_age_sexbatch_v29.py at commit 6d28185, under GPL-3.0 · at the source
Overview
- Imaging Genetics Center, Mark & Mary Stevens Institute for Neuroimaging & Informatics, Keck School of Medicine, University of Southern California, Los Angeles, CA USA
- Laboratory of Brain eScience, Mark & Mary Stevens Institute for Neuroimaging & Informatics, Keck School of Medicine, University of Southern California, Los Angeles, USA
- Centre de recherche Azrieli, CHU Sainte-Justine, Department of Psychiatry and Addictology, University of Montreal, Montreal, QC Canada
- Semel Institute for Neuroscience and Human Behavior, Departments of Psychiatry and Biobehavioral Sciences and Psychology, University of California, Los Angeles, CA USA
- Multimodal Brain Image Analysis Laboratory, Department of Psychiatry, National Institute of Mental Health and Neuro Sciences, Bengaluru, India
- Donders Centre for Cognitive Neuroimaging, Donders Institute for Brain, Cognition and Behaviour. Radboud University, Nijmegen, The Netherlands
- Center of Cognitive Science and Artificial Intelligence, Tilburg School of Humanities and Digital Sciences, Tilburg University, Tilburg, The Netherlands
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.
Repositories
Its files are read in the Code ↔ Paper reader above, with 4 matches between paragraphs and lines of code.
villalonreina/ENIGMA-DTI-Normative-Modeling
6d281856f057c637ff665adfcf9a79af5580a9f5, 24 March 2026Availability: 1 check, the latest on 28 September 2026: the link answers
- 28 September 2026: the link answers
17 files
- code/
nm_hbr_Alz_MCI_sexbatch_ , Python, 199 linespredict.py - code/
nm_hbr_NIMHANS_spline_ag , Python, 287 linese_sexbatch_transfer.py - code/
nm_hbr_UCLA_spline_age_s , Python, 287 linesexbatch_transfer.py - code/
nm_hbr_controls10_rob_sp , Python, 326 linesline_age_sexbatch_v29.py - code/
nm_hbr_controls1_rob_spl , Python, 326 linesine_age_sexbatch_v29.py - code/
nm_hbr_controls2_rob_spl , Python, 326 linesine_age_sexbatch_v29.py - code/
nm_hbr_controls3_rob_spl , Python, 326 linesine_age_sexbatch_v29.py - code/
nm_hbr_controls4_rob_spl , Python, 326 linesine_age_sexbatch_v29.py - code/
nm_hbr_controls5_rob_spl , Python, 326 linesine_age_sexbatch_v29.py - code/
nm_hbr_controls6_rob_spl , Python, 326 linesine_age_sexbatch_v29.py - code/
nm_hbr_controls7_rob_spl , Python, 326 linesine_age_sexbatch_v29.py - code/
nm_hbr_controls8_rob_spl , Python, 326 linesine_age_sexbatch_v29.py - code/
nm_hbr_controls9_rob_spl , Python, 326 linesine_age_sexbatch_v29.py - code/
plotting_curves_grid.py , Python, 104 lines - code/
vis_utils_julio_agesex.p , Python, 663 linesy - LICENSE, License, 674 lines
- README.md, Text, 109 lines
ENIGMA-git/ENIGMA-DTI-Normative-Modeling
6d281856f057c637ff665adfcf9a79af5580a9f5, 24 March 2026Availability: 1 check, the latest on 28 September 2026: the link answers
- 28 September 2026: the link answers
17 files
- code/
nm_hbr_Alz_MCI_sexbatch_ , Python, 199 linespredict.py - code/
nm_hbr_NIMHANS_spline_ag , Python, 287 lines, 1 matche_sexbatch_transfer.py - code/
nm_hbr_UCLA_spline_age_s , Python, 287 lines, 1 matchexbatch_transfer.py - code/
nm_hbr_controls10_rob_sp , Python, 326 lines, 1 matchline_age_sexbatch_v29.py - code/
nm_hbr_controls1_rob_spl , Python, 326 lines, 1 matchine_age_sexbatch_v29.py - code/
nm_hbr_controls2_rob_spl , Python, 326 linesine_age_sexbatch_v29.py - code/
nm_hbr_controls3_rob_spl , Python, 326 linesine_age_sexbatch_v29.py - code/
nm_hbr_controls4_rob_spl , Python, 326 linesine_age_sexbatch_v29.py - code/
nm_hbr_controls5_rob_spl , Python, 326 linesine_age_sexbatch_v29.py - code/
nm_hbr_controls6_rob_spl , Python, 326 linesine_age_sexbatch_v29.py - code/
nm_hbr_controls7_rob_spl , Python, 326 linesine_age_sexbatch_v29.py - code/
nm_hbr_controls8_rob_spl , Python, 326 linesine_age_sexbatch_v29.py - code/
nm_hbr_controls9_rob_spl , Python, 326 linesine_age_sexbatch_v29.py - code/
plotting_curves_grid.py , Python, 104 lines - code/
vis_utils_julio_agesex.p , Python, 663 linesy - LICENSE, License, 674 lines
- README.md, Text, 109 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: ENIGMA-git/
ENIGMA-DTI-Normative-Mod , villalonreina/eling ENIGMA-DTI-Normative-Mod eling
Read it in the paper: doi.org/10.1038/s41467-026-72875-x.
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:
- 2 repositories of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
- 30 scripts, each with its path and the digest of its content;
- 4 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
- openneuro:ds002785, at OpenNeuro; found in the acknowledgements
- openneuro:ds002790, at OpenNeuro; found in the acknowledgements
- openneuro:ds003097, at OpenNeuro; found in the acknowledgements
- pcnportal.dccn.nl, at pcnportal.dccn.nl; found in “Data availability”
- ukbiobank.ac.uk/
enable-your-research , at UK Biobank; found in “Data availability”
Code and data availability statement
The paper has a code and 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 2 datasets: pcnportal.dccn.nl, ukbiobank.ac.uk/
enable-your-research - it points to the authors' code: ENIGMA-git/
ENIGMA-DTI-Normative-Mod , villalonreina/eling ENIGMA-DTI-Normative-Mod eling
Read it in the paper: doi.org/10.1038/s41467-026-72875-x.
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, 28 September 2026: the first record
Recorded: type, language, journal, volume, issue, pages, dates, 20 authors, 2 keywords, 19 MeSH terms, 10 funders, 79 references.
Cite
This paper
Villalón-Reina, J. E., Zhu, A. H., Nabulsi, L., Thomopoulos, S. I., Moreau, C. A., Feng, Y., Chattopadhyay, T., Benavidez, S. M., Kushan, L., John, J. P., Joshi, H., Ba Gari, I., Lawrence, K. E., Nir, T. M., Jahanshad, N., Bearden, C. E., Kia, S. M., Marquand, A. F., the Alzheimer’s Disease Neuroimaging Initiative, & Thompson, P. M. (2026). Lifespan normative modeling of brain microstructure. Nature communications, 17(1), 4693. https://
BibTeX
@article{villalonreina20
author = {Villalón-Reina, Julio E and Zhu, Alyssa H and Nabulsi, Leila and Thomopoulos, Sophia I and Moreau, Clara A and Feng, Yixue and Chattopadhyay, Tamoghna and Benavidez, Sebastian M and Kushan, Leila and John, John P and Joshi, Himanshu and Ba Gari, Iyad and Lawrence, Katherine E and Nir, Talia M and Jahanshad, Neda and Bearden, Carrie E and Kia, Seyed Mostafa and Marquand, Andre F and {the Alzheimer’s Disease Neuroimaging Initiative} and Thompson, Paul M},
title = {{Lifespan normative modeling of brain microstructure}},
journal = {Nature communications},
year = {2026},
month = may,
volume = {17},
number = {1},
pages = {4693},
publisher = {Nature Publishing Group},
issn = {2041-1723},
doi = {10.1038/
url = {https://
pmid = {42204143},
pmcid = {PMC13216618}
}
RIS
TY - JOUR
AU - Villalón-Reina, Julio E
AU - Zhu, Alyssa H
AU - Nabulsi, Leila
AU - Thomopoulos, Sophia I
AU - Moreau, Clara A
AU - Feng, Yixue
AU - Chattopadhyay, Tamoghna
AU - Benavidez, Sebastian M
AU - Kushan, Leila
AU - John, John P
AU - Joshi, Himanshu
AU - Ba Gari, Iyad
AU - Lawrence, Katherine E
AU - Nir, Talia M
AU - Jahanshad, Neda
AU - Bearden, Carrie E
AU - Kia, Seyed Mostafa
AU - Marquand, Andre F
AU - the Alzheimer’s Disease Neuroimaging Initiative
AU - Thompson, Paul M
TI - Lifespan normative modeling of brain microstructure
T2 - Nature communications
J2 - Nat Commun
PY - 2026
DA - 2026/
VL - 17
IS - 1
SP - 4693
SN - 2041-1723
PB - Nature Publishing Group
DO - 10.1038/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1038/
"type": "article-journal",
"title": "Lifespan normative modeling of brain microstructure",
"container-title": "Nature communications",
"author": [
{
"family": "Villalón-Reina",
"given": "Julio E"
},
{
"family": "Zhu",
"given": "Alyssa H"
},
{
"family": "Nabulsi",
"given": "Leila"
},
{
"family": "Thomopoulos",
"given": "Sophia I"
},
{
"family": "Moreau",
"given": "Clara A"
},
{
"family": "Feng",
"given": "Yixue"
},
{
"family": "Chattopadhyay",
"given": "Tamoghna"
},
{
"family": "Benavidez",
"given": "Sebastian M"
},
{
"family": "Kushan",
"given": "Leila"
},
{
"family": "John",
"given": "John P"
},
{
"family": "Joshi",
"given": "Himanshu"
},
{
"family": "Ba Gari",
"given": "Iyad"
},
{
"family": "Lawrence",
"given": "Katherine E"
},
{
"family": "Nir",
"given": "Talia M"
},
{
"family": "Jahanshad",
"given": "Neda"
},
{
"family": "Bearden",
"given": "Carrie E"
},
{
"family": "Kia",
"given": "Seyed Mostafa"
},
{
"family": "Marquand",
"given": "Andre F"
},
{
"literal": "the Alzheimer’s Disease Neuroimaging Initiative"
},
{
"family": "Thompson",
"given": "Paul M"
}
],
"container-title-short":
"volume": "17",
"issue": "1",
"page": "4693",
"DOI": "10.1038/
"PMID": "42204143",
"PMCID": "PMC13216618",
"ISSN": "2041-1723",
"publisher": "Nature Publishing Group",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
5,
27
]
]
}
}
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/s41586-026-10454-2 [code]
- White matter micro- and macrostructure brain charts for the human lifespan.Journal: NatureIn common: pandas, SciPy, NumPy, OpenNeuro ds002785, OpenNeuro ds002790, 1 other dataset, 9 references
- [2] doi:10.1002/hbm.70519 [code]
- Lifespan Trajectories of Asymmetry in White Matter Tracts.Journal: Human brain mappingIn common: OpenNeuro ds002785, OpenNeuro ds002790, 1 other dataset, structural MRI / diffusion, 5 references
- [3] doi:10.1162/imag.a.1269 [code]
- From early to contemporary normative modeling: Mapping individual differences in neurophysiological signals.Journal: Imaging neuroscience (Cambridge, Mass.)In common: seaborn, scikit-learn, pandas, 3 other tools, 12 references
- [4] doi:10.64898/2026.08.13.26360304 [code]
- Lifespan brain structural variation reveals shared organization across mental health conditionsJournal: medRxiv (preprint)In common: seaborn, scikit-learn, pandas, 3 other tools, 6 references, 2 authors
- [5] doi:10.21203/rs.3.rs-9246968/v1 [code]
- Copy number variants reveal divergent genetic and diagnostic cortical signatures across psychiatric disordersJournal: Research Square (preprint)In common: pandas, NumPy, 1 reference, 4 authors
- [6] doi:10.1038/s41398-026-04078-3 [code]
- Brain age prediction in generalized anxiety disorder using a convolutional neural network.Journal: Translational psychiatryIn common: structural MRI / diffusion, 7 references, 2 authors
- [7] doi:10.64898/2026.03.31.26349848 [code]
- Mapping Individual Neuroanatomical Alterations to Schizophrenia Psychopathology with Normative ModelingJournal: medRxiv (preprint)In common: seaborn, pandas, Matplotlib, 1 other tool, schizophrenia / psychosis, structural MRI / diffusion, 9 references
- [8] doi:10.1038/s41380-026-03641-0
- Cerebral cortical alterations in adolescent early-onset psychosis: a surface-based morphometry mega-analysis.Journal: Molecular psychiatryIn common: schizophrenia / psychosis, structural MRI / diffusion, 2 references, 3 authors
- [9] doi:10.1038/s41398-026-04426-3 [code]
- Resting-state brain age is associated with cognitive and sensorimotor abnormalities in schizophrenia spectrum disorders: a validation &
amp; longitudinal study. Journal: Translational psychiatryIn common: pandas, NumPy, OpenNeuro ds002785, OpenNeuro ds002790, schizophrenia / psychosis, structural MRI / diffusion, 3 references - [10] 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: seaborn, scikit-learn, pandas, 3 other tools, structural MRI / diffusion, 1 reference, 2 authors
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: 2 repositories of the authors' code, each at its verified commit and with its license, 30 scripts, and 4 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:b30ee482799c163c…
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.
