OSCR

Individualized mapping of functional brain networks in older adulthood.

Code ↔ Paper

5 matches between paragraphs of the paper and lines of its authors' code, computed by the harvester (lexical-v1). Click a colored paragraph or line to see its counterpart.

The 5 matches
  1. [1] § Methods › IU & IADRC datasets: Detailed individualized mapping procedure ↔ network_encroachment.m, lines 1–70 · score 0.68 · lobe, Human, Template matching, MTL, PMN, PON
  2. [2] § Methods › IU dataset: Theory of mind localizer analysis ↔ PFM-Tutorial/pfm_tutorial.m, lines 76–90 · score 0.68 · Gaussian kernel, spatially smoothed, sigma, geodesic, volumes, Workbench
  3. [3] § Methods › IU & IADRC datasets: Detailed individualized mapping procedure ↔ network_state.m, lines 1–89 · score 0.67 · Template matching, MTL, PMN, PON, Tpole, VAN
  4. [4] § Methods › IU and IADRC: Image preprocessing › Denoising rest and movie-watching fMRI ↔ PFM-Tutorial/pfm_tutorial.m, lines 76–90 · score 0.64 · Gaussian kernel, spatially smoothed, geodesic, volumes, Workbench
  5. [5] § Methods › IU and IADRC: Image preprocessing › Denoising rest and movie-watching fMRI ↔ network_state.m, lines 1–89 · score 0.52 · XCP, DCAN, framewise, derivatives, filtering, censoring

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 · 176 lines · 7.2 KB · no license · 2 matches

  1. %% A tutorial covering precision functional mapping using an example dataset.
  2. %% Before you begin.
  3. % add dependencies to Matlab search path
  4. addpath(genpath([pwd '/PFM-Tutorial/Utilities']));
  5. % define path to some software packages that will be needed
  6. InfoMapBinary = '/home/charleslynch/miniconda3/bin/infomap'; % path to infomap binary; code tested on version 2.0.0
  7. WorkbenchBinary = '/usr/local/workbench/bin_linux64/wb_command'; % path to workbench binary; code tested on version 1.4.2
  8. % number of
  9. % workers
  10. nWorkers = 5;
  11. %% Step 1: Temporal Concatenation of fMRI data from all sessions.
  12. % define subject directory and name;
  13. Subdir = [pwd '/WCM-ME/derivatives/sub-ME01/'];
  14. Subject = 'ME01';
  15. % define & create
  16. % the pfm directory;
  17. PfmDir = [Subdir '/pfm/'];
  18. mkdir(PfmDir);
  19. % count the number of imaging sessions;
  20. nSessions = length(dir([Subdir '/processed_restingstate_timecourses/ses-func*']));
  21. % preallocate;
  22. ConcatenatedData = [];
  23. % sweep through
  24. % the sessions;
  25. for i = 1:nSessions
  26. % count the number of runs in this session
  27. nRuns = length(dir([Subdir '/processed_restingstate_timecourses/ses-func' sprintf('%02d',i) '/*run-*.dtseries.nii']));
  28. % sweep
  29. % through
  30. % the runs;
  31. for ii = 1:nRuns
  32. % load the denoised & fs_lr_32k surface-registered CIFTI file for run "ii" from session "i"...
  33. Cifti = ft_read_cifti_mod([Subdir '/processed_restingstate_timecourses/ses-func' sprintf('%02d',i) '/sub-' Subject '_ses-func' sprintf('%02d',i) '_task-rest_run-' sprintf('%02d',ii) '_bold_32k_fsLR.dtseries.nii']);
  34. Cifti.data = Cifti.data - mean(Cifti.data,2); % demean
  35. Tmask = load([Subdir '/processed_restingstate_timecourses/ses-func' sprintf('%02d',i) '/sub-' Subject '_ses-func' sprintf('%02d',i) '_task-rest_run-' sprintf('%02d',ii) '_bold_32k_fsLR_tmask.txt']);
  36. ConcatenatedData = [ConcatenatedData Cifti.data(:,Tmask==1)]; % 1 (Low motion timepoints) == FD < 0.3mm, 0 (High motion timepoints) == FD > 0.3mm
  37. end
  38. end
  39. % make a single CIFTI containing
  40. % time-series from all scans;
  41. ConcatenatedCifti = Cifti;
  42. ConcatenatedCifti.data = ConcatenatedData;
  43. %% Step 2: Make a distance matrix.
  44. % define fs_lr_32k midthickness surfaces;
  45. MidthickSurfs{1} = [Subdir '/fs_LR/fsaverage_LR32k/' Subject '.L.midthickness.32k_fs_LR.surf.gii'];
  46. MidthickSurfs{2} = [Subdir '/fs_LR/fsaverage_LR32k/' Subject '.R.midthickness.32k_fs_LR.surf.gii'];
  47. % make the distance matrix;
  48. pfm_make_dmat(ConcatenatedCifti,MidthickSurfs,PfmDir,nWorkers,WorkbenchBinary); %
  49. % optional: regress adjacent cortical signal from subcortex to reduce artifactual coupling
  50. % (for example, between cerebellum and visual cortex, or between putamen and insular cortex)
  51. [ConcatenatedCifti] = pfm_regress_adjacent_cortex(ConcatenatedCifti,[PfmDir '/DistanceMatrix.mat'],20);
  52. % write out the CIFTI file;
  53. ft_write_cifti_mod([Subdir '/pfm/sub-ME01_task-rest_concatenated_32k_fsLR.dtseries.nii'],ConcatenatedCifti);
  54. %% Step 3: Apply spatial smoothing.
  55. % define a range of gaussian
  56. % smoothing kernels (in sigma)
  57. KernelSizes = [0.85 1.7 2.55];
  58. % sweep a range of
  59. % smoothing kernels;
  60. for k = KernelSizes
  61. % smooth with geodesic (for surface data) and Euclidean (for volumetric data) Gaussian kernels;
  62. system([WorkbenchBinary ' -cifti-smoothing ' PfmDir '/sub-ME01_task-rest_concatenated_32k_fsLR.dtseries.nii '...
  63. num2str(k) ' ' num2str(k) ' COLUMN ' PfmDir '/sub-ME01_task-rest_concatenated_smoothed' num2str(k) '_32k_fsLR.dtseries.nii -left-surface ' MidthickSurfs{1} ' -right-surface ' MidthickSurfs{2} ' -merged-volume']);
  64. end
  65. %% Step 4: Run infomap.
  66. % load your concatenated resting-state dataset, pick whatever level of spatial smoothing you want
  67. ConcatenatedCifti = ft_read_cifti_mod([PfmDir '/sub-ME01_task-rest_concatenated_smoothed2.55_32k_fsLR.dtseries.nii']);
  68. % define inputs;
  69. DistanceMatrix = [Subdir '/pfm/DistanceMatrix.mat']; % can be path to file
  70. DistanceCutoff = 10; % in mm; usually between 10 to 30 mm works well.
  71. GraphDensities = flip([0.0001 0.0002 0.0005 0.001 0.002 0.005 0.01 0.02 0.05]); %
  72. NumberReps = 50; % number of times infomap is run;
  73. BadVertices = []; % optional, but you could include regions to ignore, if you know there is bad signal there.
  74. Structures = {'CORTEX_LEFT','CEREBELLUM_LEFT','ACCUMBENS_LEFT','CAUDATE_LEFT','PALLIDUM_LEFT','PUTAMEN_LEFT','THALAMUS_LEFT','HIPPOCAMPUS_LEFT','AMYGDALA_LEFT','ACCUMBENS_LEFT','CORTEX_RIGHT','CEREBELLUM_RIGHT','ACCUMBENS_RIGHT','CAUDATE_RIGHT','PALLIDUM_RIGHT','PUTAMEN_RIGHT','THALAMUS_RIGHT','HIPPOCAMPUS_RIGHT','AMYGDALA_RIGHT','ACCUMBENS_RIGHT'};
  75. % run infomap
  76. pfm_infomap(ConcatenatedCifti,DistanceMatrix,PfmDir,GraphDensities,NumberReps,DistanceCutoff,BadVertices,Structures,nWorkers,InfoMapBinary);
  77. % remove some intermediate files (optional)
  78. system(['rm ' Subdir '/pfm/*.net']);
  79. system(['rm ' Subdir '/pfm/*.clu']);
  80. system(['rm ' Subdir '/pfm/*Log*']);
  81. % define inputs;
  82. Input = [PfmDir '/Bipartite_PhysicalCommunities.dtseries.nii'];
  83. Output = 'Bipartite_PhysicalCommunities+SpatialFiltering.dtseries.nii';
  84. MinSize = 50; % in mm^2
  85. % perform spatial filtering
  86. pfm_spatial_filtering(Input,PfmDir,Output,MidthickSurfs,MinSize,WorkbenchBinary);
  87. %% Step 5: Algorithmic assignment of network identities to infomap communities.
  88. % load the priors;
  89. load('priors.mat');
  90. % define inputs;
  91. Ic = ft_read_cifti_mod([PfmDir '/Bipartite_PhysicalCommunities+SpatialFiltering.dtseries.nii']);
  92. Output = 'Bipartite_PhysicalCommunities+AlgorithmicLabeling';
  93. Column = 6; % column 6, representing graph density 0.01% in this example.
  94. % run the network identification algorithm;
  95. pfm_identify_networks(ConcatenatedCifti,Ic,MidthickSurfs,Column,Priors,Output,PfmDir,WorkbenchBinary);
  96. %% Step 6: Review algorithmic network assignments, optionally adjust labels manually if needed.
  97. % define inputs
  98. XLS = [PfmDir '/Bipartite_PhysicalCommunities+AlgorithmicLabeling_NetworkLabels+ManualDecisions.xls'];
  99. Output = 'Bipartite_PhysicalCommunities+FinalLabeling';
  100. % OPTIONAL: update network assignments according to manual decisions;
  101. pfm_parse_manual_decisions(Ic,Column,MidthickSurfs,Priors,XLS,Output,PfmDir,WorkbenchBinary);
  102. %% Step 7: Calculate size of each functional brain network
  103. % define inputs
  104. FunctionalNetworks = ft_read_cifti_mod([PfmDir '/Bipartite_PhysicalCommunities+FinalLabeling.dlabel.nii']);
  105. VA = ft_read_cifti_mod([Subdir '/fs_LR/fsaverage_LR32k/' Subject '.midthickness_va.32k_fs_LR.dscalar.nii']);
  106. Structures = {'CORTEX_LEFT','CORTEX_RIGHT'}; % in this case, cortex only.
  107. % calculate the size of each functional brain network
  108. NetworkSize = pfm_calculate_network_size(FunctionalNetworks,VA,Structures);
  109. close all; % blank slate
  110. H = figure; % prellocate parent figure
  111. set(H,'position',[1 1 325 400]); hold;
  112. % unique functional networks;
  113. uCi = unique(nonzeros(FunctionalNetworks.data));
  114. % sweep through
  115. % the networks;
  116. for i = 1:length(uCi)
  117. Tmp = nan(1,length(Priors.NetworkLabels));
  118. Tmp(i) = NetworkSize(i);
  119. barh(Tmp,'FaceColor',Priors.NetworkColors(i,:));
  120. text((NetworkSize(i)+0.1),i,[num2str(NetworkSize(i),3) '%']);
  121. end
  122. % make it pretty;
  123. yticklabels(Priors.NetworkLabels);
  124. yticks(1:length(uCi)); ylim([0 21]);
  125. xlim([0 20]); xticks(0:5:20);
  126. set(gca,'fontname','arial','fontsize',10,'TickLength',[0 0],'TickLabelInterpreter','none');
  127. xlabel('% of Cortical Surface');
  128. print(gcf,[PfmDir '/FunctionalNetworkSizes'],'-dpdf');

