f.read.analyze.ts: read in one voxel time series

Description Usage Arguments Details Value See Also Examples

View source: R/analyzeFMRI.R

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

1

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

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

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