dti (version 1.4.3.1)

subsetg: 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".

See Also

dtiData, readDWIdata, '>dtiData, combineDWIdata