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

slingshot prior #81

Open maxlarosa opened 4 years ago

maxlarosa commented 4 years ago

Hi, I'm running slingshot with priors about clustering, i.e. groups_id, but when I run the command, no priors is passed to the function, as I can see with verbose = TRUE. The dataset has the priors_information$groups_id field

model <- infer_trajectory(dataset, ti_slingshot(), give_priors = "groups_id", verbose = TRUE)

console: inputs: expression priors :

Can you help me please?

Massimo

wendelljpereira commented 3 years ago

Hi,

I was having the same problem. I checked the answers in issue #91 and it helped to fix my code.

Hopefully, it helps you too.

Cheers, Wendell