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

View source: R/analyzeFMRI.R

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

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

AnalyzeFMRI documentation built on Aug. 8, 2025, 7:16 p.m.