-
Notifications
You must be signed in to change notification settings - Fork 22
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
Advice on how to sub-cluster? #164
Comments
Feel free to try that approach and assess if it leads to any improvement. However, I suggest examining the |
Thank you @ghar1821 for your input!
|
You can increase the grid size by increasing the The k parameter in phenograph does not represent the number of clusters. The k parameter affects the resolution of the clusters. The smaller the number, the smaller the size of the clusters you will get (clusters will have less cells). Hence, if you want to get more clusters, reduce the k, otherwise increase it. Every dataset is different, and there is no one k value that will rule it all. I suggest you experiment with various values, and maybe start at 5 (5 tend to work well for me in the past). I'm not quite sure what you mean by "visualise the result of different run.flowsom on the right cell.dat.sub object's UMAP as below?". The code you wrote doesn't make sense to me as I don't know what |
Thank you @ghar1821 for your response! For question 3, basically I have 3 sets of markers (backbone markers, strict_markers, and relax_markers) that I want to use to do the clustering on my cell.dat object. So, I first run My question 3 was then how should I do |
oh i see what you mean now. I suppose that is one way of doing it, repeat I guess my next question will be, what are you trying to find from these umaps? Are you trying to compare how the clusters differ if given different sets of markers? If that is the case, it may make more sense to run umap once, and visualise the clusters 3 times (1 colour plot per set of markers). If doing this, then you will have to decide, what markers should I feed into the umap that shall allow me to best visualise all 3 results. Perhaps a combination of all 3 sets of markers? Or maybe just the markers common to all 3 sets. |
Hi @denvercal1234GitHub , we also have a workflow for 'multi-level' clustering (see Figure 4 here: https://onlinelibrary.wiley.com/doi/10.1002/cyto.a.24350). Essentially we do a first round of clustering to identify major groups of cells (e.g. CD4, CD8, B cells etc) and then on each lineage, we do another level to gain more detail (e.g. Naive, Central Memory, Effector Memory, etc). We don't have a script for this online, but I can send you what I use if it would be helpful? |
Hi @tomashhurst -- That would be very useful if I could have the script for the multi-level clustering when you get a chance? Also @ghar1821 and Thomas, in Thanks again very much! |
Hi @tomashhurst - I hope all is well, and thanks for your help earlier. I wonder if you would not mind emailing me the script you mentioned for the multi-level clustering? [email protected] Thanks so much again! |
Hi there,
Thanks for the tool!
From #161,
run.flowsom
seemed to be unable to break up the big orange cluster but the UMAP seemed to suggest there are potentially more clusters within it. Increasingmeta.k
did not do it either.I was wondering if you could give some advice on how to sub-cluster? Do I simply subset the
cell.dat
then runrun.flowsom
again directly?Thanks again!
The text was updated successfully, but these errors were encountered: