powered by
Given a 4D NIFTI .img/.hdr image pair or a .nii file this function can read in the 3D volume of measurements at a specific time point.
f.read.nifti.tpt(file, tpt)
The .img file.
The time point to read in.
A 3D array containing the volume.
f.read.nifti.slice, f.read.nifti.slice.at.all.timepoints, f.write.nifti,
f.read.nifti.slice
f.read.nifti.slice.at.all.timepoints
f.write.nifti
# NOT RUN { f.read.nifti.tpt(system.file("example-nifti.img", package="AnalyzeFMRI"),1) # }
Run the code above in your browser using DataLab