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

Share:

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)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.