is.xifti_data {ciftiTools} | R Documentation |
Validate the "data" component of a "xifti"
object
Description
Check if object is valid for xifti$data
, where xifti
is a
"xifti"
object.
Usage
is.xifti_data(x)
Arguments
x |
The putative "data" component. |
Details
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
grayordinates 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.
Value
Logical. Is x
a valid "data" component?
[Package ciftiTools version 0.16.1 Index]