parc_vals_to_xifti: Convert parcellation values to '"xifti"'

View source: R/parc_utils.R

parc_vals_to_xiftiR 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()


mandymejia/ciftiTools documentation built on Feb. 28, 2024, 11:20 a.m.