You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed that Seurat recently made the move to uwot as the default implementation of umap. I understand the decision given the preference to run natively in R vs dependency of python. Just wondering if you have any guidance/thoughts on differences in results between the two implementations?
I decided to run side-by-side comparison on recent dataset. Below are the results running with the two different methods and the code. Only difference between the plots is the umap.method.
As you can see the results of the two methods provide plots with a number of differences in relative cluster location and in spacing of clusters (most noticeably cluster 5).
Thanks very much!
Sam
Edit
Just to add this analysis was performed in Seurat v3.1 installed from CRAN this morning into a fresh packrat library, R3.5.1, Mac OSX Mojave.
Sorry one more update. Realized I hadn't actually updated my umap-learn python package in little while.
In original post above that is run with umap-learn 0.3.2.
Updated to newest release 0.3.10 and re-ran the code from scratch.
While the major spacing differences have gone away. There is still many differences apparent between the uwot implementation and native python implementation.
For a comparison of uwot with the python implementation of umap, please see this part of the uwot documentation. Based on this, it is expected that the two different implementations won't always agree but we can't really advise on which you "should use". We opted to move the default version to uwot as it seemed generally comparable in terms of results/runtime while also hopefully making installation a bit simpler (there were quite a number of issues from people trying to link their python packages with R). We did leave both options to maintain reproducibility for those wanting to regenerate old plots.
Hi,
I noticed that Seurat recently made the move to uwot as the default implementation of umap. I understand the decision given the preference to run natively in R vs dependency of python. Just wondering if you have any guidance/thoughts on differences in results between the two implementations?
I decided to run side-by-side comparison on recent dataset. Below are the results running with the two different methods and the code. Only difference between the plots is the
umap.method
.As you can see the results of the two methods provide plots with a number of differences in relative cluster location and in spacing of clusters (most noticeably cluster 5).
Thanks very much!
Sam
Edit
Just to add this analysis was performed in Seurat v3.1 installed from CRAN this morning into a fresh packrat library, R3.5.1, Mac OSX Mojave.
uwot Results:
uwot.pdf
umap-learn Results:
umap-learn.pdf
The text was updated successfully, but these errors were encountered: