Learn R Programming

AnalyzeFMRI (version 1.1-11)

f.read.analyze.ts: 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

Value

  • A vector containing the time series

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.

See Also

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

Examples

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

Run the code above in your browser using DataLab