After calculating a trajectory and changing the root milestone I want to colour the trajectory by the pseudotime:
plot_dimred(mod, "pseudotime", pseudotime = calculate_pseudotime(mod))
However, the pseudotime scores for cells in a particular branch returned by the calculate_pseudotime function are infinite:

I assumed that pseudotime would be calculated from the root milestone in either direction?
Package versions:
- dyno_0.1.1
- dynwrap_1.1.3
- dynplot_1.0.1
- dynmethods_1.0.1
- dynguidelines_1.0.0
- dynfeature_1.0.0
After calculating a trajectory and changing the root milestone I want to colour the trajectory by the pseudotime:
plot_dimred(mod, "pseudotime", pseudotime = calculate_pseudotime(mod))However, the pseudotime scores for cells in a particular branch returned by the calculate_pseudotime function are infinite:
I assumed that pseudotime would be calculated from the root milestone in either direction?
Package versions: