f.read.analyze.slice.at.all.timepoints {AnalyzeFMRI}R Documentation

reads a slice at all time points from a .img file

Description

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

Usage

f.read.analyze.slice.at.all.timepoints(file, slice)

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.analyze.slice, f.read.analyze.ts, f.read.analyze.volume

Examples

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

[Package AnalyzeFMRI version 1.1-11 Index]