camino_selectshells: Wrapper for Camino 'selectshells' function

Description Usage Arguments Value

View source: R/camino_selectshells.R

Description

Performs the Camino selectshells function

Usage

1
2
3
camino_selectshells(infile, schemefile, max_bval = NULL,
  min_bval = NULL, output_root = tempfile(),
  max_unweighted_bval = NULL, remove_zero = FALSE, verbose = TRUE)

Arguments

infile

Input 4D file to select shells

schemefile

Scheme file with gradient information

max_bval

Maximum b-value to include in the output. Default infinity (include all b-values). In the same units as the scheme file.

min_bval

Minimum b-value to include in the output. Default 0. In the same units as the scheme file. b=0 measurements are treated as a special case and are not removed unless the remove_zero is TRUE.

output_root

Root of output files, selected shells of DWI data are output along with the associated scheme file. Output file format will be the same as the input (NIFTI or raw).

max_unweighted_bval

Maximum b-value to include as an unweighted measurement. Some imaging schemes have a small non-zero b-value for the unweighted measurements. With this option, any b-value less than or equal to the specified value are treated as b=0.

remove_zero

If TRUE, b=0 measurements are not selected. By default they are selected even if a minimum b-value is specified.

verbose

Print diagnostic messages

Value

Output filename


muschellij2/rcamino documentation built on Nov. 9, 2019, 3:51 a.m.