Learn R Programming

freesurferformats (version 1.1.0)

cifti.parse.named.maps: Parse the NamedMap elements of a MatrixIndicesMap element.

Description

Parse the NamedMap elements of a MatrixIndicesMap element.

Usage

cifti.parse.named.maps(node, filepath = "")

Value

a list of lists with the entries 'name', 'metadata' and 'labels', or NULL if there are no NamedMap elements.

Arguments

node

an xml2 node, the MatrixIndicesMap element.

filepath

character string, the path of the file the XML was read from. Only used in error messages.