run.afni_lm_spec | R Documentation |
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.
## S3 method for class 'afni_lm_spec'
run(x, outdir, execute = TRUE, execfun = system, prepend = "", ...)
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 |
NULL. The function is used for its side effects, such as writing output files.
# Assuming you have created an afni_lm_spec object called alm
#run.afni_lm_spec(alm, outdir="results")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.