powered by
Write a 4 dimensional datacube in NIFTI file format.
write.NIFTI(ttt, header=NULL, filename)
4 dimensional datacube
header information
file name
Nothing is returned.
Writes the datacube ttt to a file named file in NIFTI file format. header is a list that contains the header information.
ttt
file
header
See NIFTI documentation for details.
Polzehl, J. and Tabelow, K. (2007) fmri: A Package for Analyzing fmri Data, R News, 7:13-17 .
read.ANALYZE, write.AFNI
read.ANALYZE
write.AFNI
# NOT RUN { ## Example 1 write.NIFTI(array(as.integer(65526*runif(10*10*10*20)),c(10,10,10,20)), file=file.path(tempdir(),"niftifile")) # }
Run the code above in your browser using DataLab