freesurfer_read3: Freesurfer Read 3 records

Description Usage Arguments Value Examples

View source: R/freesurfer_read3.R

Description

Reads first 3 records of file and returns the rotated value, for checking for other functions.

Usage

1

Arguments

file

thickness file or anything in surf/ directory from Freesurfer subject

Value

Numeric

Examples

1
2
3
4
5
if (have_fs()) {
   bert_dir = file.path(fs_subj_dir(), "bert", "surf")
   file = file.path(bert_dir, "lh.thickness")
   out = freesurfer_read3(file)
}

freesurfer documentation built on Dec. 9, 2020, 1:07 a.m.