build_afni_cmd

build_afni_cmd(afni_list, quiet = FALSE)

Arguments

afni_list

list that contains the program name and options to create command

Value

return afni command

Examples

build_afni_cmd(afni_list = list(program = "3dcalc", opt = list(a = "a.nii.gz", b = "b.nii.gz", expr = "'(a*b)'"), prefix = c.nii.gz))
#> Error in build_afni_cmd(afni_list = list(program = "3dcalc", opt = list(a = "a.nii.gz", b = "b.nii.gz", expr = "'(a*b)'"), prefix = c.nii.gz)): object 'c.nii.gz' not found