cifti.parse.surfaces: Parse the Surface elements of a MatrixIndicesMap element.

View source: R/read_cifti_header.R

cifti.parse.surfacesR Documentation

Parse the Surface elements of a MatrixIndicesMap element.

Description

Parse the Surface elements of a MatrixIndicesMap element.

Usage

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

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.

Value

a list of lists with the entries 'brain_structure' and 'surface_number_of_vertices', or NULL if there are no Surface elements.


freesurferformats documentation built on Sept. 25, 2026, 1:07 a.m.