Clarifying and extending permutation tests on brain map correspondence through mixed-effects modeling.
One block of code here has 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] § Brain Map Correspondence in HCP Data › Correspondence between subject-specific brain maps ↔ python-implementation/bootstrap_inference/utils.py, lines 84 to 122 · score 0.61 · confidence intervals, cross terms, interaction subject, CI, residuals, bootstrap · block
oscr:b:VQY1XJ9M2VEV8-E· Report a mismatch - [2] § Brain Map Correspondence in HCP Data › Correspondence between subject-specific brain maps ↔ python-implementation/bootstrap_inference/utils.py, lines 84 to 122 · score 0.58 · confidence intervals, cross term, interaction subject, residuals, bootstrap · block
oscr:b:VQY1XJ9M2VEV8-E· 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
Python · 336 lines · 13 KB · no license · 2 matches
- #!/usr/bin/env python3
- """
- Utility Functions for Bootstrap Brain Inference
- ================================================
- This module provides utility functions for:
- - JSON-safe type conversion
- - Result formatting and export
- - Summary generation
- """
- from __future__ import annotations
- from typing import Any, Dict
- from pathlib import Path
- from datetime import datetime
- import json
- import numpy as np
- # JSON-Safe Type Conversion
- def json_safe(obj: Any) -> Any:
- # Base types that are already JSON-safe
- if isinstance(obj, (bool, int, float, str)) or obj is None:
- return obj
- # NumPy types
- if isinstance(obj, (np.integer, np.floating, np.bool_)):
- return obj.item()
- if isinstance(obj, np.ndarray):
- return obj.tolist()
- # Collections
- if isinstance(obj, (list, tuple)):
- return [json_safe(v) for v in obj]
- if isinstance(obj, dict):
- return {str(k): json_safe(v) for k, v in obj.items()}
- # Path objects
- if isinstance(obj, Path):
- return str(obj)
- # Fallback: try to convert to string
- return str(obj)
- # Result Formatting
- def format_population_test_results(results: Dict[str, Any]) -> Dict[str, Any]:
- return {
- "inference_type": "population_mean",
- "timestamp": datetime.now().isoformat(),
- "bootstrap_parameters": {
- "B": results["B"],
- "alpha": results["alpha"],
- "ci_level": results["ci_level"],
- },
- "null_hypothesis": {
- "interval": results["null_interval"],
- "description": f"H0: rho in [{results['null_interval'][0]}, {results['null_interval'][1]}]"
- },
- "observed_statistic": {
- "correlation": results["rho_obs"],
- "description": "Corr(X_bar, Y_bar)"
- },
- "confidence_interval": {
- "lower": results["ci"][0],
- "upper": results["ci"][1],
- "level": results["ci_level"],
- },
- "hypothesis_test": {
- "reject": results["reject"],
- "decision": "Reject H0" if results["reject"] else "Fail to reject H0"
- },
- }
- def format_subject_specific_test_results(results: Dict[str, Any]) -> Dict[str, Any]:
- test_descriptions = {
- "rho_beta_beta": {"name": "H0^1: beta_X indep beta_Y", "description": "Main subject effects independence"},
- "rho_omega_omega": {"name": "H0^2: omega_X indep omega_Y", "description": "Interaction subject effects independence"},
- "rho_epsilon_epsilon": {"name": "H0^3: eps_X indep eps_Y", "description": "Residuals independence"},
- "rho_epsilonX_omegaY": {"name": "H0^4: eps_X indep omega_Y", "description": "Cross-term 1 independence"},
- "rho_epsilonY_omegaX": {"name": "H0^5: eps_Y indep omega_X", "description": "Cross-term 2 independence"},
- }
- formatted_tests = {}
- for key in results["rho_obs"].keys():
- formatted_tests[key] = {
- "hypothesis": test_descriptions[key],
- "observed_statistic": results["rho_obs"][key],
- "confidence_interval": {
- "lower": results["ci"][key][0],
- "upper": results["ci"][key][1],
- "level": results["ci_level"],
- },
- "hypothesis_test": {
- "reject": results["reject"][key],
- "decision": "Reject H0" if results["reject"][key] else "Fail to reject H0"
- }
- }
- return {
- "inference_type": "subject_specific",
- "timestamp": datetime.now().isoformat(),
- "bootstrap_parameters": {
- "B": results["B"],
- "alpha": results["alpha"],
- "ci_level": results["ci_level"],
- },
- "tests": formatted_tests,
- "summary": {
- "n_tests": len(results["rho_obs"]),
- "n_rejections": sum(results["reject"].values()),
- }
- }
- def format_overall_test_results(results: Dict[str, Any]) -> Dict[str, Any]:
- test_descriptions = {
- "rho_beta_beta": {"name": "H0^1: beta_X indep beta_Y", "description": "Main subject effects independence"},
- "rho_omega_omega": {"name": "H0^2: omega_X indep omega_Y", "description": "Interaction subject effects independence"},
- "rho_epsilon_epsilon": {"name": "H0^3: eps_X indep eps_Y", "description": "Residuals independence"},
- "rho_epsilonX_omegaY": {"name": "H0^4: eps_X indep omega_Y", "description": "Cross-term 1 independence"},
- "rho_epsilonY_omegaX": {"name": "H0^5: eps_Y indep omega_X", "description": "Cross-term 2 independence"},
- }
- n_tests = len(results["rho_obs"])
- alpha_bonferroni = results["alpha"] / n_tests
- formatted_tests = {}
- for key in results["rho_obs"].keys():
- formatted_tests[key] = {
- "hypothesis": test_descriptions[key],
- "observed_statistic": results["rho_obs"][key],
- "bonferroni_corrected_ci": {
- "lower": results["ci"][key][0],
- "upper": results["ci"][key][1],
- "level": results["ci_bonferroni_level"],
- "alpha_per_test": alpha_bonferroni,
- },
- "hypothesis_test": {
- "reject": results["reject"][key],
- "decision": "Reject H0" if results["reject"][key] else "Fail to reject H0"
- }
- }
- return {
- "inference_type": "overall_with_bonferroni",
- "timestamp": datetime.now().isoformat(),
- "bootstrap_parameters": {
- "B": results["B"],
- "alpha": results["alpha"],
- "n_tests": n_tests,
- "alpha_bonferroni": alpha_bonferroni,
- "ci_bonferroni_level": results["ci_bonferroni_level"],
- },
- "overall_null_hypothesis": {
- "description": "H0: beta_X indep beta_Y AND omega_X indep omega_Y AND eps_X indep eps_Y AND eps_X indep omega_Y AND eps_Y indep omega_X",
- "components": list(test_descriptions.values())
- },
- "tests": formatted_tests,
- "overall_result": {
- "reject": results["overall_reject"],
- "n_rejections": results["n_rejections"],
- "decision": "Reject H0" if results["overall_reject"] else "Fail to reject H0",
- "interpretation": (
- "At least one component shows significant dependence"
- if results["overall_reject"]
- else "No significant subject-specific correspondence detected"
- )
- }
- }
- # JSON Export
- def save_results_to_json(
- results: Dict[str, Any],
- filepath: Path,
- inference_type: str = "auto"
- ) -> None:
- filepath = Path(filepath)
- filepath.parent.mkdir(parents=True, exist_ok=True)
- # Auto-detect test type if needed
- if inference_type == "auto":
- if "overall_reject" in results:
- inference_type = "overall"
- elif "null_interval" in results:
- inference_type = "population"
- else:
- inference_type = "subject_specific"
- # Format based on type
- if inference_type == "population":
- formatted = format_population_test_results(results)
- elif inference_type == "subject_specific":
- formatted = format_subject_specific_test_results(results)
- elif inference_type == "overall":
- formatted = format_overall_test_results(results)
- else:
- raise ValueError(f"Unknown inference_type: {inference_type}")
- # Convert to JSON-safe and save
- formatted_safe = json_safe(formatted)
- with open(filepath, "w", encoding="utf-8") as f:
- json.dump(formatted_safe, f, indent=2, ensure_ascii=False)
- print(f"Results saved to: {filepath}")
- # Text Summary Generation
- def generate_summary_text(results: Dict[str, Any], inference_type: str = "auto") -> str:
- # Auto-detect test type
- if inference_type == "auto":
- if "overall_reject" in results:
- inference_type = "overall"
- elif "null_interval" in results:
- inference_type = "population"
- else:
- inference_type = "subject_specific"
- lines = []
- lines.append("=" * 70)
- lines.append(" Bootstrap-Based Inference Results")
- lines.append("=" * 70)
- lines.append(f" Generated: {datetime.now().strftime('%Y-%m-%d %H:%M:%S')}")
- lines.append("")
- if inference_type == "population":
- lines.append(" Test Type: Population-Mean Brain Map Correspondence")
- lines.append("")
- lines.append(" Bootstrap Parameters:")
- lines.append(f" B (resamples): {results['B']}")
- lines.append(f" Significance: alpha = {results['alpha']}")
- lines.append(f" CI level: {results['ci_level']*100:.1f}%")
- lines.append("")
- lines.append(" Null Hypothesis:")
- lines.append(f" H0: rho in [{results['null_interval'][0]}, {results['null_interval'][1]}]")
- lines.append("")
- lines.append(" Results:")
- lines.append(f" Observed rho_hat: {results['rho_obs']:.6f}")
- lines.append(f" {int(results['ci_level']*100)}% CI: [{results['ci'][0]:.6f}, {results['ci'][1]:.6f}]")
- lines.append(f" Decision: {'REJECT H0' if results['reject'] else 'FAIL TO REJECT H0'}")
- elif inference_type in ["subject_specific", "overall"]:
- is_bonferroni = (inference_type == "overall")
- if is_bonferroni:
- lines.append(" Test Type: Overall Subject-Specific (Bonferroni Corrected)")
- n_tests = len(results['rho_obs'])
- alpha_bonf = results['alpha'] / n_tests
- lines.append("")
- lines.append(" Bonferroni Correction:")
- lines.append(f" Family-wise alpha: {results['alpha']}")
- lines.append(f" Number of tests: {n_tests}")
- lines.append(f" alpha per test: {alpha_bonf:.6f}")
- lines.append(f" CI level per test: {results['ci_bonferroni_level']*100:.2f}%")
- else:
- lines.append(" Test Type: Subject-Specific Brain Map Correspondence")
- lines.append("")
- lines.append(" Bootstrap Parameters:")
- lines.append(f" B (resamples): {results['B']}")
- lines.append(f" Significance: alpha = {results['alpha']} (per test)")
- lines.append(f" CI level: {results['ci_level']*100:.1f}%")
- lines.append("")
- lines.append(" Individual Test Results:")
- lines.append(" " + "-" * 66)
- test_names = {
- "rho_beta_beta": ("H0^1: beta_X indep beta_Y", "Main subject effects"),
- "rho_omega_omega": ("H0^2: omega_X indep omega_Y", "Interaction subject effects"),
- "rho_epsilon_epsilon": ("H0^3: eps_X indep eps_Y", "Residuals"),
- "rho_epsilonX_omegaY": ("H0^4: eps_X indep omega_Y", "Cross-term 1"),
- "rho_epsilonY_omegaX": ("H0^5: eps_Y indep omega_X", "Cross-term 2"),
- }
- for i, key in enumerate(results["rho_obs"].keys(), 1):
- name, desc = test_names[key]
- lines.append(f"\n Test {i}: {name}")
- lines.append(f" ({desc})")
- lines.append(f" Observed rho_hat: {results['rho_obs'][key]:>8.6f}")
- ci_level = results.get('ci_bonferroni_level', results.get('ci_level'))
- lines.append(f" {ci_level*100:.1f}% CI: [{results['ci'][key][0]:>8.6f}, {results['ci'][key][1]:>8.6f}]")
- decision = "REJECT" if results['reject'][key] else "FTR"
- lines.append(f" Decision: {decision}")
- if results['reject'][key]:
- lines.append(f" -> Significant dependence detected")
- if is_bonferroni:
- lines.append("")
- lines.append(" " + "-" * 66)
- lines.append(" Overall Decision:")
- lines.append(f" Tests rejecting H0: {results['n_rejections']} out of {len(results['rho_obs'])}")
- lines.append(f" Overall: {'REJECT H0' if results['overall_reject'] else 'FAIL TO REJECT H0'}")
- if results['overall_reject']:
- lines.append(f" -> Subject-specific correspondence detected")
- lines.append("")
- lines.append("=" * 70)
- return "\n".join(lines)
- def save_summary_text(
- results: Dict[str, Any],
- filepath: Path,
- inference_type: str = "auto"
- ) -> None:
- """Save text summary to file."""
- filepath = Path(filepath)
- filepath.parent.mkdir(parents=True, exist_ok=True)
- summary = generate_summary_text(results, inference_type)
- with open(filepath, "w", encoding="utf-8") as f:
- f.write(summary)
- print(f"Summary saved to: {filepath}")
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: 2 checks, the latest on 31 October 2026: the link answers
- 31 October 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, to read at its sourcedemo/ 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: 2 checks, the latest on 26 October 2026: the link answers
- 26 October 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
- python-implementation/
bootstrap_inference/ , Python, 50 lines__init__.py - python-implementation/
bootstrap_inference/ , Python, 550 linesbootstrap_tests.py - python-implementation/
bootstrap_inference/ , Python, 303 linesmixed_effects_model.py - python-implementation/
bootstrap_inference/ , Python, 296 linessimulation_utils.py - python-implementation/
bootstrap_inference/ , Python, 336 lines, 2 matchesutils.py - python-implementation/
demo_simulated_data.py , Python, 241 lines - README.md, Text, 162 lines
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/s41592-022-01625-w [code]
- neuromaps: structural and functional interpretation of brain maps.Journal: Nature methodsIn common: NumPy, 17 references
- [2] doi:10.1371/journal.pbio.3003277 [code]
- Mapping cerebral blood perfusion and its links to multi-scale brain organization across the human lifespan.Journal: PLoS biologyIn common: NumPy, structural MRI / diffusion, 16 references
- [3] doi:10.1038/s41551-024-01242-2 [code]
- Contributions of network structure, chemoarchitecture and diagnostic categories to transitions between cognitive topographies.Journal: Nature biomedical engineeringIn common: FreeSurfer, NumPy, structural MRI / diffusion, 15 references
- [4] doi:10.1162/imag.a.118 [code]
- The effect of spherical projection on spin tests for brain maps.Journal: Imaging neuroscience (Cambridge, Mass.)In common: NumPy, 15 references
- [5] doi:10.1162/imag_a_00503 [code]
- Analysis of functional connectivity changes from childhood to old age: A study using HCP-D, HCP-YA, and HCP-A datasets.Journal: Imaging neuroscience (Cambridge, Mass.)In common: 2 references, 3 authors
- [6] doi:10.1038/s42003-025-08561-3 [code]
- Network spreading and local biological vulnerability in amyotrophic lateral sclerosis.Journal: Communications biologyIn common: FreeSurfer, NumPy, structural MRI / diffusion, 13 references
- [7] doi:10.1038/s41467-022-32420-y [code]
- Local molecular and global connectomic contributions to cross-disorder cortical abnormalities.Journal: Nature communicationsIn common: FreeSurfer, NumPy, structural MRI / diffusion, 12 references
- [8] doi:10.1162/imag_a_00483 [code]
- An open access resource for marmoset neuroscientific apparatus.Journal: Imaging neuroscience (Cambridge, Mass.)In common: 3 authors
- [9] doi:10.1038/s41467-023-41689-6 [code]
- Neurophysiological signatures of cortical micro-architecture.Journal: Nature communicationsIn common: FreeSurfer, NumPy, 12 references
- [10] doi:10.1038/s41467-022-35197-2 [code]
- An integrated resource for functional and structural connectivity of the marmoset brain.Journal: Nature communicationsIn common: structural MRI / diffusion, 4 references, 2 authors
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:fb665878cb45b856…
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.1162/imag.a.1350)
<!-- oscr-badge:end -->reStructuredText
.. oscr-badge:start
.. image:: https://openscicode.org/badge/doi/10.1162/imag.a.1350.svg
:target: https://openscicode.org/badge/doi/10.1162/imag.a.1350
:alt: OSCR
.. oscr-badge:endHTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.1162/imag.a.1350"><img src="https://openscicode.org/badge/doi/10.1162/imag.a.1350.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".
- spin-test/spin-test: README.md on GitHub
- frantisekvasa/rotate_parcellation: README.md on GitHub
- qcwang77/brainmap-bootstrap: README.md on GitHub
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.
