fslmaths -mas
to mask an image from
an image mask and either saves the image or returns an object of class niftifslmask(file, mask, outfile = NULL, retimg = FALSE, reorient = FALSE,
intern = TRUE, opts = "", verbose = TRUE, ...)
readNIfTI
.system
readNIfTI
.