parse_named_map: Parse Named Map from CIFTI

Description Usage Arguments Value Examples

View source: R/parse_named_map.R

Description

Extracts information about Named Maps from CIFTI file

Usage

1
2
3

Arguments

nodeset

Set of XML nodes corresponding to NamedMap

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

## End(Not run)

neuroconductor/cifti documentation built on Nov. 26, 2018, 7:34 p.m.