dwi2response: Estimate response function(s) for spherical deconvolution

Description Usage Arguments Value Examples

View source: R/dwi2response.R

Description

Estimate response function(s) for spherical deconvolution

Usage

1
2
3
4
dwi2response(infile, algorithm = c("tournier", "dhollander", "msmt_5tt",
  "fa", "tax", "manual"), bvals = NULL, bvecs = NULL, scheme = NULL,
  mask = NULL, lmax = NULL, shells = NULL, outfile = tempfile(),
  opts = "", verbose = TRUE, ...)

Arguments

infile

the input DWI image containing volumes that are both diffusion weighted and b=0

algorithm

algorithm to be used to complete response estimation

bvals

The file containing the b-values.

bvecs

The file containing the b-vectors.

scheme

The file containing a 4xT text file, instead of bvals/bvecs

mask

initial mask for response voxel selection

lmax

The maximum harmonic degree(s) of response function estimation (single value for single-shell response, comma-separated values for multi-shell response)

shells

The b-value shell(s) to use in response function estimation (single value for single-shell response, comma-separated values for multi-shell response)

outfile

Output response file

opts

Additional options to pass

verbose

Print diagnostic output

...

arguments to pass to std_opts

Value

Output filename

Examples

1
2
3
4
5
6
7
## Not run: 
infile = "~/Downloads/data.nii.gz"
bvals = "~/Downloads/bvals"
bvecs = "~/Downloads/bvecs"
response = dwi2response(infile, bvals = bvals, bvecs = bvecs)

## End(Not run)

muschellij2/mrtrix documentation built on July 9, 2019, 9:15 a.m.