Learn R Programming

dti (version 1.5.4.3)

setmask-methods: Methods for Function `setmask' in Package `dti'

Description

Read mask definition from NIfTI file and include it in dtiData object

Usage

# S4 method for dtiData
setmask(object, maskfile)

Value

The function returns an object of class dtiData.

Arguments

object

an object of class "dtiData"

maskfile

NIfTI file containing mask definition. Dimension need to be compatible, i.e. either equal object@ddim0 or object@ddim

Methods

obj = "ANY"

Returns a warning

obj = "dtiData"

Set mask definition in dtiObject using information provided as NIfTI file as e.g. provided by fsl_bet.

Author

Karsten Tabelow tabelow@wias-berlin.de
J\"org Polzehl polzehl@wias-berlin.de

See Also

dtiData, readDWIdata,