Learn R Programming

freesurferformats (version 1.1.0)

cifti.parse.volumes: Parse the Volume elements of a MatrixIndicesMap element.

Description

Parse the Volume elements of a MatrixIndicesMap element.

Usage

cifti.parse.volumes(node, filepath = "")

Value

a list of lists with the entries 'dimensions', 'meter_exponent' and 'transformation_matrix', or NULL if there are no Volume 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.