Package: freesurferformats Type: Package Title: Read and Write 'FreeSurfer' Neuroimaging File Formats Version: 1.0.1 Authors@R: person("Tim", "Schäfer", role = c("aut", "cre"), email = "ts+code@rcmd.org", comment = c(ORCID = "0000-0002-3683-8070")) Maintainer: Tim Schäfer Description: 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. License: MIT + file LICENSE Encoding: UTF-8 URL: https://github.com/dfsp-spirit/freesurferformats BugReports: https://github.com/dfsp-spirit/freesurferformats/issues Roxygen: list(markdown = TRUE, line_length = 80) Imports: utils, pkgfilecache (>= 0.1.1), xml2 Suggests: knitr, rmarkdown, curl, testthat (>= 2.1.0), oro.nifti (>= 0.9), gifti (>= 0.7.5), cifti (>= 0.4.5) VignetteBuilder: knitr RoxygenNote: 7.3.3 Config/pak/sysreqs: libxml2-dev libssl-dev Repository: https://dfsp-spirit.r-universe.dev Date/Publication: 2026-07-08 12:56:01 UTC RemoteUrl: https://github.com/dfsp-spirit/freesurferformats RemoteRef: HEAD RemoteSha: 6b728d588e566f298c64daec6c77e1fac3022af9 NeedsCompilation: no Packaged: 2026-07-08 15:05:38 UTC; root Author: Tim Schäfer [aut, cre] (ORCID: )