Learn R Programming

AnalyzeFMRI (version 1.1-11)

f.read.analyze.slice.at.all.timepoints: 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

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

Run the code above in your browser using DataLab