dot-cifti.label.table.for.users: Convert a label table to the format the package has always...

.cifti.label.table.for.usersR Documentation

Convert a label table to the format the package has always returned.

Description

The readers document a label table with the column names 'Key', 'Red', 'Green', 'Blue', 'Alpha' and 'Label'; keep that spelling (and the column order) for the user-facing functions, while the internal representation uses lower case column names and also stores the optional label coordinates.

Usage

.cifti.label.table.for.users(labels)

Arguments

labels

a data.frame as returned by cifti.label.table.

Value

a data.frame with the columns 'Key', 'Red', 'Green', 'Blue', 'Alpha' and 'Label'.


freesurferformats documentation built on Sept. 25, 2026, 1:07 a.m.