Reads a FreeSurfer color lookup table and adds hex colour codes for use in plotting.
Arguments
- lut
Path to a LUT file, or a data.frame that passes
is_lut().
Value
A data.frame with the original columns plus roi (zero-padded
index) and color (hex colour code).