-
Notifications
You must be signed in to change notification settings - Fork 15
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
maximum number of genes in cluster for K1 #54
Comments
Hello, |
Thanks for your answer! I had indeed checked the "OPTIONAL PARAMETERS" section in the README file, and after reading the parameters for K1 my intuition was the --nclusters parameter was not what I was looking for. After changing the --nclusters to 200, I have relatively larger clusters, but the maximum number of genes in a cluster is still 100. |
@jpinero that's correct, the There isn't currently an easy command-line way to change the maximum cluster size (the original challenge required a limit of 100 genes and we never needed to modify it), but you can change it by editing the source code here:
If you edit your version of the code to increase that number, you should get larger clusters. Alternatively, you can completely skip the recursive clustering step (which will give you no limit on cluster size) by 1) commenting out this line here Line 60 in e090e32
and 2) editing this line to point to Line 63 in e090e32
You may have to rerun the install script using the directions in the README to get your local changes to have an effect. Sorry this is a bit complicated - let me know if you run into any difficulties, and I can try to help. I agree that it would be good to have this option as a command-line parameter as well. I'll try to add one in the next week or two, if I can find the time. |
Does it make sense to add a new parameter that allows manipulating the cluster size in the DSD method (K1)? Is there any rationale (or reference) behind setting a maximum number of genes in a cluster to 100?
thanks!
The text was updated successfully, but these errors were encountered: