-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error with SlingshotDataSet(): as(<dsCMatrix>, "dgCMatrix") is deprecated #203
Comments
I think that I figured it out. I found a conflict between "slingshot" with another library that was attached in my environment. The library is "cerebroApp" (https://github.com/romanhaa/Cerebro). It is used also for trajectory analysis and interactive visualization of scRNA-seq data. I tested the SlingshotDataSet() function with and witout this library, and it's definitely what was causing the problem: SlingshotDataSet() works perfectly when "cerebroApp" is not attched, and fails with this weird error message when it's attached. Now, "cerebroApp" imports and suggests no less than 39 other libraries! I did not have time to test which is causing the conflict, but if someone is willing to do the testing, I'd be happy to learn about it. Also, "cerebroApp" is no longer supported. So, it may be a good idea to stay away from it when using "slingshot". Any suggestion is welcome. Thanks. |
Hi @jedazard, I looked into this a little bit and I'm not sure where the error is coming from. As far as I can tell, nothing in Best, |
Dear Kelly, |
Hi @peanut-123, Thanks for reporting this! I'm not able to reproduce this error, unfortunately, so is there any chance you could send me some code causes it? Thanks, |
Closing due to lack of response. Feel free to re-open if this error pops up again. |
Hi Kelly,
I've run 'getLineages' on a Seurat object outputs as follows:
'lineages' PseudotimeOrdering object looks okay to me:
Now, when I simply try to extract a SlingshotDataSet object from my 'lineages' object, I get the following error:
The same happens with slingshot(). Any idea of what's going on here?
Thanks in advance.
I'm using:
R version 4.2.0 (2022-04-22)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Red Hat Enterprise Linux 8.6 (Ootpa)
[...]
other attached packages:
[1] slingshot_2.5.2
The text was updated successfully, but these errors were encountered: