-
Notifications
You must be signed in to change notification settings - Fork 38
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
AlignK not working with increasing numbers of samples #76
Comments
Did you try online version? http://pophelper.com/ |
Yes - I have tried there but even with the "working" dataset above I get an error message that says "Cannot Align/Merge runs. Value of K differs between selected runs." I am confused by that because I thought that alignK was supposed to align between K's? Attached is an image of before aligning (on online version) and error message when trying to align. I also attach a figure showing what I think it should look like where I have manually aligned the colours in excel |
Hi, |
Just ran into this issue myself using R package 2.3.1 trying to align K across K = 2-4 for 1225 individuals. Is there a solution in the works? |
I aligned K across the entire slist and it worked. slist <- alignK(slist, type = "across") p <- plotQ (slist[c(20, 40)], |
alignK_not_working.zip
The alignK step seems to work fine for me in some situations but not others. Example below run in exactly the same way is using the same dataset twice but with more individuals in the 2nd case. For example: In the first case ("working") you can see that in the plot, the right hand three individuals are correctly changed to dark blue, whereas in the second case ("not working") that same cluster on the right hand side (now 7 individuals) are not changed. Any idea why this would be?
Super nice program - thank you!!
`
alignK seems to work fine here
sfiles <- list.files(path="/path/working/", full.names=T)
slist <- readQ(sfiles)
p1 <- plotQ(slist,imgoutput="join",returnplot=T,exportplot=F,basesize=11)
grid.arrange(p1$plot[[1]])
slist1 <- alignK(slist)
p2 <- plotQ(slist1,imgoutput="join",returnplot=T,exportplot=F,basesize=11)
grid.arrange(p1$plot[[1]], p2$plot[[1]], ncol = 2)
But once I add more individuals it stops aligning them
sfiles <- list.files(path="/path/notworking/", full.names=T)
slist <- readQ(sfiles)
p1 <- plotQ(slist,imgoutput="join",returnplot=T,exportplot=F,basesize=11)
grid.arrange(p1$plot[[1]])
slist1 <- alignK(slist)
p2 <- plotQ(slist1,imgoutput="join",returnplot=T,exportplot=F,basesize=11)
grid.arrange(p1$plot[[1]], p2$plot[[1]], ncol = 2)`
The text was updated successfully, but these errors were encountered: