calc_allele_LLR | R Documentation |
Calculate LLR for an allele HMM
calc_allele_LLR(pAD, DP, p_s, theta_mle, theta_0 = 0, gamma = 20)
pAD |
numeric vector Phased allele depth |
DP |
numeric vector Total allele depth |
p_s |
numeric vector Phase switch probabilities |
theta_mle |
numeric MLE of imbalance level theta (alternative hypothesis) |
theta_0 |
numeric Imbalance level in the null hypothesis |
gamma |
numeric Dispersion parameter for the Beta-Binomial allele model |
numeric Log-likelihood ratio
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.