Learn R Programming

cifti (version 0.4.5)

parse_volume: Parse Volume from CIFTI

Description

Extracts information about Volumes from CIFTI file

Usage

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

Run this code
# NOT RUN {
doc = cifti_xml(fname)
nodes = xml_find_all(doc, "/CIFTI/Matrix/MatrixIndicesMap")
nodeset = xml_find_all(nodes, "./Volume")
parse_volume(nodeset)
# }

Run the code above in your browser using DataLab