BrainVolume {neuroim} | R Documentation |
BrainVolume
Description
Construct a BrainVolume
instance, using default (dense) implementation
Usage
BrainVolume(data, space, source = NULL, label = "", indices = NULL)
Arguments
data |
a three-dimensional |
space |
an instance of class |
source |
an instance of class |
label |
a |
indices |
an 1D vector that gives the linear indices of the associated |
Value
a DenseBrainVolume
instance
Examples
bspace <- BrainSpace(c(64,64,64), spacing=c(1,1,1))
dat <- array(rnorm(64*64*64), c(64,64,64))
bvol <- BrainVolume(dat,bspace, label="test")
print(bvol)
[Package neuroim version 0.0.6 Index]