f.read.nifti.ts {AnalyzeFMRI} | R Documentation |
Given a 4D NIFTI .img/.hdr image pair this function can read in the time series from a specified position in 3D into a vector.
f.read.nifti.ts(file, x, y, z)
file |
The .img file |
x |
The x-coordinate |
y |
The y-coordinate |
z |
The z-coordinate |
Given a 4D NIFTI .img/.hdr image pair this function can read in the time series from a specified position in 3D into a vector.
A vector containing the time series
f.read.nifti.slice
,
f.read.nifti.slice.at.all.timepoints
,
f.write.nifti
,
f.read.nifti.ts(system.file("example-nifti.img", package="AnalyzeFMRI"),30,30,10)