if (FALSE) {
lh_annot <- read.fs.annot("~/data/study1/subject1/label/lh.aparc.annot")
lh_annot
# shows info including region IDs
rh_annot <- read.fs.annot("~/data/study1/subject1/label/rh.aparc.annot")
rh_annot_mod <- annot.unique(rh_annot, annot.max.region.idx(lh_annot) + 1L,
region_name_prefix = "rh_")
}
Run the code above in your browser using DataLab