powered by
Given a 4D ANALYZE .img/.hdr image pair this function can read in the time series from a specified position in 3D into a vector.
f.read.analyze.ts(file, x, y, z)
A vector containing the time series
The .img file
The x-coordinate
The y-coordinate
The z-coordinate
f.read.analyze.slice, f.read.analyze.slice.at.all.timepoints, f.write.analyze,
f.read.analyze.slice
f.read.analyze.slice.at.all.timepoints
f.write.analyze
a <- f.read.analyze.ts(system.file("example.img", package = "AnalyzeFMRI"), 30, 30, 10)
Run the code above in your browser using DataLab