calc_trans_mat_s7 function

Calculate the transition matrix for 7-state joint HMM

Calculate the transition matrix for 7-state joint HMM

calc_trans_mat_s7(t, p_s, w, states_cn, states_phase)

Arguments

  • t: numeric; CNV state transition probability
  • p_s: numeric; phase switch probability
  • w: numeric; relative abundance of states
  • states_cn: character; CNV states
  • states_phase: character; haplotype phase states

Returns

array; transition matrix

  • Maintainer: Teng Gao
  • License: MIT + file LICENSE
  • Last published: 2023-10-25

Useful links