freesurfer_read3_con: Freesurfer Read 3 records

Description Usage Arguments Value Examples

View source: R/freesurfer_read3.R

Description

Reads first 3 records from a connection and returns the rotated value, for checking for other functions.

Usage

1

Arguments

fid

connection to a thickness file or anything in surf/ directory from Freesurfer subject

Value

Numeric

Examples

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

neuroconductor-devel/freesurfer documentation built on April 1, 2021, 1:07 p.m.