freesurfer_read3: Freesurfer Read 3 records

View source: R/freesurfer_read3.R

freesurfer_read3R Documentation

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)

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)
}

muschellij2/freesurfer documentation built on Nov. 28, 2023, 4:45 a.m.