This function calls slicetimer
and performs
slice timing correction for fMRI data
fslslicetimer(file, outfile = NULL, retimg = TRUE, reorient = FALSE,
intern = FALSE, tr = 3, direction = "z", indexing = c("up",
"down"), acq_order = c("contiguous", "interleaved"), verbose = TRUE,
...)fsl_slicetimer(..., outfile = tempfile(fileext = ".nii.gz"),
retimg = FALSE)
(character) image to be manipulated
(character) resultant image name (optional)
(logical) return image of class nifti
(logical) If retimg, should file be reoriented when read in?
Passed to readnii
.
(logical) to be passed to system
(numeric) Repeat time in seconds
(character) Direction of acquisition
(character) Whether indexing was bottom up (default) or
down using --down
option
(character) Order of acquisition, either contiguous or interleaved
(logical) print out command before running
additional arguments passed to readnii
.
If retimg
then object of class nifti. Otherwise,
Result from system command, depends if intern is TRUE or FALSE.