Description Usage Arguments Value Slots Examples
a four-dimensional image that conists of a sequence of labeled image volumes backed by a list
Constructor function for BrainBucket
class
1 | BrainBucket(volumeList)
|
volumeList |
a named list of |
an instance of class BrainBucket
source
the data source for the bucket volumes
labels
the names of the sub-volumes contained in the bucket
data
a list of BrainVolume
instances with names corresponding to volume labels
1 2 3 4 5 6 7 | vol1 <- BrainVolume(rnorm(24*24*24), BrainSpace(c(24,24,24), c(1,1,1)))
vol2 <- BrainVolume(rnorm(24*24*24), BrainSpace(c(24,24,24), c(1,1,1)))
vol3 <- BrainVolume(rnorm(24*24*24), BrainSpace(c(24,24,24), c(1,1,1)))
vlist <- list(vol1,vol2,vol3)
names(vlist) <- paste0("V", 1:3)
bucket <- BrainBucket(vlist)
all.equal(dim(bucket[[1]]), dim(vol1))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.