afni_3dcalc: AFNI 3dcalc function

Description Usage Arguments Value

View source: R/afni_3dcalc.R

Description

Wrapper for AFNI 3dcalc function

Usage

1
2
afni_3dcalc(file, expression, outfile = NULL, retimg = TRUE,
  opts = "", ...)

Arguments

file

nifti object or NIfTI filename. If more than one is given, they are given names of the letters up to z.

expression

Calculation expression, with single quotes

outfile

Output filename, should have a .nii.gz extension

retimg

Should an image be returned (TRUE) or a filename?

opts

Additional options passed to 3dcalc

...

additional arguments to afni_3dAFNItoNIFTI

Value

Output filename of the brik


neuroconductor-devel/afnir documentation built on May 6, 2021, 7:33 a.m.