Open jma1991 opened 4 years ago
Hi, I have the same problem. I tried to modify the wrapper_input_optional adding "groups_id" and "dimred" but it didn't work
Massimo
Hi all, Has anybody solved this issue? I have tried exploring maxlarosa's approach with no luck.
Thanks, Nacho Z
EDIT: in case this helps someone else. The add_prior_information
function helps define the prior information (i.e. dimred, start_id, etc), whereas the give_priors
indicates which of the define prior information to be used in the inference. Only when using these two functions, slingshot accepted them.
Note that there is also add_dimred
and add_grouping
that will also add them under the prior information slot of the wrapper.
I am trying to run Slingshot (latest master build) with prior information (groups_id and dimred) however neither of these arguments are detected by the relevant method:
The ti_slingshot.R code itself can handle these two arguments being passed into the function: https://github.com/dynverse/ti_slingshot/blob/master/package/R/ti_slingshot.R
I wonder if it's because neither of these arguments is listed in the "wrapper_input_optional" field for the method:
Thanks, James