bayesint                 package:qtl                 R Documentation

_B_a_y_e_s_i_a_n _p_r_o_b_a_b_i_l_i_t_y _i_n_t_e_r_v_a_l

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

     Calculate a Bayesian probability interval for a particular
     chromosome, using output from scanone.

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

     bayesint(results, chr, prob=0.95)

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

 results: Output from 'scanone'.

     chr: A chromosome ID.

    prob: Probability coverage of the interval.

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

     We take 10^LOD, rescale it to have area approximately 1, and the
     look for an interval whose area is the target probability.

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

     An object of class 'scanone', like the input, indicating the
     position with the maximum LOD, and indicating approximate
     endpoints for the Bayesian probability interval.

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

     Karl W Broman, kbroman@jhsph.edu

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

     'scanone', 'lodint'

_E_x_a_m_p_l_e_s:

     data(listeria)
     listeria <- subset(listeria,chr=c(5,13))
     listeria <- calc.genoprob(listeria, step=0.5)
     out <- scanone(listeria, model="np")
     bayesint(out, 5)
     bayesint(out, 13)
     bayesint(out, 13, 0.99)

