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

different clustering results #259

Open
pikapika505 opened this issue Sep 10, 2024 · 1 comment
Open

different clustering results #259

pikapika505 opened this issue Sep 10, 2024 · 1 comment
Labels
question Further information is requested

Comments

@pikapika505
Copy link

pikapika505 commented Sep 10, 2024

Hello,

I integrated some data using Harmony back in 2022 (on Seurat V4), but I didn’t save the Seurat object at that time. When I needed to perform further analysis, I reran Harmony on the same data on Seurat V5, but the clustering results were quite different. Specifically, the number of clusters decreased from 20 to 18, and most importantly, I can’t find cluster 17, which is crucial for our analysis.

Rplot
Kim_brain_harm_clusters

Is there any way to recover the clustering results from 2022? If reproducing the previous results isn't possible, I plan to increase the resolution parameter until I see the cluster of interest and annotate the new clusters. How can I justify that the new annotation closely matches the previous one?

Can it be because of Seurat version?

Thank you for your help!

@pati-ni
Copy link
Collaborator

pati-ni commented Oct 23, 2024

It could be several things. I am afraid all of the algorithms have some stochasticity, so it is unlikely you can recreate the vectors you need to reproduce the analysis.

Besides harmony, which has some random elements in the initialization, the PCA can also have some stochasticity since it uses truncated randomized SVD, and clustering also may have some stochasticity. Do you have the PC embeddings that you used for harmony somewhere?

@pati-ni pati-ni added the question Further information is requested label Oct 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants