f.read.analyze.volume {AnalyzeFMRI} | R Documentation |
Reads the ANALYZE image format .img file into an array.
f.read.analyze.volume(file)
file |
The location of the .img file to be read |
An array with the appropriate dimensions containing the image volume. A print out of the file information is also given. The function assumes that the corresponding .hdr file is in the same directory as the .img file.
f.read.analyze.slice
,
f.read.analyze.slice.at.all.timepoints
,
f.read.analyze.ts
a<-f.read.analyze.volume(system.file("example.img", package="AnalyzeFMRI")) dim(a)