Usage
spm12_realign(filename, fwhm = 5, register_to = c("first", "mean"), reslice = c("all", "2:n", "all+mean", "mean"), prefix = "r", add_spm_dir = TRUE, spmdir = spm_dir(), clean = TRUE, verbose = TRUE, outdir = NULL, ...)
Arguments
filename
Files to be realigned and resliced
fwhm
Full-Width Half Max to smooth
register_to
Should the files be registered to the first or the mean
reslice
Options for reslicing all - all images in filename,
2:n - all images in filename 2:length(filename),
all+mean - all images and the mean, mean - mean only
prefix
Prefix to append to front of image filename
add_spm_dir
Add SPM12 directory from this package
spmdir
SPM dir to add, will use package default directory
clean
Remove scripts from temporary directory after running
verbose
Print diagnostic messages
outdir
Directory to copy results. If full filename given, then results will
be in dirname(filename)