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

Finding optimal cluster resolution in Seurat 3? #1565

Closed
Biogitte opened this issue May 20, 2019 · 4 comments
Closed

Finding optimal cluster resolution in Seurat 3? #1565

Biogitte opened this issue May 20, 2019 · 4 comments

Comments

@Biogitte
Copy link

Hi,

I am still adjusting to the new release of Seurat (i.e., ver. 3), but so far, I like many of the new additions/corrections in relation to Seurat 2.

I am, however, struggling to figure out the best resolution for my data set. At the moment, I use a resolution of 0.5 for around 2,000 cells (which I think to make a bit too many clusters). Are there functions in Seurat 3 where it is possible to compare the different cluster resolutions? Or a pipeline like this one (Seurat 2; does not function in Seurat 3):https://ucdavis-bioinformatics-training.github.io/2017_2018-single-cell-RNA-sequencing-Workshop-UCD_UCB_UCSF/day3/scRNA_Workshop-PART5.html?

Thanks,

Best wishes, Birgitte

@Dragonmasterx87
Copy link

Dragonmasterx87 commented May 20, 2019

Hi Brigitte, I am not a Seurat developer, but your question has been discussed previously #96 In essence, there is no correct clustering parameter, either you will over or under cluster your data. To compensate for what makes biological sense in the context of your experiment, you can merge certain clusters together. I usually don't do this and just tweak the resolution till each cluster has at least 20 unique differentially expressed genes. I think as long as you define a cluster like a differentially expressed gene, it should be fine. Those are my thoughts though.

I have attached here some old R code from what I believe were Seurat v1.4 tutorials, it has a few lines and some description on how to perform cluster re-assignment......something to look at while you wait for a Seurat dev's answer.

🐉

pbmc33k.zip

@mojaveazure
Copy link
Member

Hi Birgitte,

While Seurat doesn't have tools for comparing cluster resolutions, there is a tool called clustree designed for this task and works on Seurat v3 objects natively. It's available on CRAN and can be installed with a simple install.packages('clustree')

You can read their vignette (Seurat object section) for more details.

@tilofrei
Copy link

Hi Birgitte, there is another new tool called IKAP that helps to identify meaningful cutoffs for clustering resolutions:
IKAP github and IKAP preprint

@msadman-sakib
Copy link

Hi Birgitte,

While Seurat doesn't have tools for comparing cluster resolutions, there is a tool called clustree designed for this task and works on Seurat v3 objects natively. It's available on CRAN and can be installed with a simple install.packages('clustree')

You can read their vignette (Seurat object section) for more details.

Thank you very much for this!!!

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

5 participants