forward_back_allele | R Documentation |
Forward-backward algorithm for allele HMM
forward_back_allele(hmm)
hmm |
HMM object; expect variables x (allele depth), d (total depth), logPi (log transition prob matrix), delta (prior for each state), alpha (alpha for each state), beta (beta for each state), states (states), p_s (phase switch probs) |
numeric matrix; posterior probabilities
forward_back_allele(pre_likelihood_hmm)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.