Description Usage Arguments Details Value Examples
View source: R/read_annotation.R
Reads Freesurfer binary annotation files that contain information on vertex labels and colours for use in analyses and brain area lookups.
1 | read_annotation(path, verbose = TRUE)
|
path |
path to annotation file, usually with extension |
verbose |
logical. |
This function is heavily based on Freesurfer's read_annotation.m Original Author: Bruce Fischl CVS Revision Info: $Author: greve $ $Date: 2014/02/25 19:54:10 $ $Revision: 1.10 $
list of 3 with vertices, labels, and colortable
1 2 3 4 5 | if (have_fs()) {
bert_dir = file.path(fs_subj_dir(), "bert")
annot_file = file.path(bert_dir, "label", "lh.aparc.annot")
res = read_annotation(annot_file)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.