Matches the argument to pass to getMNIPath, then reads the NIfTI image into R

readMNI(..., reorient = FALSE)

Arguments

...

Arguments to pass to getMNIPath

reorient

Should the image be reoriented? Passed to readNIfTI

Value

Object of class nifti

Examples

readMNI(what = "Brain_Mask", res = "2mm")
#> NIfTI-1 format
#>   Type            : nifti
#>   Data Type       : 16 (FLOAT32)
#>   Bits per Pixel  : 32
#>   Slice Code      : 0 (Unknown)
#>   Intent Code     : 0 (None)
#>   Qform Code      : 4 (MNI_152)
#>   Sform Code      : 4 (MNI_152)
#>   Dimension       : 91 x 109 x 91
#>   Pixel Dimension : 2 x 2 x 2
#>   Voxel Units     : mm
#>   Time Units      : sec