-
Notifications
You must be signed in to change notification settings - Fork 31
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
How to input similarity_graph back into umap parameters? #98
Comments
Looks like I can get it the connectivity matrix through umap(mnist, ret_extra = c("fgraph")) |
You are correct that that the output of But the use case of calling sg_res <- similarity_graph(iris, ret_extra = "nn")
umap_res <- umap(X = NULL, nn_method = sg_res$nn) This incurs the cost of similarity calculation and symmetrization, but that is quick compared to the nearest neighbor calculation itself. Passing the result of This is not hard to implement, but the interface requires some thought: some questions to myself (or anyone with an interest in this): how should the user pass this to |
|
Hi there,
I am trying out similarity_graph to compute the connectivities graph. I am using it to compute clustering(similar to scanpy workflow). However, how do I input this connectivities information into the umap, so I can skip the recomputation? Or is there a way to retreive the similarity_graph when doing the umap?
The text was updated successfully, but these errors were encountered: