write.nifti: Write nifti/analyze file...

write.niftiR Documentation

Write nifti/analyze file...

Description

Write nifti/analyze file

Usage

write.nifti(x, outfile=NULL, overwrite=FALSE, header=NULL, ...)

Arguments

x

nifti, big.nifti4d, or anything accepted by as.nifti

outfile

output filename (if want .hdr/.img please just specify one) (default: fname in header)

overwrite

if output exists, do you want to overwrite (default: FALSE)

header

list of header attributes (note that this takes precedence over header attributes found in the primary argument x)

...

Header attribute arguments as in header_attribute=value (note that these header attributes and values take precedence over the attributes in the previous header argument)

Author(s)

Zarrar Shehzad

See Also

write.nifti-methods


czarrar/niftir documentation built on April 19, 2022, 3:35 a.m.