pfm_tutorial.m at commit 454a28f, no license · at the source

Overview

  1. Psychological and Brain Sciences Department, Indiana University Bloomington, Bloomington, IN, United States
  2. Department of Internal Medicine, Section on Gerontology and Geriatric Medicine, Wake Forest University School of Medicine, Winston-Salem, NC, United States
  3. Indiana Alzheimer’s Disease Research Center, Indiana University School of Medicine, Indianapolis, IN, United States
  4. Radiology and Imaging Sciences, Indiana University School of Medicine, Indianapolis, IN, United States
  5. Stark Neurosciences Research Institute, Indiana University School of Medicine, Indianapolis, IN, United States
  6. Center for Neuroimaging, Indiana University School of Medicine, Indianapolis, IN, United States
  7. Department of Neuroscience, University of Minnesota, Minneapolis, MN, United States
  8. Masonic Institute for the Developing Brain, University of Minnesota, Minneapolis, MN, United States
Journal: Imaging neuroscience (Cambridge, Mass.), volume 4, article IMAG.a.1285
Dates: received 20 February 2026; accepted 28 May 2026; published online 29 June 2026
Type: Research article · Language: English
License: CC BY
Identifiers: DOI 10.1162/imag.a.1285 · PMID 42382506 · PMCID PMC13317017 · OpenAlex W7163317241
Open access: diamond, a free copy (OpenAlex)
Status: code verified
Categories: fMRI (modality), human (organism), systems (subfield)
Methods: Spectral & time-frequency, Connectivity, Statistics, fMRI & imaging
Keywords: aging, functional magnetic resonance imaging, functional brain networks, resting-state, network segregation, precision functional mapping
Topic: Functional Brain Connectivity Studies (Cognitive Neuroscience, Neuroscience), according to OpenAlex
Funding: National Institute on Aging (AG070931, AG075044, AG083951, P30 AG072976); Lilly Endowment
Citations: not cited yet (Europe PMC); 97 references in the paper
Research resources: 2011 RRID:SCR_002502, 2019 RRID:SCR_016216

