The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

fsbrain: Managing and Visualizing Brain Surface Data

Provides high-level access to neuroimaging data from standard software packages like 'FreeSurfer' <https://freesurfer.net/> on the level of subjects and groups. Load morphometry data, surfaces and brain parcellations based on atlases. Mask data using labels, load data for specific atlas regions only, and visualize data and statistical results directly in 'R'.

Version: 0.8.0
Imports: freesurferformats (≥ 1.0.1), pkgfilecache (≥ 0.4.1), rgl, squash, fields, viridis, magick, methods
Suggests: knitr, rmarkdown, scimesh (≥ 0.3.4), testthat (≥ 2.1.0), misc3d, RColorBrewer, Rvcg (≥ 0.20.2), igraph, pracma
Published: 2026-09-14
DOI: 10.32614/CRAN.package.fsbrain
Author: Tim Schäfer ORCID iD [aut, cre], The General Hospital Corporation (Boston, MA) [cph] (Copyright holder of FreeSurfer and thus the fsaverage template subject that can OPTIONALLY be downloaded via fsbrain functions.), Van Essen Lab [cph] (Copyright holder of the fs_LR 32k template that can OPTIONALLY be downloaded via fsbrain functions.), Alexander Schaefer [cph] (Copyright holder of the Schaefer 100-1000 atlases that can OPTIONALLY be downloaded via fsbrain functions.), Ru Kong [cph] (Copyright holder of the Brainnetome atlas that can OPTIONALLY be downloaded via fsbrain functions.), Lingzhong Fan [cph] (Copyright holder of the AAL3 atlas that can OPTIONALLY be downloaded via fsbrain functions.), Edmund T. Rolls [cph] (Copyright holder of the HCP-MMP1 atlas that can OPTIONALLY be downloaded via fsbrain functions.), Matthew F. Glasser [cph] (Copyright holder of the HCP-MMP1 atlas that can OPTIONALLY be downloaded via fsbrain functions.), Kathryn Mills [cph] (Provided the conversion of the HCP-MMP1 atlas to fsaverage space that can OPTIONALLY be downloaded via fsbrain functions.)
Maintainer: Tim Schäfer <ts+code at rcmd.org>
BugReports: https://github.com/dfsp-spirit/fsbrain/issues
License: MIT + file LICENSE
Copyright: Tim Schäfer (package code); the optional data files that can be downloaded at runtime are owned by their respective copyright holders, see 'inst/COPYRIGHTS'.
fsbrain copyright details
URL: https://github.com/dfsp-spirit/fsbrain
NeedsCompilation: no
Citation: fsbrain citation info
CRAN checks: fsbrain results

Documentation:

Reference manual: fsbrain.html , fsbrain.pdf
Vignettes: fsbrain: Managing and Visualizing Structural Neuroimaging Data in GNU R (source, R code)
The fsbrain FAQ (source, R code)
Brain volume visualization with fsbrain (source, R code)
fsbrain with the scimesh rendering backend (source, R code)

Downloads:

Package source: fsbrain_0.8.0.tar.gz
Windows binaries: r-devel: fsbrain_0.7.0.zip, r-release: fsbrain_0.7.0.zip, r-oldrel: fsbrain_0.7.0.zip
macOS binaries: r-release (arm64): fsbrain_0.7.0.tgz, r-oldrel (arm64): fsbrain_0.8.0.tgz, r-release (x86_64): fsbrain_0.8.0.tgz, r-oldrel (x86_64): fsbrain_0.8.0.tgz
Old sources: fsbrain archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=fsbrain to link to this page.

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.