reads a slice at all time points from a NIFTI .img or .nii file

Description

Reads in a slice of a .img or .nii file at all time points into an array

Usage

1

Arguments

file

file The location of the .img file

slice

slice The number of the slice to be read in

Value

An array containing the slice at all time points

See Also

f.read.nifti.slice, f.read.nifti.ts, f.read.nifti.volume

Examples

1
2
a<-f.read.nifti.slice.at.all.timepoints(system.file("example-nifti.img", package="AnalyzeFMRI"),10)
dim(a)

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.