parse_volume: Parse Volume from CIFTI

Description Usage Arguments Value Examples

View source: R/parse_volume.R

Description

Extracts information about Volumes from CIFTI file

Usage

1
2
3
parse_volume(nodeset)

get_volume(fname)

Arguments

nodeset

Set of XML nodes corresponding to Volume

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, "./Volume")
parse_volume(nodeset)

## End(Not run)

neuroconductor/cifti documentation built on Feb. 6, 2018, 6 p.m.