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

nn_index in scRNA-Projection-UMAP.zip is empty or not compatible with uwot 0.1.8 and RcppAnnoy 0.0.16 #22

Open
wangmeijiao opened this issue Aug 24, 2020 · 1 comment

Comments

@wangmeijiao
Copy link

Dear Granja

It is quite a smart idea to apply the 'uwot_transform' to in situ projection of new data (disease sample of both single cell or bulk datasets) to a already calculated umap graph. This method, which is named 'LSI_projection' is exemplified in your script scRNA_02_Cluster_Disease_w_Reference_v1.R. However, when loading the saved umap model file from a tar file in 'scRNA-Projection-UMAP.zip', it complained for the unloaded nn_index. I looked into this issue further by run the load_uwot() code step by step and found a error message "Index size is not a multiple of vector size: Success (0)". and if applied model$nn_index$getNTrees() , I got zero. But , the nn1 file is not empty. As I described above, it seems that either the nn_index is empty or is not compatible with my R enviroment.

Help!

Meijiao

@1226235
Copy link

1226235 commented Aug 8, 2024

Hello Meijiao,

I am facing the same problem now and the error on my side is also "Index size is not a multiple of vector size: Success (0)". Have you figured it out? Do you know their R configurations? Thanks in advance!!

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

2 participants