Structural brain alterations associated with brain age may link to social dysfunction in male adults with autism spectrum disorder.
The 1 match · it ties a paragraph to a whole file, not to given lines: a weak match, whose lines are not tinted
- [1] § Materials and methods › Structural MRI preprocessing › VBM analysis ↔ spm_preprocess_brainageR.m, the whole file · a weak match · score 0.51 · MNI, segmented, tissue, FWHM, space, volume
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
MATLAB · 120 lines · 7.5 KB · LGPL-3.0 · 1 match
- function spm_preprocess_brainageR(t1, template_dir, spm_dir)
- addpath(spm_dir);
- % check arguments are specified
- if nargin < 3
- error('T1 raw image must be specified');
- end
- %check SPM release
- if exist('spm','file') ~= 2, error('Please install SPM12'); end
- [v,r] = spm('Ver','',1);
- if ~contains(v,'SPM12'), error('%s: Only tested on SPM12', mfilename); end
- r = str2double(r);
- if (r < 7219), error('%s: please update SPM12', mfilename); end
- if (r > 7592) && (r < 7965)
- fnm = which('spm_preproc8');
- txt = fileread(fnm);
- badStr = 'param(6)*scal^2;';
- if contains(txt,badStr)
- warning("see https://github.com/james-cole/brainageR/issues/3\n")
- error('change "%s" to "param(6)*scal;" in "%s"', badStr, fnm);
- end %bad string
- end %r 7593..7964
- spm_jobman('initcfg');
- %t1 = fullfile(pwd,t1);
- pattern = '.nii';
- replacement = '';
- fname = regexprep(t1,pattern,replacement);
- % Segment
- matlabbatch{1}.spm.spatial.preproc.channel.vols = {[t1, ',1']};
- matlabbatch{1}.spm.spatial.preproc.channel.biasreg = 0.001;
- matlabbatch{1}.spm.spatial.preproc.channel.biasfwhm = 60;
- matlabbatch{1}.spm.spatial.preproc.channel.write = [0 0];
- matlabbatch{1}.spm.spatial.preproc.tissue(1).tpm = {[spm_dir,'tpm/TPM.nii,1']};
- matlabbatch{1}.spm.spatial.preproc.tissue(1).ngaus = 2;
- matlabbatch{1}.spm.spatial.preproc.tissue(1).native = [1 1];
- matlabbatch{1}.spm.spatial.preproc.tissue(1).warped = [0 0];
- matlabbatch{1}.spm.spatial.preproc.tissue(2).tpm = {[spm_dir,'tpm/TPM.nii,2']};
- matlabbatch{1}.spm.spatial.preproc.tissue(2).ngaus = 2;
- matlabbatch{1}.spm.spatial.preproc.tissue(2).native = [1 1];
- matlabbatch{1}.spm.spatial.preproc.tissue(2).warped = [0 0];
- matlabbatch{1}.spm.spatial.preproc.tissue(3).tpm = {[spm_dir,'tpm/TPM.nii,3']};
- matlabbatch{1}.spm.spatial.preproc.tissue(3).ngaus = 2;
- matlabbatch{1}.spm.spatial.preproc.tissue(3).native = [1 1];
- matlabbatch{1}.spm.spatial.preproc.tissue(3).warped = [0 0];
- matlabbatch{1}.spm.spatial.preproc.tissue(4).tpm = {[spm_dir,'tpm/TPM.nii,4']};
- matlabbatch{1}.spm.spatial.preproc.tissue(4).ngaus = 3;
- matlabbatch{1}.spm.spatial.preproc.tissue(4).native = [0 0];
- matlabbatch{1}.spm.spatial.preproc.tissue(4).warped = [0 0];
- matlabbatch{1}.spm.spatial.preproc.tissue(5).tpm = {[spm_dir,'tpm/TPM.nii,5']};
- matlabbatch{1}.spm.spatial.preproc.tissue(5).ngaus = 4;
- matlabbatch{1}.spm.spatial.preproc.tissue(5).native = [0 0];
- matlabbatch{1}.spm.spatial.preproc.tissue(5).warped = [0 0];
- matlabbatch{1}.spm.spatial.preproc.tissue(6).tpm = {[spm_dir,'tpm/TPM.nii,6']};
- matlabbatch{1}.spm.spatial.preproc.tissue(6).ngaus = 2;
- matlabbatch{1}.spm.spatial.preproc.tissue(6).native = [0 0];
- matlabbatch{1}.spm.spatial.preproc.tissue(6).warped = [0 0];
- matlabbatch{1}.spm.spatial.preproc.warp.mrf = 1;
- matlabbatch{1}.spm.spatial.preproc.warp.cleanup = 1;
- matlabbatch{1}.spm.spatial.preproc.warp.reg = [0 0.001 0.5 0.05 0.2];
- matlabbatch{1}.spm.spatial.preproc.warp.affreg = 'mni';
- matlabbatch{1}.spm.spatial.preproc.warp.fwhm = 0;
- matlabbatch{1}.spm.spatial.preproc.warp.samp = 3;
- matlabbatch{1}.spm.spatial.preproc.warp.write = [0 0];
- % Run Dartel (existing Templates)
- matlabbatch{2}.spm.tools.dartel.warp1.images{1}(1) = cfg_dep('Segment: rc1 Images', substruct('.','val', '{}',{1}, '.','val', '{}',{1}, '.','val', '{}',{1}), substruct('.','tiss', '()',{1}, '.','rc', '()',{':'}));
- matlabbatch{2}.spm.tools.dartel.warp1.images{2}(1) = cfg_dep('Segment: rc2 Images', substruct('.','val', '{}',{1}, '.','val', '{}',{1}, '.','val', '{}',{1}), substruct('.','tiss', '()',{2}, '.','rc', '()',{':'}));
- matlabbatch{2}.spm.tools.dartel.warp1.images{3}(1) = cfg_dep('Segment: rc3 Images', substruct('.','val', '{}',{1}, '.','val', '{}',{1}, '.','val', '{}',{1}), substruct('.','tiss', '()',{3}, '.','rc', '()',{':'}));
- matlabbatch{2}.spm.tools.dartel.warp1.settings.rform = 0;
- matlabbatch{2}.spm.tools.dartel.warp1.settings.param(1).its = 3;
- matlabbatch{2}.spm.tools.dartel.warp1.settings.param(1).rparam = [4 2 1e-06];
- matlabbatch{2}.spm.tools.dartel.warp1.settings.param(1).K = 0;
- matlabbatch{2}.spm.tools.dartel.warp1.settings.param(1).template = {[template_dir,'Template_1.nii']};
- matlabbatch{2}.spm.tools.dartel.warp1.settings.param(2).its = 3;
- matlabbatch{2}.spm.tools.dartel.warp1.settings.param(2).rparam = [2 1 1e-06];
- matlabbatch{2}.spm.tools.dartel.warp1.settings.param(2).K = 0;
- matlabbatch{2}.spm.tools.dartel.warp1.settings.param(2).template = {[template_dir,'Template_2.nii']};
- matlabbatch{2}.spm.tools.dartel.warp1.settings.param(3).its = 3;
- matlabbatch{2}.spm.tools.dartel.warp1.settings.param(3).rparam = [1 0.5 1e-06];
- matlabbatch{2}.spm.tools.dartel.warp1.settings.param(3).K = 1;
- matlabbatch{2}.spm.tools.dartel.warp1.settings.param(3).template = {[template_dir,'Template_3.nii']};
- matlabbatch{2}.spm.tools.dartel.warp1.settings.param(4).its = 3;
- matlabbatch{2}.spm.tools.dartel.warp1.settings.param(4).rparam = [0.5 0.25 1e-06];
- matlabbatch{2}.spm.tools.dartel.warp1.settings.param(4).K = 2;
- matlabbatch{2}.spm.tools.dartel.warp1.settings.param(4).template = {[template_dir,'Template_4.nii']};
- matlabbatch{2}.spm.tools.dartel.warp1.settings.param(5).its = 3;
- matlabbatch{2}.spm.tools.dartel.warp1.settings.param(5).rparam = [0.25 0.125 1e-06];
- matlabbatch{2}.spm.tools.dartel.warp1.settings.param(5).K = 4;
- matlabbatch{2}.spm.tools.dartel.warp1.settings.param(5).template = {[template_dir,'Template_5.nii']};
- matlabbatch{2}.spm.tools.dartel.warp1.settings.param(6).its = 3;
- matlabbatch{2}.spm.tools.dartel.warp1.settings.param(6).rparam = [0.25 0.125 1e-06];
- matlabbatch{2}.spm.tools.dartel.warp1.settings.param(6).K = 6;
- matlabbatch{2}.spm.tools.dartel.warp1.settings.param(6).template = {[template_dir,'Template_6.nii']};
- matlabbatch{2}.spm.tools.dartel.warp1.settings.optim.lmreg = 0.01;
- matlabbatch{2}.spm.tools.dartel.warp1.settings.optim.cyc = 3;
- matlabbatch{2}.spm.tools.dartel.warp1.settings.optim.its = 3;
- % Normalise to MNI Space (segmented images)
- matlabbatch{3}.spm.tools.dartel.mni_norm.template = {[template_dir,'Template_6.nii']};
- matlabbatch{3}.spm.tools.dartel.mni_norm.data.subjs.flowfields(1) = cfg_dep('Run Dartel (existing Templates): Flow Fields', substruct('.','val', '{}',{2}, '.','val', '{}',{1}, '.','val', '{}',{1}, '.','val', '{}',{1}), substruct('.','files', '()',{':'}));
- matlabbatch{3}.spm.tools.dartel.mni_norm.data.subjs.images{1}(1) = cfg_dep('Segment: c1 Images', substruct('.','val', '{}',{1}, '.','val', '{}',{1}, '.','val', '{}',{1}), substruct('.','tiss', '()',{1}, '.','c', '()',{':'}));
- matlabbatch{3}.spm.tools.dartel.mni_norm.data.subjs.images{2}(1) = cfg_dep('Segment: c2 Images', substruct('.','val', '{}',{1}, '.','val', '{}',{1}, '.','val', '{}',{1}), substruct('.','tiss', '()',{2}, '.','c', '()',{':'}));
- matlabbatch{3}.spm.tools.dartel.mni_norm.data.subjs.images{3}(1) = cfg_dep('Segment: c3 Images', substruct('.','val', '{}',{1}, '.','val', '{}',{1}, '.','val', '{}',{1}), substruct('.','tiss', '()',{3}, '.','c', '()',{':'}));
- matlabbatch{3}.spm.tools.dartel.mni_norm.vox = [NaN NaN NaN];
- matlabbatch{3}.spm.tools.dartel.mni_norm.bb = [NaN NaN NaN
- NaN NaN NaN];
- matlabbatch{3}.spm.tools.dartel.mni_norm.preserve = 1;
- matlabbatch{3}.spm.tools.dartel.mni_norm.fwhm = [4 4 4];
- % Calculate tissue volumes
- matlabbatch{4}.spm.util.tvol.matfiles(1) = cfg_dep('Segment: Seg Params', substruct('.','val', '{}',{1}, '.','val', '{}',{1}, '.','val', '{}',{1}), substruct('.','param', '()',{':'}));
- matlabbatch{4}.spm.util.tvol.tmax = 3;
- matlabbatch{4}.spm.util.tvol.mask = {[spm_dir,'tpm/mask_ICV.nii,1']};
- matlabbatch{4}.spm.util.tvol.outf = [fname,'_tissue_volumes.csv'];
- spm('defaults', 'PET');
- spm_jobman('run', matlabbatch);
- exit;
spm_preprocess_brainageR.m at commit f944460, under LGPL-3.0 · at the source
Overview
- Department of Radiology, Xi’an Daxing Hospital Affiliated to Yan’an University, Xi’an, China
- Department of Radiology, The First Affiliated Hospital of Xi’an Jiaotong University, Xi’an, China
- Shaanxi University of Chinese Medicine, Xianyang, China
- Department of Radiology, Tangdu Hospital, The Fourth Military Medical University, Xi’an, China
Abstract
Background: While atypical brain development in autism spectrum disorder (ASD) has been extensively characterized during childhood and adolescence, it remains unclear how these neurodevelopmental deviations persist into adulthood and affect brain aging. Existing studies relying on single morphometric measures have yielded inconsistent findings, underscoring the need for integrative, multiscale neuroimaging approaches.
Materials and methods: Using data from the Autism Brain Imaging Data Exchange I (ABIDE-I) dataset, we investigated brain structural alterations in 90 adult males with ASD and 132 age-matched typically developing (TD) controls. All participants were right-handed and aged 18–55 years. Voxel-based morphometry (VBM) was employed to assess gray matter volume (GMV), and surface-based morphometry (SBM) was used to quantify cortical fractal dimension (FD). Global brain aging was evaluated using MRI-derived brain age estimation, from which the brain age gap (BAG) was calculated. Site-related effects were harmonized using the ComBat method. Group comparisons were performed for GMV, FD, and BAG using multiple linear regression, with age, full-scale IQ, and total intracranial volume included as covariates. Associations between neuroimaging metrics and Autism Diagnostic Observation Schedule (ADOS) scores were further examined.
Results: Cross-sectional comparisons demonstrated that adults with ASD exhibited higher estimated BAG values relative to TD controls (F = 6.838, p = 0.01, partial η2 = 0.031). ComBat-harmonized morphometric analyses revealed exploratory localized GMV and FD differences, including increased GMV and FD in the right precuneus and increased FD in the lingual gyrus and lateral orbitofrontal cortex. GMV in the right precuneus showed an exploratory positive correlation with ADOS social-domain scores (r = 0.214, q = 0.044).
Conclusion: Adults with ASD exhibited higher estimated BAG relative to TD controls in this cross-sectional sample. An exploratory association between right precuneus GMV and ADOS social-domain scores suggests a possible link between localized structural variation and social symptom severity, although this finding requires replication in longitudinal and clinically richer datasets given their sensitivity to the harmonization strategy.
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 1 match between paragraphs and lines of code.
james-cole/brainageR
f9444605527337b07b9a8eb2f6c8c81261aa8b61, 14 September 2026Availability: 1 check, the latest on 26 September 2026: the link answers
- 26 September 2026: the link answers
9 files
- collate_brain_ages.sh, Shell, 23 lines
- generate_submit_scripts.
sh , Shell, 13 lines - predict_new_data_gm_wm_c
sf.R , R, 74 lines - sge_submit_template.sh, Shell, 18 lines
- slurm_submit_template.sh
, Shell, 14 lines - spm_preprocess_brainageR
.m , MATLAB, 120 lines, 1 match - submit_template.sh, Shell, 14 lines
- LICENSE, License, 165 lines
- README.md, Text, 153 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;
- 7 scripts, each with its path and the digest of its content;
- 1 match 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
Publicly available datasets were analyzed in this study. This data can be found here: Autism Brain Imaging Data Exchange (ABIDE).
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 Natural Science Foundation of China: 82360355
Version 1, 27 September 2026: the first record
Recorded: type, language, journal, volume, pages, dates, 10 authors, 5 keywords, 58 references.
Cite
This paper
Xiao, G., Li, X., Qin, Y., Zhao, W., Li, X., Qian, Y., Tian, J., Chen, X., Li, W., & Wang, L. (2026). Structural brain alterations associated with brain age may link to social dysfunction in male adults with autism spectrum disorder. Frontiers in neuroscience, 20, 1795744. https://
BibTeX
@article{xiao2026structu
author = {Xiao, Gang and Li, Xiaoshi and Qin, Yue and Zhao, Wanting and Li, Xin and Qian, Yifan and Tian, Juan and Chen, Xueting and Li, Wei and Wang, Lei},
title = {{Structural brain alterations associated with brain age may link to social dysfunction in male adults with autism spectrum disorder}},
journal = {Frontiers in neuroscience},
year = {2026},
month = jul,
volume = {20},
pages = {1795744},
publisher = {Frontiers Media SA},
issn = {1662-4548},
doi = {10.3389/
url = {https://
pmid = {42582231},
pmcid = {PMC13457365}
}
RIS
TY - JOUR
AU - Xiao, Gang
AU - Li, Xiaoshi
AU - Qin, Yue
AU - Zhao, Wanting
AU - Li, Xin
AU - Qian, Yifan
AU - Tian, Juan
AU - Chen, Xueting
AU - Li, Wei
AU - Wang, Lei
TI - Structural brain alterations associated with brain age may link to social dysfunction in male adults with autism spectrum disorder
T2 - Frontiers in neuroscience
J2 - Front Neurosci
PY - 2026
DA - 2026/
VL - 20
SP - 1795744
SN - 1662-4548
PB - Frontiers Media SA
DO - 10.3389/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.3389/
"type": "article-journal",
"title": "Structural brain alterations associated with brain age may link to social dysfunction in male adults with autism spectrum disorder",
"container-title": "Frontiers in neuroscience",
"author": [
{
"family": "Xiao",
"given": "Gang"
},
{
"family": "Li",
"given": "Xiaoshi"
},
{
"family": "Qin",
"given": "Yue"
},
{
"family": "Zhao",
"given": "Wanting"
},
{
"family": "Li",
"given": "Xin"
},
{
"family": "Qian",
"given": "Yifan"
},
{
"family": "Tian",
"given": "Juan"
},
{
"family": "Chen",
"given": "Xueting"
},
{
"family": "Li",
"given": "Wei"
},
{
"family": "Wang",
"given": "Lei"
}
],
"container-title-short":
"volume": "20",
"page": "1795744",
"DOI": "10.3389/
"PMID": "42582231",
"PMCID": "PMC13457365",
"ISSN": "1662-4548",
"publisher": "Frontiers Media SA",
"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.3389/fnagi.2026.1771822 [code]
- Neuroanatomical patterns of dementia risk in autism spectrum disorder.Journal: Frontiers in aging neuroscienceIn common: RNifti, FSL, SPM, 1 other tool, autism, structural MRI / diffusion, 4 references
- [2] doi:10.1002/aur.70243
- Autism and Cortical Thickness Deviation From Neurotypical Controls: Evidence for a Spatial Association With Serotonin Receptors.Journal: Autism research : official journal of the International Society for Autism ResearchIn common: autism, structural MRI / diffusion, 5 references
- [3] doi:10.1162/imag.a.1352 [code]
- Brain-age in ultra-low-field MRI: How well does it work?Journal: Imaging neuroscience (Cambridge, Mass.)In common: RNifti, FSL, SPM, 1 other tool, structural MRI / diffusion, 1 reference
- [4] doi:10.3389/fcell.2026.1833866 [code]
- A discovery protein panel for brain predicted age discordance using MRI in neurologically healthy individuals.Journal: Frontiers in cell and developmental biologyIn common: RNifti, FSL, SPM, 1 other tool, structural MRI / diffusion, 1 reference
- [5] doi:10.1002/gps3.70014 [code]
- Correspondence between morphological similarity of the left lateral orbitofrontal cortex and neurotransmitter systems in adolescent males with autism.Journal: General psychiatryIn common: SPM, autism, structural MRI / diffusion, 4 references
- [6] doi:10.1002/hbm.70425 [code]
- Brain Age Estimation on T2-FLAIR Scans for Application to Multiple Sclerosis.Journal: Human brain mappingIn common: FSL, structural MRI / diffusion, 3 references
- [7] 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, 4 references
- [8] doi:10.1002/hbm.70559 [code]
- Replicability of Functional Brain Networks: A Study Through the Lens of Seven Resting-State Networks.Journal: Human brain mappingIn common: RNifti, tidyverse, 2 references
- [9] doi:10.1016/j.xcrm.2026.102655 [code]
- An integrative multi-omics approach identifies microbiome alterations linked to pathological and behavioral features in autism spectrum disorder.Journal: Cell reports. MedicineIn common: RNifti, tidyverse, autism, 1 reference
- [10] doi:10.1038/s41593-026-02287-z [code]
- Autism subtypes identified using cross-species functional connectivity analyses.Journal: Nature neuroscienceIn common: FSL, tidyverse, autism, 2 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, 7 scripts, and 1 match 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:40577625fb8b4684…
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.
