Finds the standard data directory for FSL and pastes together the string for an MNI template image

mni_fname(mm = c("1", "0.5", "2"), brain = FALSE, linear = FALSE, mask = FALSE)

mni_face_fname(mm = c("1", "0.5", "2"))

Arguments

mm

Resolution (in mm) of the brain image (isotropic)

brain

Should the brain be returned (default) or the T1 with the skull

linear

Should the linearized MNI template be used

mask

should the mask be given? Generally, only MNI152_T1_1mm_brain_mask exists.

Value

Character path of filename, warning if that file does not exist