NeuroVec to a matrixconvert a NeuroVec to a matrix
convert a ROIVec to a matrix
Convert to Matrix
# S4 method for ClusteredNeuroVec
as.matrix(x, by = c("cluster", "voxel"))# S4 method for MappedNeuroVec
as.matrix(x)
# S4 method for NeuroVec
as.matrix(x)
# S4 method for DenseNeuroVec
as.matrix(x)
# S4 method for ROIVec
as.matrix(x)
# S4 method for SparseNeuroVec
as.matrix(x, ...)
A matrix representation of the object
The object to convert to a matrix
For ClusteredNeuroVec: controls the conversion target. Defaults to "cluster" to return a TxK matrix of cluster time-series. "voxel" is reserved for future use.
Additional arguments