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

color assignment not following K #71

Open
rturba opened this issue Aug 2, 2022 · 2 comments
Open

color assignment not following K #71

rturba opened this issue Aug 2, 2022 · 2 comments

Comments

@rturba
Copy link

rturba commented Aug 2, 2022

Hello! It seems I'm getting a strange output with my analysis. When I run the distruct.py script on my dataset, the color scheme of the assignment plots do not seem to follow the number of K clusters. Has someone else seen that before? My best K is 2, and up to 3 the colors seem OK, but then it does not matter the number of Ks, I can only distinguish at most 4 different color patterns :(

I'm running this on a Linux cluster. I've processed my plink files to prune for LD and only retain biallelic SNPs.

@rturba
Copy link
Author

rturba commented Aug 4, 2022

I've ran it on the test data and is also behaving the same strange way... :/

k=3
image

k=8
image

@apalmer828
Copy link

I've been seeing a similar thing, where when I make a distruct plot for k=3 I get two colors and at k=5 get three colors, etc. I've noticed it occurs with data from seeds but not others. I'm also running on a linux cluster .

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

2 participants