Abstract

The functional network architecture of the aging brain undergoes significant systematic and idiosyncratic changes. Emergent individualized network mapping approaches may yield better or more sensitive explanatory insight about age-related neural and behavioral variability, although most applications have focused on young adults. In the current study, we tested the validity and impact of mapping individual-specific topography in two fMRI datasets comprising 112 young (18–35 years) and 176 older adults (60–92 years). Older adults had more idiosyncratic network topography than young adults. Individualized maps from resting-state fMRI improved network homogeneity and fidelity to social cognitive task fMRI activations and exhibited intra-individual stability and inter-individual discriminability over a 2-year interval. Last, traditional group-averaged (vs. individualized) network mapping had a moderate-to-large impact on individual-level estimates of network segregation, a widely-studied measure of functional brain aging. Therefore, individualized network mapping captures important heterogeneity in older adulthood and may yield more precise characterization of neurocognitive aging.

Reproduced under the paper's license (CC BY), from the paper cited above.

Repositories

Its files are read in the Code ↔ Paper reader above, with 5 matches between paragraphs and lines of code.

DCAN-Labs/compare_matrices_to_assign_networks

License: other
State: the link answers, verified on 27 September 2026
Evidence: files inventoried
Commit: 4e32763d80a14697e9dab92b90287632ef655a84, 6 March 2026
Languages: MATLAB (57), Shell (3)
Size: 89 files, 60 scripts
Software Heritage: not archived
Found in: “Data and Code Availability”
Holds: README, license file
Not found: CITATION.cff, environment file, tests, continuous integration, documentation
Availability: 1 check, the latest on 27 September 2026: the link answers
  • 27 September 2026: the link answers
