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

freesurfer_read3(file)

Arguments

file

thickness file or anything in surf/ directory from Freesurfer subject

Value

Numeric

Examples

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