dynverse / dyno

Inferring, interpreting and visualising trajectories using a streamlined set of packages 🦕
https://dynverse.github.io/dyno
Other
167 stars 32 forks source link

ti_scorpius #79

Closed subkhankul closed 4 years ago

subkhankul commented 4 years ago

Hi there, I wonder if it is possible to specify start_id and end_id in

model <- infer_trajectory(dataset, "scorpius", give_priors = c("start_id", "end_id"))?

I need a linear trajectory from start to end cell(s), however I can't change the trajectory no matter I add as a starting/ending points: it does not come to my "end" "H16" cluster.

Rplot

rcannood commented 4 years ago

Hello @subkhankul,

SCORPIUS does not make use of any priors, and as such is invariant to your inputs. The predicted output looks quite nice, aside from H16 not being at the very end of the trajectory. You could try setting ndim = 2, maybe this will resolve your issue.

Alternatively, you could try slingshot instead. It is similar to SCORPIUS and does allow specifying an end_id cell.

Do either of these approaches provide you with a good solution?

Kind regards, Robrecht

rcannood commented 4 years ago

Closing this issue. Feel free to reply if further input is needed.