Learn R Programming

cifti (version 0.4.5)

parse_named_map: Parse Named Map from CIFTI

Description

Extracts information about Named Maps from CIFTI file

Usage

parse_named_map(nodeset)

get_named_map(fname)

Arguments

nodeset

Set of XML nodes corresponding to NamedMap

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, "./NamedMap")
parse_named_map(nodeset)
# }

Run the code above in your browser using DataLab