Learn R Programming

spm12r (version 2.0)

spm12_normalize: SPM12 Normalize (Estimate and Write)

Description

Performs SPM12 (Spatial) Normalization on an Image

Usage

spm12_normalize(filename, other.files = NULL, bounding_box = matrix(c(-90, -126, -72, 90, 90, 108), nrow = 2, byrow = TRUE), add_spm_dir = TRUE, spmdir = spm_dir(), clean = TRUE, verbose = TRUE, ...)

Arguments

filename
File to be normalized to the template
other.files
Files to be written using the estimated normalization
bounding_box
matrix (2x3) of the bounding box to use. Default is for MNI 2mm template size
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
...
Arguments passed to run_spm12_script

Value

Result from run_matlab_script