Learn R Programming

hahmmr (version 1.0.0)

calc_trans_mat_s15: Calculate the transition matrix for 15-state joint HMM

Description

Calculate the transition matrix for 15-state joint HMM

Usage

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

Value

array; transition matrix

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