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

View source: R/gifti_xml_tools.R

giftixml_add_labeltable_posnegR 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.


freesurferformats documentation built on May 29, 2024, 5:29 a.m.