R/fsl_maths.R

Defines functions fsl_maths

Documented in fsl_maths

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