Learn R Programming

freesurferformats (version 0.1.18)

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

Description

Read fiber tracks from Diffusion Toolkit in trk format.

Usage

read.dti.trk(filepath)

Value

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

Arguments

filepath

character string, path to file in trk format.

Examples

Run this code
if (FALSE) {
trk = read.dti.trk("~/simple.trk");
trk2 = read.dti.trk("~/standard.trk");
trk3 = read.dti.trk("~/complex_big_endian.trk");
}

Run the code above in your browser using DataLab