Predicting future brain atrophy based on longitudinal MRI.
The 2 matches
- [1] § Methods › Implementation and performance evaluation ↔ Models.R, lines 1–50 · score 0.68 · Pearson correlation coefficient, absolute error, metrics, glmnet, brain, models
- [2] § Methods › Implementation and performance evaluation ↔ Models.R, lines 1–50 · score 0.54 · correlation coefficients, confidence intervals, error
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 · 120 lines · 3.9 KB · MIT · 2 matches
- # Elastic Net Model for Predicting Brain Atrophy
- # Author: Maryam Hadji, University of Eastern Finland, Kuopio, Finland ([email hidden])
- # Last updated: 20.Feb.2025
- # Requirements:
- # R version 4.3.1 or later
- # install.packages("glmnet")
- # install.packages("caret", dependencies = c("Depends", "Suggests"))
- # install.packages("Metrics")
- # Usage:
- # Set working directory to the directory containing this script
- # source('ENLR.R')
- # Parameters:
- # model_type: An integer (1, 2, 3, or 4) indicating the model configuration to use
- # Y: response variable (hippocampal atrophy percentage)
- # seed: seed number for reproducible results
- # Returned values:
- # A list of model performance metrics including:
- # - Pearson_R: Pearson correlation coefficients
- # - Spearman_R: Spearman correlation coefficients
- # - allmae: Mean Absolute Error values
- # - CI: Confidence Intervals for predictions
- # - coef_all: Coefficients from the model
- # Model name
- # 1-BL_ MRI only
- # 2-BL_ MRI+Riskfactors
- # 3-Longitudinal_ MRI only
- # 4-Longitudinal_ MRI+Riskfactors
- # Load Required Libraries
- library(Matrix)
- library(ggplot2)
- library(lattice)
- library(Metrics)
- library(caret)
- library(randomForest)
- library(dplyr)
- library(glmnet)
- # Load Custom Functions
- source("Functions/ENLR.R")
- source("Functions/conf_int_2.R")
- # Load Data
- load("TotalData_bl_24_48.Rdata")
- # Function to Calculate Annualized Percentage Change
- Annualized_percentage_change <- function(MRI_24, MRI_48, region = "hippocampus") {
- if (region == "hippocampus") {
- region_24 <- rowMeans(MRI_24[, c("Right Hippocampus", "Left Hippocampus")], na.rm = TRUE)
- region_48 <- rowMeans(MRI_48[, c("Right Hippocampus", "Left Hippocampus")], na.rm = TRUE)
- } else if (region == "ventricles") {
- region_24 <- rowMeans(MRI_24[, c("Right Inf Lat Vent", "Left Inf Lat Vent",
- "Right Lateral Ventricle", "Left Lateral Ventricle")], na.rm = TRUE)
- region_48 <- rowMeans(MRI_48[, c("Right Inf Lat Vent", "Left Inf Lat Vent",
- "Right Lateral Ventricle", "Left Lateral Ventricle")], na.rm = TRUE)
- } else if (region == "TGM") {
- region_24 <- totalgray_24
- region_48 <- totalgray_48
- } else {
- stop("Invalid region specified. Choose 'hippocampus', 'ventricles', or 'TGM'.")
- }
- return(((region_24 - region_48) / region_24) * 100 / 2)
- }
- # Function to Prepare Data and Run Elastic Net Model
- run_model <- function(model_type, region = "hippocampus", seed = 123) {
- set.seed(seed)
- # Calculate Atrophy Rate for Selected Region
- Y <- Annualized_percentage_change(MRI_24, MRI_48, region)
- if (model_type == 1) {
- Xdata <- cbind(MRI_24, Feild_strengt)
- } else if (model_type == 2) {
- Xdata <- cbind(MRI_24, Age, sex, DX_24, Feild_strengt)
- } else if (model_type == 3) {
- Xdata <- cbind(MRI_24, MRI_24bl, Feild_strengt)
- } else if (model_type == 4) {
- Xdata <- cbind(MRI_24, MRI_24bl, Age, sex, APOE4, DX_24, Feild_strengt)
- } else {
- stop("Invalid model type. Choose 1, 2, 3, or 4.")
- }
- RID <- rownames(Xdata)
- # Normalization
- normParam <- preProcess(Xdata, method = c("center", "scale"))
- Xdata <- predict(normParam, Xdata)
- Pearson_R <- vector()
- Spearman_R <- vector()
- allmae <- vector()
- yhat_pred <- matrix(0, nrow = length(RID), ncol = 10)
- coef_all <- list()
- for (ll in 1:10) {
- res <- ENLR(Xdata, Y, 0.5, ll)
- coef_all[[ll]] <- res$coefs
- yhat_pred[, ll] <- res$yhat
- Pearson_R <- c(Pearson_R, res$pearson_cor)
- Spearman_R <- c(Spearman_R, res$spearman_cor)
- allmae <- c(allmae, res$MAE)
- }
- # Confidence Interval calculation
- CI <- conf_int(yhat_pred, Y, nboot = 1000, alpha = 0.05)
- save(Pearson_R, Spearman_R, allmae, yhat_pred, Y, coef_all, CI, DX_bl, DX,
- file = paste0("Results/Model_", model_type, "_", region, "_ENLR.Rdata"))
- return(list(Pearson_R = mean(Pearson_R), Spearman_R = mean(Spearman_R),
- allmae = mean(allmae), CI = CI, coef_all = coef_all))
- }
Models.R at commit b57f8b7, under MIT · at the source
Overview
Abstract
Background: Neuron loss is a hallmark of neurodegenerative diseases and leads to brain atrophy detectable with magnetic resonance imaging (MRI). Accurate prediction of future atrophy is valuable for research in Alzheimer's disease (AD) and related dementias.
Objective: This study aimed to predict annualized percentage changes in hippocampal, ventricular, and total gray matter (TGM) volumes in individuals ranging from cognitively normal to dementia, and to evaluate whether longitudinal MRI-derived change measures improve prediction performance compared with single-time-point MRI information.
Methods: Using elastic net regression, we compared baseline models based on single-timepoint MRI information with longitudinal models incorporating prior MRI-derived change measures. Both approaches were evaluated as MRI-only and MRI + risk-factor variants, with risk factors including age, sex, APOE4, and diagnostic status.
Results: In cross-validated analyses using the Alzheimer's Disease Neuroimaging Initiative (ADNI) cohort, the longitudinal MRI + risk-factor model performed best, yielding Pearson correlations of 0.62 for hippocampal atrophy, 0.51 for ventricular enlargement, and 0.41 for TGM atrophy. Longitudinal models consistently outperformed single time-point models, and adding risk factors improved predictive performance beyond MRI alone. External validation using the Australian Imaging, Biomarkers and Lifestyle cohort confirmed these findings. Predicted atrophy outperformed present-day regional volumes in identifying individuals progressing from normal cognition to MCI/
Conclusions: MRI-derived longitudinal features enhance atrophy prediction, and predicted atrophy rates provide sensitive markers of future cognitive decline. These findings support the potential utility of predicted atrophy for cohort enrichment and therapeutic trial design.
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 2 matches between paragraphs and lines of code.
MaryamHadji/Future-prediction
b57f8b7df185c9ac36a0039758c38f14f350d857, 3 October 2025Availability: 1 check, the latest on 27 September 2026: the link answers
- 27 September 2026: the link answers
14 files
- AUC.R, R, 80 lines
- Annualized percentage change.R, R, 27 lines
- Barplot.R, R, 112 lines
- ENLR.R, R, 76 lines
- External Evaluation_Conversion_CN
.R , R, 76 lines - External Evaluation_Conversion_MC
I.R , R, 76 lines - Models.R, R, 120 lines, 2 matches
- Progression Prediction_CN.R, R, 91 lines
- Progression Prediction_MCI.R, R, 83 lines
- Pvalue.R, R, 47 lines
- ROC_Values.R, R, 81 lines
- ScatterPlot.R, R, 66 lines
- LICENSE, License, 21 lines
- README.md, Text, 41 lines
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;
- 2 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.
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 → IOS Press
Version 1, 27 September 2026: the first record
Recorded: type, language, journal, volume, issue, pages, dates, 3 authors, 9 keywords, 14 MeSH terms, 3 funders, 54 references.
Cite
This paper
Hadji, M., Moradi, E., & Tohka, J. (2026). Predicting future brain atrophy based on longitudinal MRI. Journal of Alzheimer's disease : JAD, 113(2), 796-812. https://
BibTeX
@article{hadji2026predic
author = {Hadji, Maryam and Moradi, Elaheh and Tohka, Jussi},
title = {{Predicting future brain atrophy based on longitudinal MRI}},
journal = {Journal of Alzheimer's disease : JAD},
year = {2026},
month = jul,
volume = {113},
number = {2},
pages = {796--812},
publisher = {IOS Press},
issn = {1387-2877},
doi = {10.1177/
url = {https://
pmid = {42517811},
pmcid = {PMC13554364}
}
RIS
TY - JOUR
AU - Hadji, Maryam
AU - Moradi, Elaheh
AU - Tohka, Jussi
TI - Predicting future brain atrophy based on longitudinal MRI
T2 - Journal of Alzheimer's disease : JAD
J2 - J Alzheimers Dis
PY - 2026
DA - 2026/
VL - 113
IS - 2
SP - 796
EP - 812
SN - 1387-2877
PB - IOS Press
DO - 10.1177/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1177/
"type": "article-journal",
"title": "Predicting future brain atrophy based on longitudinal MRI",
"container-title": "Journal of Alzheimer's disease : JAD",
"author": [
{
"family": "Hadji",
"given": "Maryam"
},
{
"family": "Moradi",
"given": "Elaheh"
},
{
"family": "Tohka",
"given": "Jussi"
}
],
"container-title-short":
"volume": "113",
"issue": "2",
"page": "796-812",
"DOI": "10.1177/
"PMID": "42517811",
"PMCID": "PMC13554364",
"ISSN": "1387-2877",
"publisher": "IOS Press",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
7,
28
]
]
}
}
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.3390/ijms27156925 [code]
- XGBoost-SHAP Interpretable Modeling Identifies and Validates an Eight-Gene Biomarker for Hepatic Encephalopathy Risk Prediction in Cirrhosis.Journal: International journal of molecular sciencesIn common: randomForest, glmnet, pROC, 3 other tools
- [2] doi:10.7717/peerj.21426 [code]
- Integrated transcriptomic identification and validation reveal key autophagy-associated biomarkers in sleep deprivation.Journal: PeerJIn common: randomForest, glmnet, pROC, 3 other tools
- [3] doi:10.1080/20002297.2026.2705667 [code]
- Oral microbiota dysbiosis related to the cortical thinning and cognitive impairment in cerebral small vessel disease.Journal: Journal of oral microbiologyIn common: glmnet, pROC, caret, 2 other tools, Alzheimer's / dementia, structural MRI / diffusion
- [4] doi:10.1186/s40168-026-02342-8 [code]
- Impacts of host genetics on gut microbiome composition in Alzheimer's disease.Journal: MicrobiomeIn common: randomForest, pROC, caret, 2 other tools, Alzheimer's / dementia
- [5] doi:10.21037/jtd-2026-0997 [code]
- Machine learning models based on XGBoost algorithm to predict prognosis of lung cancer brain metastases.Journal: Journal of thoracic diseaseIn common: randomForest, pROC, caret, 2 other tools, clinical / translational
- [6] doi:10.1093/braincomms/fcag146 [code]
- Convergent structural brain alterations in chronic pain: a multi-metric individual participant data meta-analysis.Journal: Brain communicationsIn common: glmnet, pROC, caret, 2 other tools, structural MRI / diffusion
- [7] doi:10.1093/neuonc/noag128 [code]
- Spatially-resolved single-cell imaging of melanoma brain metastases identifies localized immune patterns predictive of immune checkpoint blockade response.Journal: Neuro-oncologyIn common: glmnet, pROC, caret, 2 other tools, clinical / translational
- [8] doi:10.1038/s42003-026-10957-8 [code]
- Brain defence by the extracellular matrix protein Cochlin.Journal: Communications biologyIn common: randomForest, glmnet, caret, 2 other tools
- [9] doi:10.1038/s41467-026-77170-3 [code]
- DNA methylation profiling identifies long-range epigenetic silencing of clustered protocadherins as a key determinant of meningioma progression.Journal: Nature communicationsIn common: randomForest, pROC, caret, 2 other tools
- [10] doi:10.1126/sciadv.aec9291 [code]
- Computational mechanisms of perception in autism revealed using games inspired by rodent operant tasks.Journal: Science advancesIn common: glmnet, pROC, caret, 2 other tools
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 2 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:0f4ffd50fb8c82cb…
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.