62 files

cjl2007/PFM-Depression

License: none: the authors keep all their rights
State: the link answers, verified on 27 September 2026
Evidence: files inventoried
Commit: 454a28ffef3b02d576e122d7e81ddc2ce98a4653, 18 May 2026
Languages: MATLAB (12)
Size: 15 files, 12 scripts
Software Heritage: not archived
Found in: “Data and Code Availability”
Holds: README
Not found: license file, CITATION.cff, environment file, tests, continuous integration, documentation
Availability: 1 check, the latest on 27 September 2026: the link answers
  • 27 September 2026: the link answers
13 files

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:

  • 2 repositories of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
  • 72 scripts, each with its path and the digest of its content;
  • 5 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

Data and Code Availability

The IU young and older cohort data supporting the conclusions of the current work are available upon request to the first author. The IADRC cohort data supporting the conclusions of the current work could be requested via https://medicine.iu.edu/research-centers/alzheimers. The Dworetsky HCP probabilistic network templates are publicly available at www.midbatlas.io. Data files in CIFTI format supporting the visualizations of some key results are available at https://osf.io/ys28f/. The current report used the following public code repositories to generate and analyze features of individualized network maps: https://github.com/DCAN-Labs/compare_matrices_to_assign_networks (Hermosillo et al., 2024 and https://github.com/cjl2007/PFM-Depression (Lynch et al., 2024). Effect sizes and their bootstrapped 95% confidence intervals were calculated using the MATLAB Measures of Effect Size Toolbox (https://github.com/hhentschke/measures-of-effect-size-toolbox).

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, 7 authors, 6 keywords, 2 funders, 95 references, 2 RRIDs.

