NeuroVol | R Documentation |
The NeuroVol
class encapsulates 3D volumetric neuroimaging data. It provides methods
for accessing slices, performing spatial transformations, and integrating with the spatial
reference provided by NeuroSpace
.
NeuroVol(data, space, label = "", indices = NULL)
data |
A 3D array containing the volumetric data. |
space |
An object of class |
label |
A character string providing a label for the volume (default: ""). |
indices |
An optional vector of indices for sparse representation (default: NULL). |
A NeuroVol
object.
bspace <- NeuroSpace(c(64,64,64), spacing=c(1,1,1))
dat <- array(rnorm(64*64*64), c(64,64,64))
bvol <- NeuroVol(dat,bspace, label="test")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.