mris_label2annot: Convert Label to Annotation

Description Usage Arguments

View source: R/fs-utils.R

Description

Convert Label to Annotation

Usage

 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
)

Arguments

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


neuroconductor/ggsegExtra documentation built on Aug. 18, 2020, 4:45 p.m.