f.read.analyze.ts {AnalyzeFMRI}R Documentation

read in one voxel time series

Description

Given a 4D ANALYZE .img/.hdr image pair this function can read in the time series from a specified position in 3D into a vector.

Usage

f.read.analyze.ts(file, x, y, z)

Arguments

file

The .img file

x

The x-coordinate

y

The y-coordinate

z

The z-coordinate

Details

Given a 4D ANALYZE .img/.hdr image pair this function can read in the time series from a specified position in 3D into a vector.

Value

A vector containing the time series

See Also

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

Examples

f.read.analyze.ts(system.file("example.img", package="AnalyzeFMRI"),30,30,10)

[Package AnalyzeFMRI version 1.1-23 Index]