flip_edges: Flip a set of edges of the milestone network
Description
Note that this will remove associated roots, reroot the trajectory using add_root()
Usage
flip_edges(trajectory, milestone_network_toflip)
Arguments
- trajectory
The trajectory as created by infer_trajectory()
or add_trajectory()
- milestone_network_toflip
A dataframe with a from and to column, containing the subset of the milestone network #'