"xifti"
to a matrixConverts a "xifti"
to a matrix by concatenating the data from each
brainstructure along the rows. Surfaces and metadata are discarded.
# S3 method for xifti
as.matrix(x, subcortex_by_bs = FALSE, ...)
The input as a matrix. Each brainstructure's data is concatenated.
A "xifti"
object.
If subcortical data exists in x
, should the
resulting matrix order locations by brain structure? Default: FALSE
.
If TRUE
, subcortex locations will be sorted by brain structure first,
and then array index second.
Unused