-
Notifications
You must be signed in to change notification settings - Fork 1
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
Interpreting lines with LR=0, numSites=0 #12
Comments
(sorry, forgot to add something to my previous message) I also found it quite surprising that the site with LR=0 (which I thought meant
|
Hi Debora, Nice that you noticed this behavior! In fact, it's entirely expected that the lowest value of (maximized) LR be 0, because it's the (log) ratio of two (composite) likelihoods (from alternative & null hypothesis, respectively) that are both included in the model. In other words, when we search the parameter space to maximize the LR, we know for sure there at least exists one fixed value of LR=0 when the alternative model takes the same parameter as the null. So rest assured that it's nothing abnormal =). You may have noticed negative LRs from a previous version because its parameter space wasn't optimized. Hope that helps! Best, |
Hi Xiaoheng, I am coming back to this after a long break. Thank you for your reply! So, from your response and from looking at the calcBaller function, I understood that those lines with LR=0 and numSites=0 are cases where there was no LR>0 with any of the parameter combinations tested. Therefore, I should just interpret those as reliable sites having no evidence of balancing selection. Is that correct? However, I was still puzzled by
It is very possible that I am misunderstanding something about how Ballermix works, but I thought it was weird that LR>0 was found for the first and last sites, but not for the middle one, given that they are so close. Does that surprise you too? Thanks for all your help! |
I am attaching here the ballermix input and output files for this example, as well as the command I ran: Zambia_concat.B2spect_DAF.txt |
Hi Xiaoheng,
I have quite a few lines on my output that look like this:
I thought this was because of the LR threshold of -100, but I changed it to -1000 and still get the same results. How should I interpret those? Should results from these SNPs be excluded because they indicate some problem in the data or should they count as evidence of no balancing selection at those sites?
Thank you!
Debora
The text was updated successfully, but these errors were encountered: