Read a label from a GIFTI label/annotation file.
read.fs.label.gii(filepath, label_value = 1L, element_index = 1L)
integer vector, the vertex indices of the label
string. Full path to the input label file.
integer, the label value of interest to extract from the annotation: the indices of the vertices with this value will be returned. See the note for details.. It is important to set this correctly, otherwise you may accidently load the vertices which are *not* part of the label.
positive integer, the index of the data array to return. Ignored unless the file contains several data arrays.
Other label functions:
read.fs.label.native()
,
read.fs.label()
,
write.fs.label()
Other gifti readers:
read.fs.annot.gii()
,
read.fs.morph.gii()
,
read.fs.surface.gii()