f.read.analyze.volume: read whole .img file

Description Usage Arguments Value See Also Examples

View source: R/analyzeFMRI.R

Description

Reads the ANALYZE image format .img file into an array.

Usage

1

Arguments

file

The location of the .img file to be read

Value

An array with the appropriate dimensions containing the image volume. A print out of the file information is also given. The function assumes that the corresponding .hdr file is in the same directory as the .img file.

See Also

f.read.analyze.slice, f.read.analyze.slice.at.all.timepoints, f.read.analyze.ts

Examples

1
2
a<-f.read.analyze.volume(system.file("example.img", package="AnalyzeFMRI"))
dim(a)

AnalyzeFMRI documentation built on Oct. 5, 2021, 5:06 p.m.