Learn R Programming

spm12r (version 2.0)

spm12_normalize_write: SPM12 Normalize (Write)

Description

Applies SPM12 (Spatial) Normalization to images

Usage

spm12_normalize_write(filename, other.files = NULL, retimg = TRUE, reorient = FALSE, add_spm_dir = TRUE, spmdir = spm_dir(), clean = TRUE, verbose = TRUE, ...)

Arguments

filename
Filename of deformation (nifti)
other.files
Files to be written using the estimated normalization
retimg
Logical indicating if image should be returned or result from run_matlab_script
reorient
if retimg=TRUE pass to readNIfTI
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