ROIVol {neuroim2} | R Documentation |
Create ROI Volume Object
Description
Creates an ROIVol
object representing a set of values
at specific 3D coordinates within a spatial reference system.
Usage
ROIVol(space, coords, data)
Arguments
space |
A |
coords |
A matrix with 3 columns representing (x,y,z) coordinates |
data |
A numeric vector of values corresponding to each coordinate |
Details
ROI Volume
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)
[Package neuroim2 version 0.8.1 Index]