BrainSlice {neuroim} | R Documentation |
BrainSlice constructor
Description
BrainSlice constructor
Usage
BrainSlice(data, space, indices = NULL)
Arguments
data |
data vector or matrix |
space |
an instance of class BrainSpace |
indices |
linear indices corresponding used if |
Examples
bspace <- BrainSpace(c(64,64), spacing=c(1,1))
dat <- array(rnorm(64*64), c(64,64))
bslice <- BrainSlice(dat,bspace)
print(bslice)
[Package neuroim version 0.0.6 Index]