freesurfer_read3_con {freesurfer} | R Documentation |
Freesurfer Read 3 records
Description
Reads first 3 records from a connection and returns the rotated value, for checking for other functions.
Usage
freesurfer_read3_con(fid)
Arguments
fid |
connection to a 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")
fid = file(file, open = "rb")
out = freesurfer_read3_con(file)
}
[Package freesurfer version 1.6.10 Index]