Learn R Programming

fmri (version 1.9.2.1)

setmask: Add or replace mask in an fmridata object

Description

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

Usage

setmask(fmriobj, mask)

Arguments

fmriobj

object of class 'fmridata'

mask

object of class 'array' or 'nifti'

Value

on object of class 'fmridata'.

Details

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

See Also

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