write.AFNI {fmri}R Documentation

I/O functions

Description

Write BRIK/HEAD files.

Usage

write.AFNI(filename, ttt, label, note = "", origin = c(0, 0, 0), 
               delta = c(4, 4, 4), idcode = "WIAS_noid")

Arguments

filename name of the file
ttt datacube
label labels (BRICK_LABS)
note notes on data (HISTORY_NOTE)
origin origin of datacube (ORIGIN)
delta voxel dimensions (DELTA)
idcode idcode of data (IDCODE_STRING)

Details

Write out BRIK/HEAD files as required by AFNI. Most arguments correspond to entries in the HEAD file.

Value

Nothing is returned.

Author(s)

Karsten Tabelow tabelow@wias-berlin.de

See Also

read.AFNI,write.ANALYZE

Examples

 write.AFNI("afnifile", array(as.integer(65526*runif(10*10*10*20)),
     c(10,10,10,20)), c("signal"), note="random data",
     origin=c(0,0,0), delta=c(4,4,5), idcode="unique ID")

[Package fmri version 1.2-0 Index]