Learn R Programming

fmri (version 1.0)

read.AFNI: I/O function

Description

Read HEAD/BRIK file.

Usage

read.AFNI(filename)

Arguments

filename
name of the file (without extension)

Value

  • Object of class "fmridata" with the following list entries:
  • ttt4 dimensional datacube, the first three dimensions are voxel dimensions, the fourth dimension denotes the time
  • headerheader information list
  • formatdata source. string "HEAD/BRIK"
  • deltavoxel size in mm
  • originposition of the datacube origin
  • orientdata orientation code. see AFNI documentation
  • dimdimension of the datacube
  • weightsweights vector coding the relative voxel sizes in x, y, z-direction.
  • maskhead mask

Details

The function reads a HEAD/BRIK file.

References

R. W. Cox (1996). AFNI: Software for analysis and visualization of functional magnetic resonance neuroimages. Computers and Biomed. Res. 29:162-173.

See Also

write.AFNI, read.ANALYZE

Examples

Run this code
afni <- read.AFNI("afnifile")

Run the code above in your browser using DataLab