Learn R Programming

fslr (version 2.24.1)

mni_fname: Construct MNI Filename

Description

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

Usage

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