fslval | R Documentation |
This function calls fslval
to obtain a nifti header
fslval(file, keyword = "", verbose = TRUE, ...)
file |
(character) image filename or character of class nifti |
keyword |
(character) keyword to be taken from fslhd |
verbose |
(logical) print out command before running |
... |
options passed to |
Character of information from fslhd field specified in keyword
if (have.fsl()){
mnifile = file.path(fsldir(), "data", "standard",
"MNI152_T1_2mm.nii.gz")
fslval(mnifile, keyword = "dim1")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.