Run a 5-state allele-only HMM - two theta levels
run_allele_hmm_s5( pAD, DP, p_s, t = 1e-05, theta_min = 0.08, gamma = 20, prior = NULL, ... )
pAD
: integer vector Paternal allele countsDP
: integer vector Total alelle countsp_s
: numeric vector Phase switch probabilitiest
: numeric Transition probability between copy number statestheta_min
: numeric Minimum haplotype frequency deviation thresholdgamma
: numeric Overdispersion in the allele-specific expressionprior
: numeric vector Prior probabilities for each state...
: Additional parameterscharacter vector Decoded states
with(bulk_example, { run_allele_hmm_s5(pAD = pAD, DP = DP, R = R, p_s = p_s, theta_min = 0.08, gamma = 30) })
Useful links