Classify a well as having a significant negative cluster (eg. a mutant well)
or not using a binomial test.
We can call a well as mutant if it is statistically significantly more than
1
mutant drops, then the mutant frequency is 1.4
significantly more than 1
P(x >= 7)
= 1 - P(x <= 7) + P(x = 7)
= 1 - pbinom(7, 500, .01) + dbinom(7, 500, .01)
= 0.237
> 0.01
So not statistically significantly enough, so we say it's a wildtype well.
But if there are 5000 drops and 70 mutant drops (same 1.4
with higher absolute numbers), then
P(x >= 70) = 1 - pbinom(70, 5000, .01) + dbinom(70, 5000, .01) = 0.004
So this is indeed significant, and this well would be deemed mutant.
has_signif_negative_cluster(plate, neg, pos)
TRUE
if the number of negative drops is statistically
significant, FALSE
otherwise.
A ddPCR plate
Number of negative (or mutant) drops
Number of positive (or wildtype) drops