"xifti"
objectCheck if object is valid for xifti$data
, where xifti
is a
"xifti"
object.
is.xifti_data(x)
The putative "data" component.
Logical. Is x
a valid "data" component?
This is a helper function for is.xifti
.
Requirements: a list with entries "cortex_left", "cortex_right", and
"subcort". Each must be either NULL
or a numeric matrix with
greyordinates along the rows and measurements along the columns.
The cortical matrices should have the same number of rows (vertices), and
all should have the same number of columns (measurements). At least one data
entry should be present.