Skip to contents

This function finds the (x, y, z) coordinates of the starting and endsing points of an Xfiber tracks object read by `read_xfiber_xml()`.

Usage

find_track_ends(Tracks)

Arguments

Tracks

data.frame: Object containing the full set of tracks and a column for `muscle`, which is required by `coords_to_ternary()`.

Value

tibble: `Tracks` but reduced to one row per track.