Convert Label to Annotation
1 2 3 4 5 6 7 8 9 10 11 | mris_label2annot(
labels,
hemisphere = "rh",
ctab,
subject = "fsaverage5",
subjects_dir = freesurfer::fs_subj_dir(),
annot_dir = file.path(subjects_dir, subject, "label"),
output_dir = subjects_dir,
opts = NULL,
verbose = TRUE
)
|
labels |
label vector |
hemisphere |
hemisphere, either "rh" or "lh" |
ctab |
colourtable file |
subject |
Freesurfer subject, must exist in whatever subject directory specified or set in the environment with $SUBJECTS_DIR |
subjects_dir |
Freesurfer subject directory |
annot_dir |
path to directory with annot-files |
output_dir |
output directory path |
opts |
other arguments to freesurfer command |
verbose |
logical indicating to be verbose or not |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.