Create a grouping from a trajectory

Grouping cells onto their edges, or grouping cells onto their nearest milestones

group_onto_trajectory_edges(trajectory, group_template = "{from}->{to}")

group_onto_nearest_milestones(trajectory)

Arguments

trajectory

The trajectory as created by infer_trajectory() or add_trajectory()

group_template

Processed by glue::glue to name the group