Description Usage Arguments Details Value Author(s) References See Also Examples
Write BRIK/HEAD files.
1 2 |
filename |
name of the file |
ttt |
datacube |
label |
labels (BRICK\_LABS), depreciated - see header |
note |
notes on data (HISTORY\_NOTE), depreciated - see header |
origin |
origin of datacube (ORIGIN), depreciated - see header |
delta |
voxel dimensions (DELTA), depreciated - see header |
idcode |
idcode of data (IDCODE\_STRING), depreciated - see header |
header |
This is a list of header information such as
DATASET\_RANK to be written to the .HEAD file.
Arguments |
taxis |
logical (defaults to |
Write out BRIK/HEAD files as required by AFNI. Most arguments
correspond to entries in the HEAD file, but use is depreciated. Use header
and taxis
instead!
Nothing is returned.
Karsten Tabelow tabelow@wias-berlin.de
Polzehl, J. and Tabelow, K. (2007) fmri: A Package for Analyzing fmri Data, R News, 7:13-17 .
1 2 3 4 5 6 7 | ## Not run: write.AFNI(tempfile(), 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")
## End(Not run)
write.AFNI(tempfile(), array(as.integer(65526*runif(10*10*10*20)),
c(10,10,10,20)), header=list(HISTORY_NOTE="random data",
ORIGIN=c(0,0,0), DELTA=c(4,4,5), IDCODE_STRING="unique ID"),taxis=FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.