Learn R Programming

freesurferformats (version 0.1.18)

giftixml_add_labeltable_posneg: Add a standard label tabel for to a GIFTI XML tree.

Description

This label table is suitable for labels in the FreeSurfer sense, i.e., if only a positive label (1) and a negative label (0) exist in the label data.

Usage

giftixml_add_labeltable_posneg(xmltree)

Value

XML tree from xml2, the modified tree with the LabelTable added below the root node.

Arguments

xmltree

an XML tree from xml2, typically the return value from gifti_xml.