lme_savemgh | R Documentation |
Write FreeSurfer image (mgh) files
lme_savemgh(vol, fname)
vol |
List with fields "ndim1", "ndim2", "ndim3", "nframes", which need to contain image dimensions, and "x", which contains the image data. |
fname |
Filename |
## Not run: vol <- NULL
## Not run: vol$ndim1 <- 256
## Not run: vol$ndim1 <- 256
## Not run: vol$ndim1 <- 160
## Not run: vol$ndim1 <- 1
## Not run: vol$x <- array(1, dim=c(256, 256, 160, 1))
## Not run: lme_savemgh(vol, FILENAME)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.