Skip to contents

Parse a TrackVis .trk file and extract all streamlines.

Usage

read_trk(file)

Arguments

file

Path to a .trk file.

Value

A list of matrices, one per streamline. Each matrix has columns x, y, z.

See also

read_tractography() for format auto-detection