Make a 3-state allele HMM - allow transitions to netural state
get_allele_hmm_s3(pAD, DP, R, p_s, t, theta_min, gamma = 20, r = 0.015)
pAD
: integer vector Paternal allele countsDP
: integer vector Total alelle countsp_s
: numeric vector Phase switch probabilitiest
: numeric Transition probability between haplotype statestheta_min
: numeric Haplotype imbalancegamma
: numeric Overdispersion in the allele-specific expressionr
: numeric Variant mapping biasHMM object
Useful links