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

Description Usage Arguments Details Value See Also Examples

View source: R/niftiFMRI.R

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

1

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

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

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