This function call mris_convert
,
using the --annot
option
mris_convert_annot(annot, opts = "", ...)
annot | (character) annotation or gifti label data |
---|---|
opts | (character) additional options to
|
... | additional arguments to |
Result of mris_convert
if (have_fs()) {
bert_dir = file.path(fs_subj_dir(), "bert")
gii_file = mris_convert_annot(
infile = file.path(bert_dir, "surf", "lh.white"),
annot = file.path(bert_dir, "label", "lh.aparc.annot"),
ext = ".gii"
)
gii = mris_convert_annot(
infile = file.path(bert_dir, "surf", "lh.white"),
annot = gii_file,
ext = ".gii"
)
}