Usage
## S3 method for class 'dtiData':
extract(x, what="data", xind=TRUE, yind=TRUE, zind=TRUE)
## S3 method for class 'dtiTensor':
extract(x, what="tensor", xind=TRUE, yind=TRUE, zind=TRUE, mc.cores = getOption("mc.cores", 2L))
## S3 method for class 'dwiMixtensor':
extract(x, what="andir", xind=TRUE, yind=TRUE, zind=TRUE)
## S3 method for class 'dtiIndices':
extract(x, what=c("fa","andir"), xind=TRUE, yind=TRUE, zind=TRUE)
## S3 method for class 'dwiQball':
extract(x, what="sphcoef", xind=TRUE, yind=TRUE, zind=TRUE)
## S3 method for class 'dtiData':
[(x, i, j, k, drop=FALSE)
## S3 method for class 'dtiTensor':
[(x, i, j, k, drop=FALSE)
## S3 method for class 'dtiIndices':
[(x, i, j, k, drop=FALSE)
## S3 method for class 'dwiQball':
[(x, i, j, k, drop=FALSE)Arguments
i
vector of x-coordinates, defaults to whole range.
j
vector of y-coordinates, defaults to whole range.
k
vector of z-coordinates, defaults to whole range.
xind
vector of x-coordinates, defaults to whole range.
yind
vector of y-coordinates, defaults to whole range.
zind
vector of z-coordinates, defaults to whole range.
what
Statistic to extract. See Methods Section for details.
mc.cores
Number of cores to use. Defaults to getOption("mc.cores", 2L).
This may be larger than the optimal value. Our experience suggests to use 4-6 cores if available.