cifti.parse.label.table: Parse a CIFTI LabelTable element.

View source: R/read_cifti_header.R

cifti.parse.label.tableR Documentation

Parse a CIFTI LabelTable element.

Description

Parse a CIFTI LabelTable element.

Usage

cifti.parse.label.table(node)

Arguments

node

an xml2 node, the LabelTable element, or an xml_missing node.

Value

a data.frame with the columns 'key', 'red', 'green', 'blue', 'alpha', 'label', 'x', 'y' and 'z', or NULL if the node is missing.


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