mergeStates             package:snapCGH             R Documentation

_F_u_n_t_i_o_n _t_o _m_e_r_g_e _s_t_a_t_e_s _b_a_s_e_d _o_n _t_h_e_i_r _s_t_a_t_e _m_e_a_n_s

_D_e_s_c_r_i_p_t_i_o_n:

     'mergeStates' takes the output of a segementation algorithm in the
     form of a 'SegList' and iteratively merges the states with means
     closer than a supplied threshold.

_U_s_a_g_e:

     mergeStates(segList, MergeType = 1, pv.thres=0.0001, ansari.sign=0.01, minDiff = 0.25)

_A_r_g_u_m_e_n_t_s:

 segList: Object of class 'SegList'. 

MergeType: Select either 1 or 2.  1 uses a new merging algorithm
          developed by Hanni Willenbrock and Jane Fridlyand. 

pv.thres: Significance threshold for Wilcoxon test for level merging. 
          Used when MergeType = 1.

ansari.sign: Significance threshold for Ansari-Bradley test. Used when
          MergeType = 1.

 minDiff: The states whose predicted values are less than minDiff apart
          are merged into one state and all the predicited values are
          recomputed.  Used when MergeType = 2.    

_D_e_t_a_i_l_s:

     This function is intended to reduce effect of the possible small
     magnitude technological artifacts on the structure determination.

_V_a_l_u_e:

     A 'SegList' object is returned with the merged states stored in
     the 'pred' list.

_A_u_t_h_o_r(_s):

     Jane Fridlyand

_R_e_f_e_r_e_n_c_e_s:

     Application of Hidden Markov Models to the analysis of the array
     CGH data, Fridlyand et.al., _JMVA_, 2004

_S_e_e _A_l_s_o:

     'SegList', 'runHomHMM', 'runGLAD', 'runDNAcopy'

