Brain maintenance biomarkers from structural and functional interactions in aging and neurodegeneration.
2 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 2 matches · 1 of them tie a paragraph to a whole file without given lines: a weak match, whose lines are not tinted
- [1] § Methods › Pathological aging validation dataset › ANOVA analysis ↔ abeta_anova_predict_model.m, lines 87 to 129 · score 0.71 · CN AD, CN MCI, MCI AD, ANOVA, HSD, Tukey · block
oscr:b:HZBKV8VN6ADNV-4· Report a mismatch - [2] § Methods › The preprocessing pipeline for functional neuroimaging data ↔ nii2gii_fs.sh, the whole file · a weak match · score 0.52 · mri_vol2surf, FreeSurfer, hemispheres · block
oscr:b:HYBSEP6EZPRD0-X· 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
MATLAB · 273 lines · 7.6 KB · no license · 1 match
- maindir = 'E:\CR_result\abeta';
- cd(maindir);
- load('result.mat');
- z_ad_fre = zscore(ad_fre_group);
- z_ad_val = zscore(ad_val_group);
- z_mci_fre = zscore(mci_fre_group);
- z_mci_val = zscore(mci_val_group);
- z_cn_fre = zscore(cn_fre_group);
- z_cn_val = zscore(cn_val_group);
- r_cn=[];
- p_cn=[];
- for i = 1:400
- fre = cn_value(i,:);
- val = cn_fre(i,:);
- [r,p] = corr(fre',val');
- r_cn = cat(1,r_cn,r);
- p_cn = cat(1,p_cn,p);
- end
- r_mci=[];
- p_mci=[];
- for i = 1:400
- fre = mci_value(i,:);
- val = mci_fre(i,:);
- [r,p] = corr(fre',val');
- r_mci = cat(1,r_mci,r);
- p_mci = cat(1,p_mci,p);
- end
- r_ad=[];
- p_ad=[];
- for i = 1:400
- fre = ad_value(i,:);
- val = ad_fre(i,:);
- [r,p] = corr(fre',val');
- r_ad = cat(1,r_ad,r);
- p_ad = cat(1,p_ad,p);
- end
- q_cn = mafdr(p_cn);
- q_mci = mafdr(p_mci);
- q_ad = mafdr(p_ad);
- label_cn = find(q_cn<0.001);
- label_mci = find(q_mci<0.001);
- label_ad = find(q_ad<0.001);
- %%
- data = readtable('total.xlsx');
- age = data.age;
- gender = data.gender;
- edu = data.edu;
- % 中心化协变量
- age_cen = bsxfun(@minus, age, mean(age));
- gender_cen = bsxfun(@minus, gender, mean(gender));
- edu_cen = bsxfun(@minus, edu, mean(edu));
- X = [age_cen, gender_cen, edu_cen]; % 合并自变量
- % 构建回归模型
- residuals_total = [];
- for i = 1:400
- data = table(age_cen, gender_cen, edu_cen, value_total(i,:)', ...
- 'VariableNames', {'Age', 'Gender', 'Edu', 'Value'});
- % 进行回归(自动处理分类变量)
- mdl = fitlm(data, 'Value ~ Age + Gender + Edu');
- % 提取残差
- residuals = mdl.Residuals.Raw;
- residuals_total = cat(2,residuals_total,residuals);
- end
- residuals_total = residuals_total';
- group = data.cognitive_change;
- cn = find(group==0);
- mci = find(group==1);
- ad = find(group==2);
- cn_value = value_total(:,cn);
- mci_value = value_total(:,mci);
- ad_value = value_total(:,ad);
- cn_resi = residuals_total(:,cn);
- mci_resi = residuals_total(:,mci);
- ad_resi = residuals_total(:,ad);
- cn_resi = residuals_total(CR_label,cn);
- mci_resi = residuals_total(CR_label,mci);
- ad_resi = residuals_total(CR_label,ad);
- %% anova
- p_cn_mci = [];
- f_cn_mci = [];
- c_cn_mci = [];
- for i = 1:400
- % 示例数据(替换为你的实际数据)
- Group1 = cn_resi(i,:);
- Group2 = mci_resi(i,:);
- Group3 = ad_resi(i,:);
- % 合并数据并创建分组标签
- data = [Group1, Group2, Group3];
- groups = [repmat({'Group1'}, 1, length(Group1)), ...
- repmat({'Group2'}, 1, length(Group2)), ...
- repmat({'Group3'}, 1, length(Group3))];
- % 单因素方差分析
- [p, tbl, stats] = anova1(data, groups, 'off');
- [c, m, ~, gnames] = multcompare(stats, 'CType', 'tukey-kramer', 'Display', 'off');
- c2 = [c,[i;i;i]];
- p_cn_mci = cat(1,p_cn_mci,p);
- f_cn_mci = cat(1,f_cn_mci,tbl{2,5});
- c_cn_mci = cat(3,c_cn_mci,c2);
- end
- label_cn_mci_ad = find(p_cn_mci<0.05);
- c_cn_mci_ad = c_cn_mci(:,:,label_cn_mci_ad);
- B = permute(c_cn_mci_ad, [1, 3, 2]); % 调整维度顺序为3×32×6
- c_shaped = reshape(B, [96, 7]); % 展开为96×6
- label_cn_mci_ad = find(c_shaped(:,6)<0.05);
- c_cn_mci_ad = c_shaped(label_cn_mci_ad,:);
- label_cn_mci = find(c_cn_mci_ad(:,2)==2);
- c_cn_mci = c_cn_mci_ad(label_cn_mci,:);
- label_cn_ad = find(c_cn_mci_ad(:,2)==3);
- c_cn_ad = c_cn_mci_ad(label_cn_ad,:);
- parcel_cn_mci = label
- parcel_cn_ad =
- % 使用multcompare函数(基于Tukey方法)
- figure;
- %[c, m, ~, gnames] = multcompare(stats, 'CType', 'tukey-kramer', 'Display', 'off');
- [c, m, ~, gnames] = multcompare(stats, 'CType', 'tukey-kramer', 'Display', 'off');
- disp('Tukey HSD结果:');
- disp([gnames(c(:,1)), gnames(c(:,2)), num2cell(c(:,3:6))]);
- %% 分组CN MCI AD预测
- data = readtable("total.xlsx");
- group = data.cognitive_change;
- cn = find(group==0);
- mci = find(group==1);
- ad = find(group==2);
- cn_resi = residuals_total(:,cn);
- mci_resi = residuals_total(:,mci);
- ad_resi = residuals_total(:,ad);
- cn_abeta = abeta(:,cn);
- mci_abeta = abeta(:,mci);
- ad_abeta = abeta(:,ad);
- pred_cn = [];
- error_cn = [];
- % 留一法线性预测
- for n = 1:400
- X = cn_resi(n,:);
- Y = cn_abeta(n,:);
- % 初始化存储预测结果的向量
- predictions = zeros(size(Y));
- for i = 1:length(Y)
- % 留一法:第i个样本作为测试集,其余作为训练集
- trainIdx = [1:i-1, i+1:length(Y)];
- testIdx = i;
- % 训练线性回归模型
- mdl = fitlm(X(trainIdx), Y(trainIdx));
- % 预测被留出的样本
- predictions(testIdx) = predict(mdl, X(testIdx));
- end
- % 计算性能指标
- mse = mean((Y - predictions).^2);
- rmse = sqrt(mse);
- r2 = 1 - sum((Y - predictions).^2)/sum((Y - mean(Y)).^2);
- error = [mse,rmse,r2];
- error_cn = cat(1,error_cn,error);
- pred_cn = cat(2,pred_cn,predictions);
- end
- baseline_rmse = [];
- for i = 1:400
- % 计算均值模型的RMSE
- Y = cn_abeta(i,:)'; % 确保为列向量
- baseline_pred = mean(Y)*ones(size(Y));
- baseline = sqrt(mean((Y - baseline_pred).^2));
- baseline_rmse = cat(1,baseline_rmse,baseline);
- end
- rmse_diff = error_cn(:,2)-baseline_rmse;
- label_pred_cn = find(rmse_diff<0);
- rmse_pred_cn = 1./error_cn(label_pred_cn,2);
- pred_mci = [];
- error_mci = [];
- % 留一法线性预测
- for n = 1:400
- X = mci_resi(n,:);
- Y = mci_abeta(n,:);
- % 初始化存储预测结果的向量
- predictions = zeros(size(Y));
- for i = 1:length(Y)
- % 留一法:第i个样本作为测试集,其余作为训练集
- trainIdx = [1:i-1, i+1:length(Y)];
- testIdx = i;
- % 训练线性回归模型
- mdl = fitlm(X(trainIdx), Y(trainIdx));
- % 预测被留出的样本
- predictions(testIdx) = predict(mdl, X(testIdx));
- end
- % 计算性能指标
- mse = mean((Y - predictions).^2);
- rmse = sqrt(mse);
- r2 = 1 - sum((Y - predictions).^2)/sum((Y - mean(Y)).^2);
- error = [mse,rmse,r2];
- error_mci = cat(1,error_mci,error);
- pred_mci = cat(2,pred_mci,predictions);
- end
- baseline_rmse_mci = [];
- for i = 1:400
- % 计算均值模型的RMSE
- Y = mci_abeta(i,:)'; % 确保为列向量
- baseline_pred = mean(Y)*ones(size(Y));
- baseline = sqrt(mean((Y - baseline_pred).^2));
- baseline_rmse_mci = cat(1,baseline_rmse_mci,baseline);
- end
- rmse_diff = error_mci(:,2)-baseline_rmse_mci;
- label_pred_mci = find(rmse_diff<0);
- rmse_pred_mci = 1./error_cn(label_pred_mci,2);
- pred_ad = [];
- error_ad = [];
- % 留一法线性预测
- for n = 1:400
- X = ad_resi(n,:);
- Y = ad_abeta(n,:);
- % 初始化存储预测结果的向量
- predictions = zeros(size(Y));
- for i = 1:length(Y)
- % 留一法:第i个样本作为测试集,其余作为训练集
- trainIdx = [1:i-1, i+1:length(Y)];
- testIdx = i;
- % 训练线性回归模型
- mdl = fitlm(X(trainIdx), Y(trainIdx));
- % 预测被留出的样本
- predictions(testIdx) = predict(mdl, X(testIdx));
- end
- % 计算性能指标
- mse = mean((Y - predictions).^2);
- rmse = sqrt(mse);
- r2 = 1 - sum((Y - predictions).^2)/sum((Y - mean(Y)).^2);
- error = [mse,rmse,r2];
- error_ad = cat(1,error_ad,error);
- pred_ad = cat(1,pred_ad,predictions);
- end
- baseline_rmse_ad = [];
- for i = 1:400
- % 计算均值模型的RMSE
- Y = mci_abeta(i,:)'; % 确保为列向量
- baseline_pred = mean(Y)*ones(size(Y));
- baseline = sqrt(mean((Y - baseline_pred).^2));
- baseline_rmse_ad = cat(1,baseline_rmse_ad,baseline);
- end
- rmse_diff = error_ad(:,2)-baseline_rmse_ad;
- label_pred_ad = find(rmse_diff<0);
- rmse_pred_ad = 1./error_cn(label_pred_ad,2);
abeta_anova_predict_model.m at commit ae40d1c, no license · at the source
Overview
- State Key Laboratory of Cognitive Neuroscience and Learning, Beijing Normal University, Beijing, China
- Beijing Key Laboratory of Cognitive Intelligence for Elderly Brain Health, Faculty of Psychology, Beijing Normal University, Beijing, China
- Beijing Aging Brain Rejuvenation Initiative (BABRI) Centre, Beijing Normal University, Beijing, China
- Institute for Advanced Study, Beijing Normal University, Beijing, China
- Innovation Institute of Integrated Traditional Chinese and Western Medicine, Shandong First Medical University & Shandong Academy of Medical Sciences, Jinan, Shandong China
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 2 matches between paragraphs and lines of code.
Rainmon2020/Cognitive-Reserve
ae40d1cc1ebb0f313f32ddd4e1a3034e67c9f91a, 18 March 2026Availability: 1 check, the latest on 28 September 2026: the link answers
- 28 September 2026: the link answers
6 files
- CR_recon_young.py, Python, 57 lines
- abeta_anova_predict_mode
l.m , MATLAB, 273 lines, 1 match - gen_func_mat.py, Python, 36 lines
- nii2gii_fs.sh, Shell, 18 lines, 1 match
- young2old_CR.m, MATLAB, 117 lines
- README.md, Text, 11 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: Rainmon2020/
Cognitive-Reserve
Read it in the paper: doi.org/10.1038/s41467-026-73071-7.
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;
- 5 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.
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:
- no repository, dataset or request procedure was recognized in it
Read it in the paper: doi.org/10.1038/s41467-026-73071-7.
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, 4 authors, 3 keywords, 14 MeSH terms, 101 references.
Cite
This paper
Li, Y., Zhang, X., Li, X., & Zhang, Z. (2026). Brain maintenance biomarkers from structural and functional interactions in aging and neurodegeneration. Nature communications, 17(1), 6908. https://
BibTeX
@article{li2026brain,
author = {Li, Yumeng and Zhang, Xinyue and Li, Xin and Zhang, Zhanjun},
title = {{Brain maintenance biomarkers from structural and functional interactions in aging and neurodegeneration}},
journal = {Nature communications},
year = {2026},
month = may,
volume = {17},
number = {1},
pages = {6908},
publisher = {Nature Publishing Group},
issn = {2041-1723},
doi = {10.1038/
url = {https://
pmid = {42204140},
pmcid = {PMC13389195}
}
RIS
TY - JOUR
AU - Li, Yumeng
AU - Zhang, Xinyue
AU - Li, Xin
AU - Zhang, Zhanjun
TI - Brain maintenance biomarkers from structural and functional interactions in aging and neurodegeneration
T2 - Nature communications
J2 - Nat Commun
PY - 2026
DA - 2026/
VL - 17
IS - 1
SP - 6908
SN - 2041-1723
PB - Nature Publishing Group
DO - 10.1038/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1038/
"type": "article-journal",
"title": "Brain maintenance biomarkers from structural and functional interactions in aging and neurodegeneration",
"container-title": "Nature communications",
"author": [
{
"family": "Li",
"given": "Yumeng"
},
{
"family": "Zhang",
"given": "Xinyue"
},
{
"family": "Li",
"given": "Xin"
},
{
"family": "Zhang",
"given": "Zhanjun"
}
],
"container-title-short":
"volume": "17",
"issue": "1",
"page": "6908",
"DOI": "10.1038/
"PMID": "42204140",
"PMCID": "PMC13389195",
"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/s41398-026-04081-8 [code]
- Functional system-specific brain aging across the Alzheimer's disease continuum.Journal: Translational psychiatryIn common: FreeSurfer, NiBabel, SciPy, 1 other tool, Alzheimer's / dementia, structural MRI / diffusion, clinical / translational, 2 references, author Zhanjun Zhang
- [2] doi:10.1038/s42003-025-07501-5 [code]
- Uncovering narrative aging: an underlying neural mechanism compensated through spatial constructional ability.Journal: Communications biologyIn common: Statistics and Machine Learning Toolbox, structural MRI / diffusion, 4 references, author Xin Li
- [3] doi:10.3389/fnagi.2025.1535657
- Investigating dynamic brain functional redundancy as a mechanism of cognitive reserve.Journal: Frontiers in aging neuroscienceIn common: structural MRI / diffusion, 8 references
- [4] doi:10.1111/jnp.70039
- Educational attainment mitigates hippocampal-related episodic memory decline in individuals at risk of Alzheimer's disease.Journal: Journal of neuropsychologyIn common: Alzheimer's / dementia, structural MRI / diffusion, 7 references
- [5] doi:10.1073/pnas.2527522123 [code]
- Correspondence of large-scale functional brain network decline across aging mice and humans.Journal: Proceedings of the National Academy of Sciences of the United States of AmericaIn common: FreeSurfer, NiBabel, Statistics and Machine Learning Toolbox, 2 other tools, 5 references
- [6] doi:10.1038/s41398-024-03200-7 [code]
- Disorder-specific neurodynamic features in schizophrenia inferred by neurodynamic embedded contrastive variational autoencoder model.Journal: Translational psychiatryIn common: FreeSurfer, NiBabel, Statistics and Machine Learning Toolbox, 2 other tools, 1 reference, author Zhanjun Zhang
- [7] doi:10.1038/s41586-023-06098-1 [code]
- Geometric constraints on human brain function.Journal: NatureIn common: FreeSurfer, NiBabel, Statistics and Machine Learning Toolbox, 2 other tools, structural MRI / diffusion, 5 references
- [8] doi:10.1371/journal.pbio.3003856 [code]
- Aging and metabolism contribute separately to brain-body health.Journal: PLoS biologyIn common: FreeSurfer, NiBabel, Statistics and Machine Learning Toolbox, 2 other tools, structural MRI / diffusion, clinical / translational, 4 references
- [9] doi:10.1038/s41467-025-66354-y [code]
- Vulnerability to memory decline in aging revealed by a mega-analysis of structural brain change.Journal: Nature communicationsIn common: NumPy, Alzheimer's / dementia, structural MRI / diffusion, 6 references
- [10] doi:10.1523/eneuro.0212-22.2022 [code]
- Structural and Functional MRI Data Differentially Predict Chronological Age and Behavioral Memory Performance.Journal: eNeuroIn common: Statistics and Machine Learning Toolbox, structural MRI / diffusion, 6 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, 5 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:3a2d805e09da636c…
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.1038/s41467-026-73071-7)
<!-- oscr-badge:end -->reStructuredText
.. oscr-badge:start
.. image:: https://openscicode.org/badge/doi/10.1038/s41467-026-73071-7.svg
:target: https://openscicode.org/badge/doi/10.1038/s41467-026-73071-7
:alt: OSCR
.. oscr-badge:endHTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.1038/s41467-026-73071-7"><img src="https://openscicode.org/badge/doi/10.1038/s41467-026-73071-7.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.
