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