read.dti.tck: Read DTI tracking data from file in MRtrix 'TCK' format.

Description Usage Arguments Value Examples

View source: R/read_dti_tck.R

Description

Read DTI tracking data from file in MRtrix 'TCK' format.

Usage

1
read.dti.tck(filepath)

Arguments

filepath

character string, path to the TCK file to read.

Value

named list with entries 'header' and 'tracks'. The tracks are organized into a list of matrices. Each n x 3 matrix represents the coordinates for the n points of one track, the values in each row are the xyz coords.

Examples

1
2
3
4
5
## Not run: 
 tckf = "~/simple.tck";
 tck = read.dti.tck(tckf);

## End(Not run)

freesurferformats documentation built on Feb. 11, 2022, 5:06 p.m.