"xifti"
Replace the data in a "xifti"
with new data from a data matrix.
newdata_xifti(xifti, newdata, newnames = NULL)
The "xifti"
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).
If newdata
is instead a \(V \times Q\) matrix where \(Q\) is not
\(T\), then any column names or label tables will be removed.
(A "dlabel" will be converted to a "dscalar".)
Can also be a length-one vector to set all values equally.
Replaces the names in the xifti
. If NULL
(default), keep the original names, except if the number of columns
in newdata
doesn't match that of xifti
, in which case
no names will be used.
The new "xifti"
If the "xifti"
has \(V\) grayordinates and \(T\) measurements\,
newdata
should be a \(V \times Q\) matrix. If \(Q\)
is not equal to \(T\), then any column names or label tables will be
removed. (A "dlabel" will be converted to a "dscalar".)
Other functions for manipulating `xifti` objects:
add_surf()
,
apply_xifti()
,
combine_xifti()
,
convert_to_dlabel()
,
merge_xifti()
,
remove_xifti()
,
select_xifti()
,
transform_xifti()