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, verbose = TRUE)

Arguments

nodeset

Set of XML nodes corresponding to Volume

fname

filename of CIFTI file

verbose

print diagnostic messages

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)

muschellij2/cifti documentation built on Aug. 12, 2020, 4:06 a.m.