powered by
Reads in a slice of a .img or .nii file at all time points into an array
f.read.nifti.slice.at.all.timepoints(file, slice)
An array containing the slice at all time points
file The location of the .img file
file
slice The number of the slice to be read in
slice
f.read.nifti.slice, f.read.nifti.ts, f.read.nifti.volume
f.read.nifti.slice
f.read.nifti.ts
f.read.nifti.volume
a <- f.read.nifti.slice.at.all.timepoints(system.file("example-nifti.img", package = "AnalyzeFMRI"), 10) dim(a)
Run the code above in your browser using DataLab