Clarifying and extending permutation tests on brain map correspondence through mixed-effects modeling.
The 2 matches
- [1] § Brain Map Correspondence in HCP Data › Correspondence between subject-specific brain maps ↔ python-implementation/bootstrap_inference/utils.py, lines 84–122 · score 0.61 · confidence intervals, cross terms, interaction subject, CI, residuals, bootstrap
- [2] § Brain Map Correspondence in HCP Data › Correspondence between subject-specific brain maps ↔ python-implementation/bootstrap_inference/utils.py, lines 84–122 · score 0.58 · confidence intervals, cross term, interaction subject, residuals, bootstrap
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 · 336 lines · 13 KB · no license · 2 matches
utils.py at commit 3927737, no license · at the source
Overview
- Department of Statistics, University of Pittsburgh, Pittsburgh, PA, United States
- Department of Biostatistics and Health Data Science, University of Pittsburgh, Pittsburgh, PA, United States
- Oxford Big Data Institute, Nuffield Department of Population Health, University of Oxford, Oxford, United Kingdom
- Department of Biostatistics and Bioinformatics, Emory University, Atlanta, GA, United States
- Department of Neurobiology, University of Pittsburgh, Pittsburgh, PA, United States
- The Jackson Laboratory, Bar Harbor, ME, United States
Abstract
Permutation-based methods such as the spin test, Brain Surrogate Maps with Autocorrelated Spatial Heterogeneity (BrainSMASH), and the simple permutation-based intermodal correspondence (SPICE) test are widely used to assess correspondence between brain maps while accounting for their spatial autocorrelation. However, these methods define and evaluate correspondence in fundamentally different ways, making their results difficult to compare or interpret jointly. We address these limitations by introducing a two-factor mixed-effects model that decomposes brain map variability into components arising from inter-subject variability and spatial variability across brain locations. This formulation provides a principled way to characterize distinct sources of variability in brain maps and to formally link each correspondence test to the specific component it targets. Within this framework, we further provide the analytical expressions of the null distributions of the spin test, BrainSMASH, and SPICE in terms of model parameters. This unified framework clarifies the fundamental distinctions among the permutation tests, reveals their implicit assumptions, and provides a principled way to compare and interpret their results. Beyond clarifying existing methods, the modeling framework naturally motivates a bootstrap-based method that enables simultaneous inference of multiple forms of correspondence arising from different components of brain map variability. Through extensive simulations and empirical analyses of both structural (cortical thickness vs. sulcal depth) and functional (language vs. motor contrast) brain maps, we demonstrate that the bootstrap-based method achieves well-calibrated type I error, substantially higher statistical power, and provides a robust and comprehensive characterization of different forms of brain map correspondence.
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 2 matches between paragraphs and lines of code.
spin-test/spin-test
d149e273f2dcfb3d1d3e86c4ec7293dd9e38e265, 25 August 2020Availability: 1 check, the latest on 26 September 2026: the link answers
- 26 September 2026: the link answers
89 files
- scripts/
DemonSpinFS.m — MATLAB, 97 lines - scripts/
SpinPermuCIVET.m — MATLAB, 79 lines - scripts/
SpinPermuFS.m — MATLAB, 111 lines - scripts/
SurfStat/ — MATLAB, 3 lines@random/ char.m - scripts/
SurfStat/ — MATLAB, 17 lines@random/ display.m - scripts/
SurfStat/ — MATLAB, 3 lines@random/ double.m - scripts/
SurfStat/ — MATLAB, 45 lines@random/ image.m - scripts/
SurfStat/ — MATLAB, 2 lines@random/ isempty.m - scripts/
SurfStat/ — MATLAB, 25 lines@random/ minus.m - scripts/
SurfStat/ — MATLAB, 6 lines@random/ mpower.m - scripts/
SurfStat/ — MATLAB, 73 lines@random/ mtimes.m - scripts/
SurfStat/ — MATLAB, 25 lines@random/ plus.m - scripts/
SurfStat/ — MATLAB, 136 lines@random/ random.m - scripts/
SurfStat/ — MATLAB, 5 lines@random/ size.m - scripts/
SurfStat/ — MATLAB, 2 lines@random/ subsref.m - scripts/
SurfStat/ — MATLAB, 2 lines@term/ char.m - scripts/
SurfStat/ — MATLAB, 14 lines@term/ display.m - scripts/
SurfStat/ — MATLAB, 2 lines@term/ double.m - scripts/
SurfStat/ — MATLAB, 26 lines@term/ image.m - scripts/
SurfStat/ — MATLAB, 2 lines@term/ isempty.m - scripts/
SurfStat/ — MATLAB, 28 lines@term/ minus.m - scripts/
SurfStat/ — MATLAB, 8 lines@term/ mpower.m - scripts/
SurfStat/ — MATLAB, 45 lines@term/ mtimes.m - scripts/
SurfStat/ — MATLAB, 32 lines@term/ plus.m - scripts/
SurfStat/ — MATLAB, 6 lines@term/ size.m - scripts/
SurfStat/ — MATLAB, 10 lines@term/ subsref.m - scripts/
SurfStat/ — MATLAB, 109 lines@term/ term.m - scripts/
SurfStat/ — MATLAB, 3 linesI.m - scripts/
SurfStat/ — MATLAB, 44 linesSurfStatAvSurf.m - scripts/
SurfStat/ — MATLAB, 58 linesSurfStatAvVol.m - scripts/
SurfStat/ — MATLAB, 36 linesSurfStatColLim.m - scripts/
SurfStat/ — MATLAB, 29 linesSurfStatColormap.m - scripts/
SurfStat/ — MATLAB, 48 linesSurfStatCoord2Ind.m - scripts/
SurfStat/ — MATLAB, 17 linesSurfStatDataCursor.m - scripts/
SurfStat/ — MATLAB, 28 linesSurfStatDataCursorP.m - scripts/
SurfStat/ — MATLAB, 26 linesSurfStatDataCursorQ.m - scripts/
SurfStat/ — MATLAB, 70 linesSurfStatDelete.m - scripts/
SurfStat/ — MATLAB, 78 linesSurfStatEdg.m - scripts/
SurfStat/ — MATLAB, 128 linesSurfStatF.m - scripts/
SurfStat/ — MATLAB, 39 linesSurfStatInd2Coord.m - scripts/
SurfStat/ — MATLAB, 74 linesSurfStatInflate.m - scripts/
SurfStat/ — MATLAB, 346 linesSurfStatLinMod.m - scripts/
SurfStat/ — MATLAB, 37 linesSurfStatListDir.m - scripts/
SurfStat/ — MATLAB, 23 linesSurfStatMaskCut.m - scripts/
SurfStat/ — MATLAB, 82 linesSurfStatNorm.m - scripts/
SurfStat/ — MATLAB, 106 linesSurfStatP.m - scripts/
SurfStat/ — MATLAB, 166 linesSurfStatPCA.m - scripts/
SurfStat/ — MATLAB, 147 linesSurfStatPeakClus.m - scripts/
SurfStat/ — MATLAB, 141 linesSurfStatPlot.m - scripts/
SurfStat/ — MATLAB, 66 linesSurfStatQ.m - scripts/
SurfStat/ — MATLAB, 44 linesSurfStatROI.m - scripts/
SurfStat/ — MATLAB, 113 linesSurfStatReadData.m - scripts/
SurfStat/ — MATLAB, 57 linesSurfStatReadData1.m - scripts/
SurfStat/ — MATLAB, 133 linesSurfStatReadSurf.m - scripts/
SurfStat/ — MATLAB, 164 linesSurfStatReadSurf1.m - scripts/
SurfStat/ — MATLAB, 187 linesSurfStatReadVol.m - scripts/
SurfStat/ — MATLAB, 663 linesSurfStatReadVol1.m - scripts/
SurfStat/ — MATLAB, 440 linesSurfStatResels.m - scripts/
SurfStat/ — MATLAB, 85 linesSurfStatSmooth.m - scripts/
SurfStat/ — MATLAB, 35 linesSurfStatStand.m - scripts/
SurfStat/ — MATLAB, 85 linesSurfStatSurf2Vol.m - scripts/
SurfStat/ — MATLAB, 160 linesSurfStatT.m - scripts/
SurfStat/ — MATLAB, 111 linesSurfStatView.m - scripts/
SurfStat/ — MATLAB, 309 linesSurfStatView1.m - scripts/
SurfStat/ — MATLAB, 157 linesSurfStatViewData.m - scripts/
SurfStat/ — MATLAB, 91 linesSurfStatViews.m - scripts/
SurfStat/ — MATLAB, 59 linesSurfStatVol2Surf.m - scripts/
SurfStat/ — MATLAB, 41 linesSurfStatWriteData.m - scripts/
SurfStat/ — MATLAB, 81 linesSurfStatWriteSurf.m - scripts/
SurfStat/ — MATLAB, 96 linesSurfStatWriteSurf1.m - scripts/
SurfStat/ — MATLAB, 44 linesSurfStatWriteVol.m - scripts/
SurfStat/ — MATLAB, 756 linesSurfStatWriteVol1.m - scripts/
SurfStat/ — MATLAB, 20 linesfac2var.m - scripts/
SurfStat/ — MATLAB, 60 linesgl.m - scripts/
SurfStat/ — MATLAB, 71 linesredmod.m - scripts/
SurfStat/ — MATLAB, 200 linessample.m - scripts/
SurfStat/ — MATLAB, 41 linesspectral.m - scripts/
SurfStat/ — MATLAB, 769 linesstat_threshold.m - scripts/
SurfStat/ — MATLAB, 33 linesvar2fac.m - scripts/
nearestneighbour.m — MATLAB, 380 lines - scripts/
nearestneighbour/ — MATLAB, 176 linesdemo/ nndemo.m - scripts/
nearestneighbour/ — MATLAB, not shown heredemo/ nndemo.mlx - scripts/
nearestneighbour/ — MATLAB, 30 linesdemo/ timingtest.m - scripts/
nearestneighbour/ — MATLAB, 380 linesnearestneighbour.m - scripts/
plotFSsurf.m — MATLAB, 25 lines - scripts/
pvalvsNull.m — MATLAB, 52 lines - scripts/
run_spintest.m — MATLAB, 30 lines - LICENSE — License, 21 lines
- README.md — Text, 53 lines
frantisekvasa/rotate_parcellation
65673ea7f47fca36b2982df669fc649b9a4bc5da, 29 June 2023Availability: 1 check, the latest on 26 September 2026: the link answers
- 26 September 2026: the link answers
7 files
- Matlab/
centroid_extraction_sphe — MATLAB, 33 linesre.m - Matlab/
perm_sphere_p.m — MATLAB, 93 lines - Matlab/
rotate_parcellation.m — MATLAB, 167 lines - R/
perm.sphere.p.R — R, 52 lines - R/
rotate.parcellation.R — R, 216 lines - LICENSE — License, 21 lines
- README.md — Text, 55 lines
qcwang77/brainmap-bootstrap
3927737d19b697174503e4427872c03a2d82b444, 27 May 2026Availability: 1 check, the latest on 26 September 2026: the link answers
- 26 September 2026: the link answers
7 files, not copied: shown from their source
OSCR keeps no copy of these files: this repository has no license that allows it. The reader above shows each one from its source, fetched by your browser at commit 3927737, when its fingerprint is the one OSCR verified. How this works.
- python-implementation/
bootstrap_inference/ — Python, 50 lines, shown from its source__init__.py - python-implementation/
bootstrap_inference/ — Python, 550 lines, shown from its sourcebootstrap_tests.py - python-implementation/
bootstrap_inference/ — Python, 303 lines, shown from its sourcemixed_effects_model.py - python-implementation/
bootstrap_inference/ — Python, 296 lines, shown from its sourcesimulation_utils.py - python-implementation/
bootstrap_inference/ — Python, 336 lines, 2 matches, shown from its sourceutils.py - python-implementation/
demo_simulated_data.py — Python, 241 lines, shown from its source - README.md — Text, 162 lines, shown from its source
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:
- 3 repositories of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
- 98 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 and Code Availability
The open access HCP-S1200 data can be downloaded from the data management platform ConnectomeDB: https://
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, 16 authors, 4 keywords, 6 MeSH terms, 3 funders, 49 references, 1 RRID.
Cite
This paper
Wang, Q., Peng, L., Nichols, T. E., Zou, X., Wang, Y., He, J., Zhang, Y., Tudorascu, D. L., Szczupak, D., Schaeffer, L., Rothwell, E. S., Dieckhaus, L., Sukoff Rizzo, S. J., Carter, G. W., Silva, A. C., & Zhang, T. (2026). Clarifying and extending permutation tests on brain map correspondence through mixed-effects modeling. Imaging neuroscience (Cambridge, Mass.), 4, IMAG.a.1350. https://
BibTeX
@article{wang2026clarify
author = {Wang, Qiaochu and Peng, Lingyi and Nichols, Thomas E and Zou, Xu and Wang, Yaotian and He, Jie and Zhang, Yuexin and Tudorascu, Dana L and Szczupak, Diego and Schaeffer, Lauren and Rothwell, Emily S and Dieckhaus, Laurel and Sukoff Rizzo, Stacey J and Carter, Gregory W and Silva, Afonso C and Zhang, Tingting},
title = {{Clarifying and extending permutation tests on brain map correspondence through mixed-effects modeling}},
journal = {Imaging neuroscience (Cambridge, Mass.)},
year = {2026},
month = sep,
volume = {4},
pages = {IMAG.a.1350},
publisher = {MIT Press},
issn = {2837-6056},
doi = {10.1162/
url = {https://
pmid = {42719771},
pmcid = {PMC13556793}
}
RIS
TY - JOUR
AU - Wang, Qiaochu
AU - Peng, Lingyi
AU - Nichols, Thomas E
AU - Zou, Xu
AU - Wang, Yaotian
AU - He, Jie
AU - Zhang, Yuexin
AU - Tudorascu, Dana L
AU - Szczupak, Diego
AU - Schaeffer, Lauren
AU - Rothwell, Emily S
AU - Dieckhaus, Laurel
AU - Sukoff Rizzo, Stacey J
AU - Carter, Gregory W
AU - Silva, Afonso C
AU - Zhang, Tingting
TI - Clarifying and extending permutation tests on brain map correspondence through mixed-effects modeling
T2 - Imaging neuroscience (Cambridge, Mass.)
J2 - Imaging Neurosci (Camb)
PY - 2026
DA - 2026/
VL - 4
SP - IMAG.a.1350
SN - 2837-6056
PB - MIT Press
DO - 10.1162/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1162/
"type": "article-journal",
"title": "Clarifying and extending permutation tests on brain map correspondence through mixed-effects modeling",
"container-title": "Imaging neuroscience (Cambridge, Mass.)",
"author": [
{
"family": "Wang",
"given": "Qiaochu"
},
{
"family": "Peng",
"given": "Lingyi"
},
{
"family": "Nichols",
"given": "Thomas E"
},
{
"family": "Zou",
"given": "Xu"
},
{
"family": "Wang",
"given": "Yaotian"
},
{
"family": "He",
"given": "Jie"
},
{
"family": "Zhang",
"given": "Yuexin"
},
{
"family": "Tudorascu",
"given": "Dana L"
},
{
"family": "Szczupak",
"given": "Diego"
},
{
"family": "Schaeffer",
"given": "Lauren"
},
{
"family": "Rothwell",
"given": "Emily S"
},
{
"family": "Dieckhaus",
"given": "Laurel"
},
{
"family": "Sukoff Rizzo",
"given": "Stacey J"
},
{
"family": "Carter",
"given": "Gregory W"
},
{
"family": "Silva",
"given": "Afonso C"
},
{
"family": "Zhang",
"given": "Tingting"
}
],
"container-title-short":
"volume": "4",
"page": "IMAG.a.1350",
"DOI": "10.1162/
"PMID": "42719771",
"PMCID": "PMC13556793",
"ISSN": "2837-6056",
"publisher": "MIT Press",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
9,
8
]
]
}
}
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/s41467-026-73668-y [code]
- Convergent and divergent brain-cognition development in early adolescence.Journal: Nature communicationsIn common: FreeSurfer, NumPy, 7 references, author Thomas E Nichols
- [2] doi:10.1038/s41467-026-75959-w [code]
- Charting higher-order models of brain function beyond pairwise interactions.Journal: Nature communicationsIn common: NumPy, 13 references
- [3] doi:10.21203/rs.3.rs-9326213/v1 [code]
- Multi-task fMRI outperforms resting-state fMRI for revealing task-invariant organization of the human brainJournal: Research Square (preprint)In common: FreeSurfer, NumPy, 7 references
- [4] doi:10.1162/imag.a.1354 [code]
- Development of a 24-channel 3T phased-array coil for fMRI in awake monkeys: Mitigating spatiotemporal artifacts in ferumoxytol-weighted functional connectivity estimation.Journal: Imaging neuroscience (Cambridge, Mass.)In common: FreeSurfer, 7 references
- [5] doi:10.1371/journal.pbio.3003856 [code]
- Aging and metabolism contribute separately to brain-body health.Journal: PLoS biologyIn common: FreeSurfer, NumPy, structural MRI / diffusion, 6 references
- [6] doi:10.1523/jneurosci.0729-25.2026 [code]
- Human Cerebral Blood Flow Activity with Diurnal Variation Differentially Correlated with the Suprachiasmatic Nucleus.Journal: The Journal of neuroscience : the official journal of the Society for NeuroscienceIn common: 8 references
- [7] doi:10.1162/imag.a.1198 [code]
- MEPrep: A robust pipeline for multi-echo fMRI denoising and preprocessing.Journal: Imaging neuroscience (Cambridge, Mass.)In common: FreeSurfer, NumPy, 6 references
- [8] doi:10.1371/journal.pbio.3003927 [code]
- Brain structural and functional connectivity converge prenatally but diverge after birth.Journal: PLoS biologyIn common: structural MRI / diffusion, 7 references
- [9] doi:10.1162/imag.a.1342 [code]
- Hyperpolarized &
lt;sup& gt;13& lt;/ sup& gt;C-bicarbonate production correlates with excitatory neuron distribution in the human brain. Journal: Imaging neuroscience (Cambridge, Mass.)In common: NumPy, structural MRI / diffusion, 7 references - [10] doi:10.1038/s41467-026-71568-9 [code]
- Convergent and selective representations of pain, appetitive processes, aversive processes, and cognitive control in the insula.Journal: Nature communicationsIn common: FreeSurfer, NumPy, 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: 3 repositories of the authors' code, each at its verified commit and with its license, 98 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:cf8e377a537f1146…
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.
