parse_brain_model {cifti}R Documentation

Parse BrainModel from CIFTI

Description

Extracts information about BrainModels from CIFTI file

Usage

parse_brain_model(nodeset)

get_brain_model(fname)

Arguments

nodeset

Set of XML nodes corresponding to BrainModel

fname

filename of CIFTI file

Value

List of values

Examples

## Not run: 
doc = cifti_xml(fname)
nodes = xml_find_all(doc, "/CIFTI/Matrix/MatrixIndicesMap")
nodeset = xml_find_all(nodes, "./BrainModel")

## End(Not run)

[Package cifti version 0.4.5 Index]