newdata_xifti: Replace the data in a '"xifti"'

Description Usage Arguments Details Value See Also

View source: R/newdata_xifti.R

Description

Replace the data in a "xifti" with new data from a data matrix.

Usage

1
newdata_xifti(xifti, newdata, newnames = NULL)

Arguments

xifti

The "xifti"

newdata

The V \ times T matrix of data values to replace those in xifti with. The left cortex vertices should be at the top, right cortex vertices in the middle, and subcortex vertices at the bottom (when present). Can also be a length-one vector to set all values equally.

newnames

Replace the names in the xifti. If NULL (default), keep the original names.

Details

If the "xifti" has V grayordinates and T measurements in total, newdata should be a V \times T matrix.

Value

The new "xifti"

See Also

Other functions for manipulating 'xifti' objects: add_surf(), apply_xifti(), combine_xifti(), convert_to_dlabel(), merge_xifti(), remove_xifti(), select_xifti(), transform_xifti()


neuroconductor/ciftiTools documentation built on Dec. 22, 2021, 1:09 a.m.