Performs SPM12 realignment estimation and reslicing on an Image
spm12_realign.deprecated(
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(verbose = verbose, install_dir = install_dir),
clean = TRUE,
verbose = TRUE,
outdir = NULL,
install_dir = NULL,
...
)
Files to be realigned and resliced
Full-Width Half Max to smooth
Should the files be registered to the first or the mean
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 to append to front of image filename
Add SPM12 directory from this package
SPM dir to add, will use package default directory
Remove scripts from temporary directory after running
Print diagnostic messages
Directory to copy results.
If full filename given, then results will
be in dirname(filename)
directory to download SPM12
Arguments passed to run_spm12_script
Result from run_matlab_script