cutroi function

I/O function

I/O function

This functions cuts a region-of-interest (ROI) from input data.

cutroi(data, xind = 1:data$dim[1], yind = 1:data$dim[2], zind = 1:data$dim[3], tind = 1:data$dim[4])

Arguments

  • data: Object of class fmridata.
  • xind: vector of roi-indices for first data index
  • yind: vector of roi-indices for second data index
  • zind: vector of roi-indices for third data index
  • tind: vector of roi-indices for 4th data index

Details

Cut a region of interest from frmidata.

Returns

Corresponding cut fmridata object.

Author(s)

Karsten Tabelow tabelow@wias-berlin.de

See Also

read.AFNI, read.ANALYZE, read.NIFTI

Examples

##---- Should be DIRECTLY executable !! ---- ##-- ==> Define data, use random, ##-- or do help(data=index) for the standard data sets.