parse_brain_model: Parse BrainModel from CIFTI

Description Usage Arguments Value Examples

View source: R/parse_brain_model.R

Description

Extracts information about BrainModels from CIFTI file

Usage

1
2
3
parse_brain_model(nodeset)

get_brain_model(fname, verbose = TRUE)

Arguments

nodeset

Set of XML nodes corresponding to BrainModel

fname

filename of CIFTI file

verbose

print diagnostic messages

Value

List of values

Examples

1
2
3
4
5
6
## Not run: 
doc = cifti_xml(fname)
nodes = xml_find_all(doc, "/CIFTI/Matrix/MatrixIndicesMap")
nodeset = xml_find_all(nodes, "./BrainModel")

## End(Not run)

neuroconductor/cifti documentation built on May 19, 2021, 5:18 a.m.