f.read.nifti.tpt {AnalyzeFMRI}R Documentation

Read in a volume at one time point

Description

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

Usage

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

Arguments

file

The .img file.

tpt

The time point to read in.

Details

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

Value

A 3D array containing the volume.

See Also

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

Examples

f.read.nifti.tpt(system.file("example-nifti.img", package="AnalyzeFMRI"),1)

[Package AnalyzeFMRI version 1.1-23 Index]