flirt to register infile to reffile
and either saves the image or returns an object of class nifti, along with the
transformation matrix omatflirt(infile, reffile, omat, dof, outfile = NULL, retimg = FALSE,
reorient = FALSE, intern = TRUE, opts = "", verbose = TRUE, ...)readNIfTI.systemreadNIfTI.