subsetg {dti}R Documentation

Create an objects of class "dtiData" containing only a subset of gradient directions.

Description

This function creates an object of class "dtiData" that containes only a subset, defined by an index vector, of the S0 and diffusion weighted images. This function may e.g. be used to separate information measured on different shells.

Usage

subsetg(x, ind)

Arguments

x

Object of class "dtiData"

ind

Indexvector containing values between 1 and x@ngrad.

Value

An object of class "dtiData".

Author(s)

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

See Also

dtiData, readDWIdata, dtiData, combineDWIdata


[Package dti version 1.5.4 Index]