afni_3dAFNItoNIFTI: Convert AFNI File to NIFTI Image

Description Usage Arguments Value

View source: R/afni_to_nifti.R

Description

Converts an AFNI file to an NIfTI file or nifti using 3dAFNItoNIFTI

Usage

1
2
3
4
afni_3dAFNItoNIFTI(file, outfile = NULL, opts = "", float = TRUE,
  retimg = TRUE, ...)

afni_to_nifti(...)

Arguments

file

AFNI BRIK or HEAD file

outfile

output filename or prefix. The default is to always use .nii.gz extensions and will override if outfile has a .nii extension.

opts

Additional options to pass to 3dAFNItoNIFTI

float

Should the -float option be called in 3dAFNItoNIFTI

retimg

Should an image be returned?

...

additional arguments to readnii

Value

If retimg then object of class nifti. Otherwise, the outfile argument is returned (or a temporary filename)


neuroconductor-devel-releases/afnir documentation built on May 6, 2020, 3:22 p.m.