afni_3dAFNItoNIFTI: Convert AFNI File to NIFTI Image

View source: R/afni_to_nifti.R

afni_3dAFNItoNIFTIR Documentation

Convert AFNI File to NIFTI Image

Description

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

Usage

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/afnir documentation built on June 15, 2025, 3:29 a.m.