-
Notifications
You must be signed in to change notification settings - Fork 904
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
Can densMAP (in development version) yield reproducible clustering? #4762
Comments
Hi @NicolaasVanRenne , I think it's unrelated to Seurat and rather the feature/issue of generating low dimensional embeddings using UMAP as it can result in different looking (although topologically similar) clusters in multiple runs of the same data. Although you can try setting the seed like |
Thanks for replying @k3yavi , However, I always apply set.seed as you mentioned. It does not work to make densMAP reproducible. Getting reproducible plots is important to me - as I would prefer my analyses to be reproducible... Maybe @lldelisle can help here? As she wrote the code as I understood from #4630 Any thoughts? Nicolaas |
Hi, seurat/R/dimensional_reduction.R Lines 1268 to 1270 in 421f472
And it is set to 42 by default: seurat/R/dimensional_reduction.R Line 1681 in 421f472
... Sorry... |
densMAP seems to work (hallelujah!) but the clustering is not reproducible. If I run the same pipeline twice over, the clustering is similar yet different. Is there a way to make it reproducible?
thanks,
Nicolaas
ps command I run is:
RunUMAP(MySeuratObject, dims = 1:UMAP.dimensions, densmap=TRUE)
The text was updated successfully, but these errors were encountered: