Learn R Programming

freesurfer (version 1.6.10)

freesurfer_read3: Freesurfer Read 3 records

Description

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

Usage

freesurfer_read3(file)

Value

Numeric

Arguments

file

thickness file or anything in surf/ directory from Freesurfer subject

Examples

Run this code
if (have_fs()) {
   bert_dir = file.path(fs_subj_dir(), "bert", "surf")
   file = file.path(bert_dir, "lh.thickness")
   out = freesurfer_read3(file)
}

Run the code above in your browser using DataLab