R/write_fs_annot.R
write.fs.colortable.RdWrite the colortable to a text file in FreeSurfer ASCII colortable lookup table (LUT) format. An example file is `FREESURFER_HOME/FreeSurferColorLUT.txt`.
write.fs.colortable(filepath, colortable)| filepath, | string. Full path to the output colormap file. |
|---|---|
| colortable | data.frame, a colortable as read by |
the written dataframe, invisible. Note that this is will contain a column named 'struct_index', no matter whether the input colortable contained it or not.
Other atlas functions:
colortable.from.annot(),
read.fs.annot(),
read.fs.colortable(),
write.fs.annot.gii(),
write.fs.annot()
Other colorLUT functions:
colortable.from.annot(),
read.fs.colortable()