Skip to content

freesurferformats

1.0.0

Read and Write 'FreeSurfer' Neuroimaging File Formats

8packages depend
22.9Kdownloads / year
test coverage
13/13checks pass

Overview

About
Maintained by Tim SchäferFirst published 2019-09-0420 releasesCRAN page ↗GitHub ↗

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.

Install

Health

CRAN checks
13OK
Slowest check: 5.4 min · r-devel-linux-x86_64-fedora-gcc
Code health
Yes
Tests · ratio 0.30
not tracked
Coverage
100%
Documentation · exports
Yes
Vignettes
No
README
3
Dependencies · direct
Check history
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Downloads

22.9K
CRAN downloads in the past year
Rank #2,855 · ~63/day · ~1.9K/mo
Daily download trend is not available in this view yet.
2.1K30 days
6.3K90 days
22.9K1 year
Compare downloads with other packages →
Also on230 r2u20 autocran1.1K conda_forge45 c2d4u

Repository

Dependencies

Declared dependencies
8 external dependencies (excludes base and recommended)
Depends (0)
none
Imports (3)
LinkingTo (0)
none
Enhances (0)
none

Code & Tests

Code Composition
R 12,835 (65%)Rd 6,299 (32%)Vignettes 563 (3%)
Code characteristics
Object systems
S39
Cyclomatic complexity
3.0 median / 28 max
Test cases
145 / 0.30 per code line
Documented parameters
96%

Test coverage

Line coverage

Expression

Tests / Examples

Functions

214 146 exported

Complexity

4.7 avg / 28 max

Call network

214 nodes / 262 edges

Test coverage has not been measured for this package yet; nodes fall back to a neutral fill.

Loading call graph…

Lowest coverage

Per-function coverage is not measured for this package yet.

People & History

People (1)
Maintainer (1)
Author, Maintainer
Authors (1)
Author, Maintainer
Release timeline

20 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 1.0.0Latest
    2025-09-08 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 0.1.18
    2024-02-02 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • 0.1.17
    2022-02-11 · diff ↗
  • 0.1.16
    2021-11-07 · diff ↗
  • 0.1.15
    2021-05-25 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • 0.1.14
    2021-01-17 · diff ↗
  • 0.1.13
    2020-09-21 · diff ↗
  • 0.1.12
    2020-08-26 · diff ↗
  • 0.1.11
    2020-06-17 · diff ↗
  • 0.1.10
    2020-05-13 · diff ↗
Show 12 earlier events
  • R
    R 4.0.0 released · 2020-04-24
  • 0.1.9
    2020-04-14 · diff ↗
  • 0.1.8
    2020-02-17 · diff ↗
  • 0.1.7
    2020-01-07 · diff ↗
  • 0.1.6
    2019-11-27 · diff ↗
  • 0.1.5
    2019-11-12 · diff ↗
  • 0.1.4
    2019-11-06 · diff ↗
  • 0.1.3
    2019-10-15 · diff ↗
  • 0.1.2
    2019-10-02 · diff ↗
  • 0.1.1
    2019-09-13 · diff ↗
  • 0.1.0
    2019-09-04
  • R
    R 3.6.0 released · 2019-04-26

Package metadata

First published
2019-09-04
Total releases
20 / 7 yrs
License
MIT + file LICENSE OSI
Download size
3.4 MB
Installed size
not tracked yet
With dependencies
not tracked yet