read.dti.trk: Read fiber tracks from Diffusion Toolkit in trk format.

View source: R/read_dti_trk.R

read.dti.trkR Documentation

Read fiber tracks from Diffusion Toolkit in trk format.

Description

Read fiber tracks from Diffusion Toolkit in trk format.

Usage

read.dti.trk(filepath)

Arguments

filepath

character string, path to file in trk format.

Value

named list, the parsed file data. The naming of the variables follows the spec at http://trackvis.org/docs/?subsect=fileformat.

Examples

## Not run: 
trk = read.dti.trk("~/simple.trk");
trk2 = read.dti.trk("~/standard.trk");
trk3 = read.dti.trk("~/complex_big_endian.trk");

## End(Not run)


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