Learn R Programming

fmri (version 1.9.12.1)

cutroi: I/O function

Description

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

Usage

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

Value

Corresponding cut fmridata object.

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

Author

Karsten Tabelow tabelow@wias-berlin.de

Details

Cut a region of interest from frmidata.

See Also

read.AFNI, read.ANALYZE, read.NIFTI

Examples

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

Run the code above in your browser using DataLab