Viterbi.four             package:snapCGH             R Documentation

_A _s_c_a_l_e_d _V_i_t_e_r_b_i _a_l_g_o_r_i_t_h_m _f_o_r _a_l_l_o_c_a_t_i_n_g _c_l_o_n_e_s _t_o _o_n_e _o_f _f_o_u_r _u_n_d_e_r_l_y_i_n_g _s_t_a_t_e_s.

_D_e_s_c_r_i_p_t_i_o_n:

     A work horse of the fit.model function. It uses a scaled version
     of the Viterbi algorithm to allocate clones to one of four
     underlying states as fitted  using a heterogeneous HMM.

_U_s_a_g_e:

     Viterbi.four(y, BFGS.output, BFGS.trans.mat)

_A_r_g_u_m_e_n_t_s:

       y: the data to be allocated to states

BFGS.output: The output obtained from the find.param.four function 

BFGS.trans.mat: A list of the heterogeneous transition matrices  

_V_a_l_u_e:

     A vector of numbers indicating to which state clones are allocated
     to.

_A_u_t_h_o_r(_s):

     John Marioni

