Description Usage Arguments Value Examples
Three-dimensional brain image that is divided into N disjoint partitions
Construct a ClusteredBrainVolume
instance
1 2 | ClusteredBrainVolume(mask, clusters, labelMap = NULL, source = NULL,
label = "")
|
mask |
an instance of class |
clusters |
a vector of clusters ids with length equal to number of nonzero voxels in mask |
labelMap |
an optional |
source |
an optional instance of class |
label |
an optional |
ClusteredBrainVolume
instance
1 2 3 4 5 | bspace <- BrainSpace(c(16,16,16), spacing=c(1,1,1))
grid <- indexToGrid(bspace, 1:(16*16*16))
kres <- kmeans(grid, centers=10)
mask <- BrainVolume(rep(1, 16^3),bspace)
clusvol <- ClusteredBrainVolume(mask, kres$cluster)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.