Learn R Programming

spm12r (version 2.0)

spm12_coregister: SPM12 Coregister (Estimate and Reslice)

Description

Performs SPM12 coregistration estimation and reslicing on an Image

Usage

spm12_coregister(fixed, moving, other.files = NULL, prefix = "r", add_spm_dir = TRUE, spmdir = spm_dir(), clean = TRUE, verbose = TRUE, outdir = NULL, ...)

Arguments

fixed
File that is assumed fixed
moving
moving file to be registered to fixed space
other.files
Other files to register to fixed, in same space as moving file
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)
...
Arguments passed to run_spm12_script

Value

Result from run_matlab_script