cifti.axis.named.maps: Create a CIFTI-2 axis for named maps (internal helper).

View source: R/write_cifti_axes.R

cifti.axis.named.mapsR Documentation

Create a CIFTI-2 axis for named maps (internal helper).

Description

Create a CIFTI-2 axis for named maps (internal helper).

Usage

cifti.axis.named.maps(names, metadata, label_tables, type)

Arguments

names

character vector, the map names, or NULL for maps without a name.

metadata

list of metadata lists, or NULL.

label_tables

list of label tables, or NULL.

type

character string, 'CIFTI_INDEX_TYPE_SCALARS' or 'CIFTI_INDEX_TYPE_LABELS'.

Value

a named list with the entries 'type' and 'named_maps'.


freesurferformats documentation built on Sept. 25, 2026, 1:07 a.m.