viterbi_allele: Viterbi algorithm for allele HMM

View source: R/hahmmr.R

viterbi_alleleR Documentation

Viterbi algorithm for allele HMM

Description

Viterbi algorithm for allele HMM

Usage

viterbi_allele(hmm)

Arguments

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)

Value

character vector Decoded states


hahmmr documentation built on Oct. 26, 2023, 1:08 a.m.