parc_vals_to_xifti {ciftiTools}R Documentation

Convert parcellation values to "xifti"

Description

From a parcellation and a corresponding value matrix, make a "xifti" object that has the value vector of each parcel across its locations.

Usage

parc_vals_to_xifti(parc, vals)

Arguments

parc

A single-column "dlabel" "xifti" object.

vals

A numeric matrix. Rows should correspond to rows in the color table of parc. Columns will become columns in the output "xifti" object.

Value

A "xifti" object

See Also

Other parcellation-related: apply_parc(), load_parc(), load_sub_parc(), parc_add_subcortex(), parc_borders()


[Package ciftiTools version 0.14.0 Index]