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)
The .img file
The x-coordinate
The y-coordinate
The z-coordinate
A vector containing the time series
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
# NOT RUN { f.read.analyze.ts(system.file("example.img", package="AnalyzeFMRI"),30,30,10) # }
Run the code above in your browser using DataLab