Why does changing minCount from 0 to 1 in dba.count() (with summits set to false and control reads supplied) change the called status of a peak? With minCount set to 1, a peak is being called in all samples, but with minCount set to 0, the same peak is being called in a few of them?
So, if minCount is set to 1, it will show the peak is called anyway? But that is not the case, cause there are peaks that are not called in half of the samples but called in the other half with minCount set to 1?
Am I missing something basic? What might be happening in my case?
If you can supply a bit more info, I can see if I can reproduce this.
How are you determining how many samples a peak is called in? Can you show a bit of code demonstrating:
dba.count()
dba.count()
changingminCount
show how the peak is appearing to have been called in more/fewer samples
Also, can you confirm which version of
DiffBind
you are using?Hi Rory! Thank you for your response. I was referring to the columns "Called1" and "Called2" in the report, they change when I change the minCount.
Diffbind version 3.0.13
Line from the Code:
minCount = 1
minCount = 0
I made no other changes for the two, the following were set:
After count:
Please find the link for a google sheet below which has three examples from the report.
Three examples from the report generated
I've tried this on a couple of my own data sets but can not reproduce it (the
Called
values are always the same when I comparesum(rep0$Called1 != rep1$Called1)
andsum(rep0$Called2 != rep1$Called2)
).I'd like to get to the bottom of this. If you could send me a link to your two
exp
objects immediately after callingdba.count()
I can try to see what is going on.Okay, I'm not sure where I have gone wrong. Here you go, exp objects after dba.count