This function runs the 3dDeconvolve command for the specified afni_lm_spec object. It outputs the results to a specified directory and can either execute the command or only output the shell '3dDeconvolve.sh' script.
Usage
# S3 method for afni_lm_spec
run(x, outdir, execute = TRUE, execfun = system, prepend = "", ...)
Arguments
- x
An afni_lm_spec object containing the model, dataset, and options
- outdir
The output folder
- execute
Whether to execute the command or only output the shell '3dDeconvolve.sh' script (default is TRUE)
- execfun
Function used to execute external system command (default is system)
- prepend
Prepend string to command (default is an empty string)
- ...
Additional arguments passed to execfun