Learn R Programming

dti (version 0.9-0)

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

Description

The function provides fiber tracking of "dtiTensor", "dtiIndices", and "dwiMixtensor" objects.

Usage

## S3 method for class 'dtiTensor':
tracking(obj, roix=NULL, roiy=NULL, roiz=NULL, method="LINEPROP", minanindex=0.3, maxangle=30, subsample = 1)
  ## S3 method for class 'dtiIndices':
tracking(obj, roix=NULL, roiy=NULL, roiz=NULL, method="LINEPROP", minanindex=0.3, maxangle=30, subsample = 1)
  ## S3 method for class 'dwiMixtensor':
tracking(obj, roix=NULL, roiy=NULL, roiz=NULL, method="LINEPROP", minanindex=0.3, maxangle=30, subsample = 1)
  ## S3 method for class 'dwiFiber':
selectFibers(obj, roix=NULL, roiy=NULL, roiz=NULL, nroimask=NULL, minlength=1)

Arguments

obj
An object of class "dtiTensor", "dtiIndices", or "dwiMixtensor" for tracking() and "dwiFiber" for selectFiber().
roix
Indices defining the ROI in x direction. Currently min/max is used to define ROIx
roiy
Indices defining the ROI in y direction. Currently min/max is used to define ROIy
roiz
Indices defining the ROI in z direction. Currently min/max is used to define ROIz
method
Method for fibre tracking. "LINEPROP" is simple line propagation algorithm which is the default.
minanindex
Minimal FA to follow the tracks. default 0.3
maxangle
Maximal angle between fiber in adjacent voxels. default 30 degree.
subsample
Subsampling order of the data to get more dense fibre tracks. Note, that objects become very(!) large.
nroimask
Array of image size with 1 at voxel within the ROI to be choosen, and 0 otherwise.
minlength
Minimal length of fibers to be selected.

Value

  • The function returns an object of class dwiFiber.

See Also

dtiTensor,dtiIndices,dwiFiber, show3d, summary, print