annotfile <- system.file("extdata", "lh.aparc.annot.gz",
package = "freesurferformats", mustWork = TRUE
)
annot <- read.fs.annot(annotfile)
colortable <- colortable.from.annot(annot)
head(colortable)
Run the code above in your browser using DataLab