sdpar-methods: Methods for Function 'sdpar' in Package 'dti'

Description Usage Arguments Value Methods Author(s) See Also Examples

Description

This function estimates the parameters of a piecewise linear model for the dependence between error standard deviation and mean.

Usage

1
2
  ## S4 method for signature 'dtiData'
sdpar(object,level=NULL,sdmethod="none",interactive=TRUE,threshfactor=1)

Arguments

object

An object of class dtiData

level

Suggested value for slot level. As a default the value in [email protected] is used. The value determines the lower endpoint of the linear section in the model for error standard deviation as a function of the mean.

sdmethod

Method for estimating voxelwise standard deviations if replicates of zero weighted images are available, can be set to "sd" or "mad". "none" specifies that no variance model is fitted

interactive

If TRUE a density of values in zero weighted images is plotted together with the specification of the lower endpoint of the interval of linearity. A good choice of this point should correspond, if present, to the minimum between the first two modes of the density estimate. The value can be changed or accepted. If changed a new value for slot lambda is set.

threshfactor

Factor for threshold-value selected if function is run in interactive mode. May be used to correct results if automatic threshold selection fails.

Value

The function returns an object of class dtiData.

Methods

obj = "ANY"

Returns a warning

obj = "dtiData"

Estimate parameters of a model for the dependence between error standard deviation and mean.

Author(s)

Karsten Tabelow [email protected]
J\"org Polzehl [email protected]

See Also

dtiData, readDWIdata, dti.smooth, dtiTensor,

Examples

1
  ## Not run: demo(dti_art)

Example output

Loading required package: awsMethods

Use the function setCores() to change the number of CPU cores.

Loading required package: adimpro
sh: 1: cannot create /dev/null: Permission denied
sh: 1: cannot create /dev/null: Permission denied
sh: 1: cannot create /dev/null: Permission denied
Reading RAW images requires to install dcraw, see 

    http://cybercom.net/~dcoffin/dcraw/ for LINUX and http://www.insflug.org/raw/ 
    for MAC OS and Windows 

Loading required package: rgl
Warning messages:
1: In fun(libname, pkgname) : could not determine path to Imagemagick 

    please set the correct path manually using 

    'Sys.setenv(ImageMagick='path2imagemagick')'
2: In rgl.init(initValue, onlyNULL) : RGL: unable to open X11 display
3: 'rgl_init' failed, running with rgl.useNULL = TRUE 
4: .onUnload failed in unloadNamespace() for 'rgl', details:
  call: fun(...)
  error: object 'rgl_quit' not found 

dti documentation built on May 29, 2017, 3:50 p.m.