write.fs.colortable {freesurferformats} | R Documentation |
Write colortable file in FreeSurfer ASCII LUT format.
Description
Write the colortable to a text file in FreeSurfer ASCII colortable lookup table (LUT) format. An example file is 'FREESURFER_HOME/FreeSurferColorLUT.txt'.
Usage
write.fs.colortable(filepath, colortable)
Arguments
filepath |
string. Full path to the output colormap file. |
colortable |
data.frame, a colortable as read by |
Value
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.
See Also
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()