Cite

This paper

Hughes, C., Krendl, A. C., French, R. C., Risacher, S. L., Wu, Y.-C., Saykin, A. J., & Betzel, R. (2026). Individualized mapping of functional brain networks in older adulthood. Imaging neuroscience (Cambridge, Mass.), 4, IMAG.a.1285. https://doi.org/10.1162/imag.a.1285

BibTeX

@article{hughes2026individualized,
author = {Hughes, Colleen and Krendl, Anne C. and French, Roberto C. and Risacher, Shannon L. and Wu, Yu-Chien and Saykin, Andrew J. and Betzel, Richard},
title = {{Individualized mapping of functional brain networks in older adulthood}},
journal = {Imaging neuroscience (Cambridge, Mass.)},
year = {2026},
month = jun,
volume = {4},
pages = {IMAG.a.1285},
publisher = {MIT Press},
issn = {2837-6056},
doi = {10.1162/imag.a.1285},
url = {https://doi.org/10.1162/imag.a.1285},
pmid = {42382506},
pmcid = {PMC13317017}
}

RIS

TY - JOUR
AU - Hughes, Colleen
AU - Krendl, Anne C.
AU - French, Roberto C.
AU - Risacher, Shannon L.
AU - Wu, Yu-Chien
AU - Saykin, Andrew J.
AU - Betzel, Richard
TI - Individualized mapping of functional brain networks in older adulthood
T2 - Imaging neuroscience (Cambridge, Mass.)
J2 - Imaging Neurosci (Camb)
PY - 2026
DA - 2026/06/29
VL - 4
SP - IMAG.a.1285
SN - 2837-6056
PB - MIT Press
DO - 10.1162/imag.a.1285
UR - https://doi.org/10.1162/imag.a.1285
LA - en
ER -

CSL-JSON

{
"id": "10.1162/imag.a.1285",
"type": "article-journal",
"title": "Individualized mapping of functional brain networks in older adulthood",
"container-title": "Imaging neuroscience (Cambridge, Mass.)",
"author": [
{
"family": "Hughes",
"given": "Colleen"
},
{
"family": "Krendl",
"given": "Anne C."
},
{
"family": "French",
"given": "Roberto C."
},
{
"family": "Risacher",
"given": "Shannon L."
},
{
"family": "Wu",
"given": "Yu-Chien"
},
{
"family": "Saykin",
"given": "Andrew J."
},
{
"family": "Betzel",
"given": "Richard"
}
],
"container-title-short": "Imaging Neurosci (Camb)",
"volume": "4",
"page": "IMAG.a.1285",
"DOI": "10.1162/imag.a.1285",
"PMID": "42382506",
"PMCID": "PMC13317017",
"ISSN": "2837-6056",
"publisher": "MIT Press",
"URL": "https://doi.org/10.1162/imag.a.1285",
"language": "en",
"issued": {
"date-parts": [
[
2026,
6,
29
]
]
}
}

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.1162/netn.a.571 [code]
Regional activity and interregional functional connectivity uniquely contribute to social cognitive judgments during movie-watching.
Journal: Network neuroscience (Cambridge, Mass.)
In common: fMRI, 10 references, 3 authors
[2] doi:10.1016/j.dcn.2026.101789 [code]
Feasibility of precision functional mapping in youth multi-echo fMRI data.
Journal: Developmental cognitive neuroscience
In common: Connectome Workbench, FieldTrip, Parallel Computing Toolbox, 1 other tool, fMRI, 13 references
[3] doi:10.1093/psyrad/kkag013 [code]
Convergent and divergent spatial topographies of individualized brain functional networks and their developmental origins.
Journal: Psychoradiology
In common: cifti-matlab, Connectome Workbench, FieldTrip, 3 other tools, fMRI, 11 references
[4] doi:10.1016/j.neuron.2026.04.011 [code]
Precision fMRI reveals densely interdigitated network patches with conserved motifs in the lateral prefrontal cortex.
Journal: Neuron
In common: Connectome Workbench, GIfTI library for MATLAB, FieldTrip, 2 other tools, fMRI, systems, 11 references
[5] doi:10.1002/hbm.70483 [code]
Untamed: Unconstrained Tensor Decomposition and Graph Node Embedding for Cortical Parcellation.
Journal: Human brain mapping
In common: cifti-matlab, Connectome Workbench, GIfTI library for MATLAB, 4 other tools, fMRI, 5 references
[6] doi:10.1162/imag.a.1222 [code]
Network-based near-scalp personalized brain stimulation targets.
Journal: Imaging neuroscience (Cambridge, Mass.)
In common: Connectome Workbench, GIfTI library for MATLAB, FieldTrip, 1 other tool, systems, 8 references
[7] doi:10.1162/imag.a.1338 [code]
Systematic fMRI signal differences across cohorts alter lifespan trajectories of functional brain networks.
Journal: Imaging neuroscience (Cambridge, Mass.)
In common: cifti-matlab, GIfTI library for MATLAB, fMRI, systems, 8 references
[8] doi:10.1162/imag.a.1262 [code]
Frame-wise multi-echo distortion correction for superior functional MRI.
Journal: Imaging neuroscience (Cambridge, Mass.)
In common: Connectome Workbench, GIfTI library for MATLAB, FieldTrip, 2 other tools, fMRI, 6 references
[9] doi:10.1186/s40337-026-01671-1 [code]
Aberrant large- and mesoscale network segregation and integration in bulimia nervosa.
Journal: Journal of eating disorders
In common: cifti-matlab, GIfTI library for MATLAB, Statistics and Machine Learning Toolbox, fMRI, 7 references
[10] doi:10.1371/journal.pbio.3003856 [code]
Aging and metabolism contribute separately to brain-body health.
Journal: PLoS biology
In common: Connectome Workbench, GIfTI library for MATLAB, FieldTrip, 1 other tool, 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.

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.