Package: freesurferformats
Type: Package
Title: Read and Write 'FreeSurfer' Neuroimaging File Formats
Version: 1.0.2
Authors@R: c(
    person("Tim", "Schäfer", role = c("aut", "cre"), email = "ts+code@rcmd.org", comment = c(ORCID = "0000-0002-3683-8070")),
    person("Van Essen Lab", role = "cph", comment = "Copyright holder of the Conte69 template and HCP group-average data files that can OPTIONALLY be downloaded via download_opt_data()."),
    person("Montreal Neurological Institute (MNI)", role = "cph", comment = "Copyright holder of the MNI152/avg152T1 template that can OPTIONALLY be downloaded via download_opt_data()."))
Maintainer: Tim Schäfer <ts+code@rcmd.org>
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/NIFTI 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
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'.
Encoding: UTF-8
URL: https://github.com/dfsp-spirit/freesurferformats,
        https://dfsp-spirit.github.io/freesurferformats/
BugReports: https://github.com/dfsp-spirit/freesurferformats/issues
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
Config/roxygen2/version: 8.0.0
NeedsCompilation: no
Packaged: 2026-09-08 07:37:40 UTC; ts
Author: Tim Schäfer [aut, cre] (ORCID: <https://orcid.org/0000-0002-3683-8070>),
  Van Essen Lab [cph] (Copyright holder of the Conte69 template and HCP
    group-average data files that can OPTIONALLY be downloaded via
    download_opt_data().),
  Montreal Neurological Institute (MNI) [cph] (Copyright holder of the
    MNI152/avg152T1 template that can OPTIONALLY be downloaded via
    download_opt_data().)
Repository: CRAN
Date/Publication: 2026-09-08 09:50:02 UTC
