write.AFNI {fmri} | R Documentation |
Write BRIK/HEAD files.
write.AFNI(filename, ttt, label, note = "", origin = c(0, 0, 0), delta = c(4, 4, 4), idcode = "WIAS_noid")
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) |
Write out BRIK/HEAD files as required by AFNI. Most arguments correspond to entries in the HEAD file.
Nothing is returned.
Karsten Tabelow tabelow@wias-berlin.de
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")