Description Usage Arguments Value Examples
Create A Spherical Region of Interest
| 1 | RegionSphere(bvol, centroid, radius, fill = NULL, nonzero = FALSE)
 | 
| bvol | an  | 
| centroid | the center of the sphere in voxel space | 
| radius | the radius in real units (e.g. millimeters) of the spherical ROI | 
| fill | optional value(s) to assign to data slot | 
| nonzero | keep only nonzero elements from  | 
an instance of class ROIVolume
| 1 2 3 |  sp1 <- BrainSpace(c(10,10,10), c(1,1,1))
 cube <- RegionSphere(sp1, c(5,5,5), 3.5)
 vox = coords(cube)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.