-
Notifications
You must be signed in to change notification settings - Fork 105
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
orderCells
function fails due to deprecated nei()
call**
#738
Comments
As the error said, ! nei() was deprecated in igraph 2.1.0 and is now defunct. The igraph version: 2.1.1 version accounts for the error. To solve this issue, simply downgrading igraph can work. https://cran.rstudio.com/bin/macosx/big-sur-arm64/contrib/4.2/igraph_2.0.3.tgz Go to above link and install the 2.0.3 version, restart the R session. Then it solved for me.
Session info:
Bests |
In which package is |
cds<- orderCells(cds, root_state = NULL, num_paths = NULL, reverse = NULL) |
@Hunkhuyu I'm sorry to hear about that. Would you mind preparing a small reproducible example so I might look into it more efficiently? See https://reprex.tidyverse.org/articles/reprex-dos-and-donts.html Thank you! |
@Hunkhuyu There is no |
Dear Maelle, Thank you for your information and sorry to miss your reply.
To be more precise, when running Monocle2 with the lastest version igraph (or igraph version > 2.1.0; mine is 2.1.1), the error will appear as below:
As suggested by the error, I just downgraded my igraph into igraph 2.0.3 as I mentioned in previous comments. Restart R, it solved the error.
Best, |
It works! |
Description:
When I run the
orderCells
function, I encounter an error because it is trying to call thenei()
function, which has been deprecated inigraph
version 2.1.0 and is now defunct.Steps to reproduce:
monocle
andigraph
libraries.mycds
).mycds <- orderCells(mycds)
.Error message:
! nei() was deprecated in igraph 2.1.0 and is now defunct.
ℹ Please use .nei() instead.
Run rlang::last_trace() to see where the error occurred.
Expected behavior:
The
orderCells
function should run without errors and return the ordered cells.Actual behavior:
The function fails with the above-mentioned error message.
Session info:
Reproducible example:
The text was updated successfully, but these errors were encountered: