setmask function

Add or replace mask in an fmridata object

Add or replace mask in an fmridata object

The function replaces the information in the mask component of an fmridata object.

setmask(fmriobj, mask)

Arguments

  • fmriobj: object of class 'fmridata'
  • mask: object of class 'array' or 'nifti'

Details

The dimensions of both objects supplied as arguments need to be compatible.

Returns

on object of class 'fmridata'.

Author(s)

Joerg Polzehl polzehl@wias-berlin.de

See Also

oro2fmri, niftiImage2fmri, read.NIFTI, read.AFNI, read.ANALYZE