Learn R Programming

freesurferformats (version 1.1.0)

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

Description

Parse a CIFTI LabelTable element.

Usage

cifti.parse.label.table(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.

Arguments

node

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