Laplace approximation of the posterior of allelic imbalance theta
approx_theta_post(
pAD,
DP,
p_s,
lower = 0.001,
upper = 0.499,
start = 0.25,
gamma = 20
)
numeric vector Variant allele depth
numeric vector Total allele depth
numeric vector Variant allele frequency
numeric Lower bound of theta
numeric Upper bound of theta
numeric Starting value of theta
numeric Gamma parameter of the beta-binomial distribution