Creates an ROIVol
object representing a set of values
at specific 3D coordinates within a spatial reference system.
Arguments
- space
A
NeuroSpace
object defining the spatial reference- coords
A matrix with 3 columns representing (x,y,z) coordinates
- data
A numeric vector of values corresponding to each coordinate
Value
An ROIVol
object
Examples
space <- NeuroSpace(c(64,64,64))
coords <- matrix(c(1,2,3, 4,5,6), ncol=3, byrow=TRUE)
data <- c(1.5, 2.5)
roi_vol <- ROIVol(space, coords, data)