transitionProbability       package:VanillaICE       R Documentation

_C_o_m_p_u_t_e _t_h_e _t_r_a_n_s_i_t_i_o_n _p_r_o_b_a_b_i_l_i_t_y

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

     Wrapper for computing the locus-specific transition probability

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

     transitionProbability(chromosome, position, TAUP = 1e+08, chromosomeAnnotation, verbose = FALSE)

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

chromosome: chromosome (integer representation)

position: physical position

    TAUP: Scalar for computing transition probabilities (see Details).

chromosomeAnnotation: Optional: chromosome annotation

 verbose: Logical: verbose output

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

     The HMM uses locus-specific transition probabilities that are
     calculated as a function of the physical distance between loci.
     Specifically, the probability that the locus at position t-1 is
     not informative for the locus at position t is calculated as
     1-exp(-d/TAUP), where d is the physical distance between locus t
     and locus t-1.  The default for TAUP is 1 x 10^8 and can be
     specified to acheive a desired amount of sensitivity and
     specificity.  Larger values of TAUP decreases the probability of
     transitioning to other states, and therefore provides a more
     smooth fit.

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

     The transitionProbability function (i) transforms the physical
     distance between adjacent loci to an estimate of the genomic
     distance and (ii) adds an 'arm' variable to the annotation matrix.

chromosome: chromosome 

position: physical position

     arm: an integer.  The HMM uses the arm variable as a factor and is
          fit independently to each 'arm'.

transitionPr: locus-specific transition probabilities

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

     R. Scharpf

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

     'chromosomeAnnotation'

