Skip to content
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

nei() was deprecated in igraph 2.1.0 and is now defunct. #1659

Closed
kuangquanxing opened this issue Jan 17, 2025 · 5 comments
Closed

nei() was deprecated in igraph 2.1.0 and is now defunct. #1659

kuangquanxing opened this issue Jan 17, 2025 · 5 comments

Comments

@kuangquanxing
Copy link

What happens, and what did you expect instead?

nei() was deprecated in igraph 2.1.0 and is now defunct.
ℹ Please use .nei() instead.

To reproduce

nei() was deprecated in igraph 2.1.0 and is now defunct.

System information

No response

@maelle
Copy link
Contributor

maelle commented Jan 17, 2025

@kuangquanxing yes this is expected. How did you get the error? If you provide us with a reproducible example, we can help you fix it (it should only be a matter of replacing nei() with .nei(), unless the function is used in a package you don't own).

@dane113
Copy link

dane113 commented Feb 8, 2025

cds <- orderCells(cds)
Error:
! nei() was deprecated in igraph 2.1.0 and is now defunct.
ℹ Please use .nei() instead.

@szhorvat
Copy link
Member

szhorvat commented Feb 8, 2025

orderCells is not an igraph function. You are probably using a different package that has not been updated to work with recent versions of igraph. Please contact the maintainers of the other package.

If this function is not from another package but your own code, you need to do precisely what the error message tells you: replace nei() with .nei() in your code.

@szhorvat szhorvat closed this as not planned Won't fix, can't repro, duplicate, stale Feb 8, 2025
@dane113
Copy link

dane113 commented Feb 8, 2025 via email

@szhorvat
Copy link
Member

szhorvat commented Feb 8, 2025

This should be fixed in Monocle. I suggest you contact the Monocle developers about it. If Monocle is no longer maintained, then you can install an older version of igraph (a version older than 2.1.0). However, this is not ideal, as you will miss out on some bugfixes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants