genomicDistance          package:VanillaICE          R Documentation

_A _r_o_u_g_h _e_s_t_i_m_a_t_e _o_f _t_h_e _g_e_n_o_m_i_c _d_i_s_t_a_n_c_e _b_e_t_w_e_e_n _S_N_P_s

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

     Calculates the genomic distance between SNPs as a function of the
     physical distance.  This distance is used for calculating
     transition probabilities in the viterbi algorithm.

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

     genomicDistance(object)
     tau(object)
     genomicDistance(object) <- value

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

  object: An object inheriting from 'HmmOptions'

   value: A vector of length T - 1, where T is the number of SNPs

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

     The genomic distance is calculated as exp(-2*d), where d is the
     physical distance in 100MB units.

     In the Viterbi algorithm, the probability of remaining in state S
     at SNP t+1 is the genomic distance.  The probability of
     transitioning to one of the alternative states is 1 - the genomic
     distance.  The 'transitionScale' function can be used to give more
     weight to transitioning back to the baseline ('normal') state.

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

     A numeric vector with length T-1.

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

     R. Scharpf

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

     'transitionScale'

