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.


dfsp-spirit/freesurferformats documentation built on Sept. 18, 2024, 4:12 p.m.