neurosurf
GitHubBrain surface mesh reading and visualization
Install
pak::pak('bbuchsbaum/neurosurf')Overview
neurosurf provides tools for working with cortical surface meshes in R, supporting the reading, manipulation, and visualization of brain surface data. It handles common surface formats from FreeSurfer and GIFTI, and supports mapping volumetric or vertex-wise data onto surface representations. The package also implements geodesic distance computations and surface-based searchlight methods for cortical analyses.
Key Features
- FreeSurfer and GIFTI surface mesh I/O
- Surface-based data mapping and interpolation
- Geodesic distance computation on cortical meshes
- Cortical surface visualization with flexible color mapping
- Surface searchlight analysis for spatially localized decoding