reparametrize_tract: Tract Reparametrization

Description Usage Arguments Value Examples

Description

Tract Reparametrization

Usage

1
reparametrize_tract(tract, ..., grid = 0L, validate = TRUE)

Arguments

tract

A tract.

grid

Uniform grid for the curvilinear abscissa (default: 0L which uses the average number of points across streamlines defining the tract). Can be specificed either as an integer in which case the abscissa range of each streamline is used and abscissa is uniformly resampled within this range or as a numeric vector that will be taken as the new common abscissa for all streamlines.

validate

A boolean specifying whether to check that first input is indeed a tract. should be checked (default: TRUE).

Value

A tract reparametrized according to the input grid.

Examples

1
2
3
file <- system.file("extdata", "Case001_CST_Left.csv", package = "fdatractography")
cst_left <- read_tract(file)
reparametrize_tract(cst_left)

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