R/fsl_sub2.R

Defines functions fsl_sub2

Documented in fsl_sub2

#' @rdname fslsub2
#' @aliases fsl_sub2
#' @export
#' @note Functions with underscores have different defaults
#' and will return an output filename, so to be used for piping
fsl_sub2 = function(
  ...,
  outfile = tempfile(fileext = ".nii.gz"),
  retimg = FALSE
) {
  fslsub2(..., outfile = outfile, retimg = retimg)
  return(outfile)
}
muschellij2/fslr documentation built on Aug. 31, 2022, 8:47 p.m.