parse_surface: Parse Surface from CIFTI

Description Usage Arguments Value Examples

View source: R/parse_surface.R

Description

Extracts information about Surfaces from CIFTI file

Usage

1
2
3
parse_surface(nodeset)

get_surface(fname)

Arguments

nodeset

Set of XML nodes corresponding to Surface

fname

filename of CIFTI file

Value

List of values

Examples

1
2
3
4
5
6
7
## Not run: 
doc = cifti_xml(fname)
nodes = xml_find_all(doc, "/CIFTI/Matrix/MatrixIndicesMap")
nodeset = xml_find_all(nodes, "./Surface")
parse_volume(nodeset)

## End(Not run)

muschellij2/cifti documentation built on May 25, 2018, 6:29 p.m.