giftixml_add_labeltable_posneg {freesurferformats}R Documentation

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)

Arguments

xmltree

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

Value

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


[Package freesurferformats version 0.1.18 Index]