Learn R Programming

AnalyzeFMRI (version 1.1-16)

f.read.analyze.tpt: Read in a volume at one time point

Description

Given a 4D ANALYZE .img/.hdr image pair this function can read in the 3D volume of measurements at a specific time point.

Usage

f.read.analyze.tpt(file, tpt)

Arguments

file

The .img file.

tpt

The time point to read in.

Value

A 3D array containing the volume.

Details

Given a 4D ANALYZE .img/.hdr image pair this function can read in the 3D volume of measurements at a specific time point.

See Also

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

Examples

Run this code
# NOT RUN {
f.read.analyze.tpt(system.file("example.img", package="AnalyzeFMRI"),1)
# }

Run the code above in your browser using DataLab