Package: freesurferformats 1.0.0
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' <http://freesurfer.net/> 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.
Authors:
freesurferformats_1.0.0.tar.gz
freesurferformats_1.0.0.zip(r-4.7)freesurferformats_1.0.0.zip(r-4.6)freesurferformats_1.0.0.zip(r-4.5)
freesurferformats_1.0.0.tgz(r-4.6-any)freesurferformats_1.0.0.tgz(r-4.5-any)
freesurferformats_1.0.0.tar.gz(r-4.7-any)freesurferformats_1.0.0.tar.gz(r-4.6-any)
freesurferformats_1.0.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
freesurferformats/json (API)
| # Install 'freesurferformats' in R: |
| install.packages('freesurferformats', repos = c('https://dfsp-spirit.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/dfsp-spirit/freesurferformats/issues
brainbrain-atlasbrain-surfacescurvdtifileformatsfreesurferlabelmeshmghmrineuroimagingparcellationresearchsurfacevoxel
Last updated from:26478c6fa2. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 182 | ||
| source / vignettes | OK | 250 | ||
| linux-release-x86_64 | OK | 158 | ||
| macos-release-arm64 | OK | 120 | ||
| macos-oldrel-arm64 | OK | 122 | ||
| windows-devel | OK | 139 | ||
| windows-release | OK | 140 | ||
| windows-oldrel | OK | 178 | ||
| wasm-release | OK | 105 |
Exports:annot.max.region.idxbvsmpcdataclosest.vert.to.pointcolortable.from.annotdelete_all_opt_datadoapply.transform.mtxdownload_opt_datafaces.quad.to.trisfaces.tris.to.quadflip2Dflip3Dfs.get.morph.file.ext.for.formatfs.get.morph.file.format.from.filenamefs.patchfs.surface.to.tmesh3dget_opt_data_filepathgifti_writergifti_xmlgifti_xml_add_global_metadatagifti_xml_writegiftixml_add_labeltable_from_annotis.bvsmpis.fs.annotis.fs.labelis.fs.surfaceis.fs.volumeis.mghheaderlist_opt_datamghheader.centervoxelRAS.from.firstvoxelRASmghheader.crs.orientationmghheader.is.conformedmghheader.is.ras.validmghheader.primary.slice.directionmghheader.ras2voxmghheader.ras2vox.tkregmghheader.scanner2tkregmghheader.tkreg2scannermghheader.update.from.vox2rasmghheader.vox2rasmghheader.vox2ras.tkregmghheader.vox2voxmni152regni1header.templateni2header.templatenifti.datadim.from.dimfieldnifti.datadim.to.dimfieldnifti.file.uses.fshacknifti.file.versionnifti.header.checkras.to.surfacerasras.to.talairachrasread_nisurfaceread_nisurfacefileread.dti.tckread.dti.trkread.dti.tsfread.fs.annotread.fs.annot.giiread.fs.colortableread.fs.curvread.fs.gcaread.fs.labelread.fs.label.giiread.fs.label.nativeread.fs.mghread.fs.morphread.fs.morph.ascread.fs.morph.bvsmpread.fs.morph.ciftiread.fs.morph.giiread.fs.morph.ni1read.fs.morph.ni2read.fs.morph.niiread.fs.morph.txtread.fs.patchread.fs.patch.ascread.fs.surfaceread.fs.surface.ascread.fs.surface.bvsrfread.fs.surface.byuread.fs.surface.georead.fs.surface.giiread.fs.surface.icoread.fs.surface.mz3read.fs.surface.objread.fs.surface.offread.fs.surface.plyread.fs.surface.stlread.fs.surface.stl.binread.fs.surface.vtkread.fs.transformread.fs.transform.datread.fs.transform.ltaread.fs.transform.xfmread.fs.volumeread.fs.volume.niiread.fs.weightread.mesh.brainvoyagerread.nifti1.dataread.nifti1.headerread.nifti2.dataread.nifti2.headerread.smp.brainvoyagerreadable.filesrotate2Drotate3Dsm0to1sm1to0surfaceras.to.rassurfaceras.to.talairachtalairachras.to.rasvertex.euclid.distvertexdists.to.pointwrite.fs.annotwrite.fs.annot.giiwrite.fs.colortablewrite.fs.curvwrite.fs.labelwrite.fs.label.giiwrite.fs.mghwrite.fs.morphwrite.fs.morph.ascwrite.fs.morph.giiwrite.fs.morph.ni1write.fs.morph.ni2write.fs.morph.smpwrite.fs.morph.txtwrite.fs.patchwrite.fs.surfacewrite.fs.surface.ascwrite.fs.surface.bvsrfwrite.fs.surface.byuwrite.fs.surface.giiwrite.fs.surface.mz3write.fs.surface.objwrite.fs.surface.offwrite.fs.surface.plywrite.fs.surface.ply2write.fs.surface.vtkwrite.fs.weightwrite.fs.weight.ascwrite.nifti1write.nifti2write.smp.brainvoyagerxml_node_gifti_coordtransform
Dependencies:clicurldigestdownloaderpkgfilecacherappdirsrlangxml2
Computing volume header data with freesurferformats
Rendered fromfreesurferformats_header.Rmdusingknitr::rmarkdownon May 20 2026.Last update: 2020-02-11
Started: 2020-02-11
Reading FreeSurfer neuroimaging data with freesurferformats
Rendered fromfreesurferformats.Rmdusingknitr::rmarkdownon May 20 2026.Last update: 2020-09-04
Started: 2019-08-21
Writing FreeSurfer neuroimaging data with freesurferformats
Rendered fromfreesurferformats_write.Rmdusingknitr::rmarkdownon May 20 2026.Last update: 2020-04-14
Started: 2019-09-13
