Usage
sph.odfvmflines(run=TRUE, fbase=NULL, savedir=tempdir(), roi=NULL, rg=c(1,1), swap=FALSE, btoption=2, threshold=0.4, kdir=4, zfactor=5, showglyph=FALSE, showimage="linesgfa", bview="coronal", bg="white", order=4, texture=NULL, clusterthr=0.6, aniso=NULL, ...)
Arguments
run
logical variable enabling loading previously processed data (default: TRUE
).
fbase
Directory where the required input data files are located.
roi
Region of Interest (ROI) to use as mask; default mask (roi=NULL
) uses an all brain mask for the supplied data set.
rg
range of slices to process (default option rg=c(1,1)
); rg=NULL
processes all slices.
swap
toggle radiological/neurological orientation (default: FALSE
).
btoption
b-table selection between btable.txt (btoption=1
), and the 3D-DSI grid b-table extracted from the diffusion data set (data.bvec and data.bval). By default, the 3D-DSI grid b-table is used (btoption=2
).
threshold
thresholding generalized fractional anisotropy (GFA) value at each voxel (default: 0.4).
kdir
maximum number of fibre directions to map (default: 4).
zfactor
parameter controlling z-value in relief overlay maps (default: 5).
showglyph
logical variable controlling visualization of voxel glyphs (default: FALSE
).
showimage
object controlling visualization of line-maps (default: "linesgfa"
).
Alternative options are:
c("none", "gfa", "lines", "linesgfa", "linesrgbmap", "linesdata")
(see Details).
bview
MRI slice view selection in {axial, coronal, sagittal
} (default: "coronal"
).
savedir
directory for saving/loading processed results (default: tempdir()
.
bg
map background colour (default "white"
)
order
parameter associated with the order of the spherical harmonics approximation (default: 4).
texture
name of the PNG file to be used as RGB map overlay in some 'showimage' options (default NULL
- no texture).
clusterthr
thresholding orientations based on ODF values at each voxel for directional clustering (default: 0.6).
aniso
anisotropic parameter in the range "[0,1)" or NULL
to use in ODF pos-processing default: NULL
.
...
additional material properties for geometry appearance as specified in rgl.material
.