freesurferformats: Read and Write 'FreeSurfer' Neuroimaging File Formats

Provides functions to read and write neuroimaging data in various file formats, with a focus on 'FreeSurfer' <> formats. This includes, but is not limited to, the following file formats: 1) MGH/MGZ format files, which can contain multi-dimensional images or other data. Typically they contain time-series of three-dimensional brain scans acquired by magnetic resonance imaging (MRI). They can also contain vertex-wise measures of surface morphometry data. The MGH format is named after the Massachusetts General Hospital, and the MGZ format is a compressed version of the same format. 2) 'FreeSurfer' morphometry data files in binary 'curv' format. These contain vertex-wise surface measures, i.e., one scalar value for each vertex of a brain surface mesh. These are typically values like the cortical thickness or brain surface area at each vertex. 3) Annotation file format. This contains a brain surface parcellation derived from a cortical atlas. 4) Surface file format. Contains a brain surface mesh, given by a list of vertices and a list of faces.

Version: 0.1.17
Imports: pkgfilecache (≥ 0.1.1), xml2, rmarkdown
Suggests: knitr, testthat (≥ 2.1.0), oro.nifti (≥ 0.9), gifti (≥ 0.7.5), cifti (≥ 0.4.5)
Published: 2022-02-11
Author: Tim Schäfer ORCID iD [aut, cre]
Maintainer: Tim Schäfer <ts+code at>
License: MIT + file LICENSE
NeedsCompilation: no
In views: MedicalImaging
CRAN checks: freesurferformats results


Reference manual: freesurferformats.pdf
Vignettes: Reading FreeSurfer neuroimaging data with freesurferformats
Computing volume header data with freesurferformats
Writing FreeSurfer neuroimaging data with freesurferformats


Package source: freesurferformats_0.1.17.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): freesurferformats_0.1.17.tgz, r-oldrel (arm64): freesurferformats_0.1.17.tgz, r-release (x86_64): freesurferformats_0.1.17.tgz, r-oldrel (x86_64): freesurferformats_0.1.17.tgz
Old sources: freesurferformats archive

Reverse dependencies:

Reverse imports: fsbrain, threeBrain, wal
Reverse suggests: raveio, ravetools


Please use the canonical form to link to this page.