Project the waypoints

project_waypoints(traj, cell_positions,
  waypoints = dynwrap::select_waypoints(traj),
  trajectory_projection_sd = sum(traj$milestone_network$length) * 0.05,
  n_arrows = 10)

Arguments

traj

The trajectory

cell_positions

The positions of the cells

waypoints

The waypoints to use for projecting, as generated by [dynwrap::select_waypoints()]

trajectory_projection_sd

The standard deviation of the gaussian kernel

n_arrows

Number of arrows to add to trajectory projection