# BrainSpace: a toolbox for the analysis of macroscale gradients in neuroimaging and connectomics datasets

Article · Vos de Wael R, Benkarim O, Paquola C, Lariviere S, Royer J, Tavakol S, Xu T, Hong SJ, Langs G, Valk S, Misic B, Milham M, Margulies D, Smallwood J, Bernhardt BC

- Archive id: doi:10.1038/s42003-020-0794-7
- Published: 2020-03-05
- Venue: Communications biology
- DOI: https://doi.org/10.1038/s42003-020-0794-7
- PMID: 32139786
- PMCID: PMC7058611
- Citations: 580
- Source URL: https://doi.org/10.1038/s42003-020-0794-7
- PDF: https://europepmc.org/articles/PMC7058611/pdf
- Provenance: europepmc

## Abstract

Understanding how cognitive functions emerge from brain structure depends on quantifying how discrete regions are integrated within the broader cortical landscape. Recent work established that macroscale brain organization and function can be described in a compact manner with multivariate machine learning approaches that identify manifolds often described as cortical gradients. By quantifying topographic principles of macroscale organization, cortical gradients lend an analytical framework to study structural and functional brain organization across species, throughout development and aging, and its perturbations in disease. Here, we present BrainSpace, a Python/Matlab toolbox for (i) the identification of gradients, (ii) their alignment, and (iii) their visualization. Our toolbox furthermore allows for controlled association studies between gradients with other brain-level features, adjusted with respect to null models that account for spatial autocorrelation. Validation experiments demonstrate the usage and consistency of our tools for the analysis of functional and microstructural gradients across different spatial scales.

_Abstract reproduced under CC-BY (article license as recorded by Europe PMC; abstract reproduced unmodified apart from markup removal)._

Topics: [Connectomics & Brain Mapping](https://space-kitty.com/topics/connectomics)

---
Space Kitty Archive · https://space-kitty.com · API: https://space-kitty.com/api/v1 · MCP: https://space-kitty.com/mcp · Premium: $0.20/request via x402 (Base Sepolia (testnet)). Metadata: arXiv (CC0), OpenAlex (CC0), Europe PMC (CC BY/CC0 works), ClinicalTrials.gov.
