View source: R/freesurfer_read3.R
| freesurfer_read3_con | R Documentation | 
Reads first 3 records from a connection and returns the rotated value, for checking for other functions.
freesurfer_read3_con(fid)
| fid | connection to a thickness file or anything in surf/ directory from Freesurfer subject | 
Numeric
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)
} 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.