setmask: Add or replace mask in an fmridata object

View source: R/misc.r

setmaskR Documentation

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'

Details

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

Value

on object of class 'fmridata'.

Author(s)

Joerg Polzehl polzehl@wias-berlin.de

See Also

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


fmri documentation built on Sept. 8, 2023, 5:23 p.m.