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

Custom Neighborhood Graph for Metacells #59

Open
shahrozeabbas opened this issue Apr 1, 2024 · 0 comments
Open

Custom Neighborhood Graph for Metacells #59

shahrozeabbas opened this issue Apr 1, 2024 · 0 comments

Comments

@shahrozeabbas
Copy link

shahrozeabbas commented Apr 1, 2024

Hello,

I was wondering if it's possible to use a custom neighborhood graph for metacell construction. Looking through the source code and the tutorials, it seems that the methods depend on providing an anndata object with a low-dimension representation as input.

For example, if I wanted to build metacells using the wnn graph, would that be possible? Are there methods that I could use to create metacells by just providing the distances array from running scanpy.pp.neighbors or muon.pp.neighbors?

This would also be helpful for trying different values of k or different metrics for neighborhood graph construction.

Thanks for your input!

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

1 participant