Skip to contents

converts look up table (LUT) from freesurfer-format (No., Label Name, R, G, B, A) to BIDS-format (index, name, color [hex], alpha)

Usage

convet_lut_fs2bids(lut, out_path = NULL, overwrite = FALSE)

Arguments

lut

input path to look up table in freesurfer format

out_path

output path to look up table in BIDS format (default: NULL)

overwrite

flag to overwrite (default: 0)

Value

A data.frame with BIDS-style LUT columns; optionally writes it to out_path.