Open zouter opened 5 years ago
Adding a small reproducible example ;) In both rootings, things are going wrong.
Okay, I understand. So if you root at Y (or W, X), you only want to Z-Y if necessary, but not the other edges. So only the edges that are not accessible should be swapped
Pseudotime for cycles doesn't make any sense, because the non-directed geodesic distances are used
calculate_pseudotime
shouldn't just root the trajectory as it sees fit. The rooting should be done before pseudotime calculation/plotting.Otherwise, you get things like this: