View source: R/read_dwi_gradients.R
| read.dti.bval | R Documentation |
Reads the b-values of a diffusion MRI dataset, i.e. the diffusion weighting of each volume in units of s/mm^2. This implements the bvals part of the FSL format: a plain text file with one value per volume, usually in a single row. The HCP variant, which stores one value per line, is read as well.
read.dti.bval(filepath, layout = "auto")
filepath |
character string, path to the b-values file, typically
ending in |
layout |
character string, one of 'auto', 'components' or 'volumes'.
|
numeric vector of length n, the b-value of each of the n volumes.
Other dti functions:
read.dti.bvec(),
read.dti.grad(),
read.dti.gradients(),
write.dti.bval(),
write.dti.bvec(),
write.dti.grad()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.