Calculate LLR for an allele HMM
calc_allele_LLR(pAD, DP, R, p_s, theta_mle, theta_0 = 0, gamma = 20, r = 0.015)
numeric Log-likelihood ratio
numeric vector Phased allele depth
numeric vector Total allele depth
numeric vector Allelic bias direction
numeric vector Phase switch probabilities
numeric MLE of imbalance level theta (alternative hypothesis)
numeric Imbalance level in the null hypothesis
numeric Dispersion parameter for the Beta-Binomial allele model