Open resabut opened 1 year ago
Thank you @resabut ! I made a note about this and will enhance the plot function in the next version! For now, I guess it will be easier to just modify the function on your end. Please let me know if you need other assistance.
Hi, I am trying to plot my XDE results with the plotXDEHm function, but I get this error:
Error: Length of `breaks` should be equal to `colors`.
Debugging brought me to line 142 in plotXDEHm
My max pseudotime value is an integer, say 13.285, so then the breaks and colors arguments have different length.
That is 13 vs 14 elements. I am guessing this is because in the
seq
function, floats are floored in thefrom=
parameter, whereas they are rounded up inlength.out