This function calls fslmerge
to merge files on some dimension
and either saves the image or returns an object of class nifti
additional arguments passed to readnii
.
(character) output filename
(logical) return image of class nifti
(character) input filenames
(character) direction to merge over, x, y, z, t (time), a (auto)
(logical) If retimg, should file be reoriented when read in?
Passed to readnii
.
(logical) pass to system
(logical) print out command before running
character or logical depending on intern
Functions with underscores have different defaults and will return an output filename, so to be used for piping