Reads in a slice of a .img file at all time points into an array
f.read.analyze.slice.at.all.timepoints(file, slice)
file
The location of the .img file
slice
The number of the slice to be read in
An array containing the slice at all time points
f.read.analyze.slice
,
f.read.analyze.ts
,
f.read.analyze.volume
# NOT RUN {
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