Closed apekshasingh closed 2 years ago
Hi @apekshasingh ,
Thanks for bringing this to my attention! Unfortunately, I cannot reproduce this error and the error message itself is not super helpful. Is there any chance you could provide a reproducible example, possibly with (a subset of) your data?
Best, Kelly
Hi thanks for your quick reply Kelly! I'm including here my original slingshot results (slingshot_results_ref.rds) and a subset of the new data I am trying to predict (new_data.rds) that gives me the posted error. Let me know if there is other information I can provide. slingshot_github_issue_submission.zip
Hi @apekshasingh ,
Thanks very much! I still don't entirely know what caused this issue, but I think I managed to fix it. There was some sort of weird numerical instability thing (for some reason, the maximum value of cumsum(x)/sum(x)
was slightly greater than 1):
I added an extra line to make sure no values are above 1 and just pushed it to the develop
branch, so if you need it, you can re-install from there. Otherwise, I will try to make sure this gets included in the next Bioconductor release (which is coming up pretty soon).
Thanks again! Kelly
Thanks so much for your quick fix, really appreciate it, Kelly!
Hi there, thanks for the package!
I was having some trouble utilizing the slingshot::predict functionality. Looks like I'm running into some trouble with glm. Any help would be appreciated. Thanks!