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

View source: R/read_dti_tck.R

read.dti.tckR Documentation

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

Description

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

Usage

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

## Not run: 
 tckf = "~/simple.tck";
 tck = read.dti.tck(tckf);

## End(Not run)


freesurferformats documentation built on May 29, 2024, 5:29 a.m.