Negative Log Likelihood
Calculates negative log likelihood for beta binomial distribution.
negll(x, size, prob, rho)
x
: Depth of alternative allelesize
: Total depthprob
: Theoretical probability for heterozygous is 0.5, for homozygous is 0.999rho
: Rho parameter of Beta-Binomial distribution of alternative alleleUseful links