get-biomarker: Diffusion Biomarkers

Description Usage Arguments Value Examples

Description

get_fractional_anisotropy computes the fractional anisotropy of a diffusion tensor. get_mean_diffusivity computes the mean diffusivity of a diffusion tensor.

Usage

1
2
3
4
5
6
7
8
9

Arguments

x

An object of class tensor.

Value

A scalar giving the desired diffusion biomarker extracted from the input diffusion tensor.

Examples

1
2
3
DT <- as_tensor(diag(c(1.71e-3, 3e-4, 1e-4)))
get_fractional_anisotropy(DT)
get_mean_diffusivity(DT)

astamm/fdatractography documentation built on May 12, 2019, 5:37 a.m.