powered by
RegionSphere(bvol, centroid, radius, fill = NULL, nonzero = FALSE)
BrainVolume
BrainSpace
bvol
ROIVolume
sp1 <- BrainSpace(c(10,10,10), c(1,1,1)) cube <- RegionSphere(sp1, c(5,5,5), 3.5) vox = coords(cube)
Run the code above in your browser using DataLab