Calculate the transition matrix for 7-state joint HMM
calc_trans_mat_s7(t, p_s, w, states_cn, states_phase)
t
: numeric; CNV state transition probabilityp_s
: numeric; phase switch probabilityw
: numeric; relative abundance of statesstates_cn
: character; CNV statesstates_phase
: character; haplotype phase statesarray; transition matrix
Useful links