qb.coda                package:qtlbim                R Documentation

_C_o_e_r_c_e _t_o _a_n _M_C_M_C _o_b_j_e_c_t _f_o_r _u_s_e _w_i_t_h _t_h_e _c_o_d_a _p_a_c_k_a_g_e.

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

     This function creates an object of class 'mcmc' from an object of
     class 'qb' produced by the package 'R/qb'.

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

     qb.coda( object, element, variables)                            

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

  object: An object of class 'qb' returned by calling the function
          'qb.mcmc'. 

 element: A character string which has to one of '"iterdiag"',
          '"mainloci"',  '"pairloci"', '"covariates"', or '"gbye"';
          default is '"iterdiag"'. 

variables: A vector of integers specifying the columns or column names
          of 'element' to be considered. Details about the columns can
          be found in 'qb.mcmc'

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

     This package requires the package 'coda'.

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

     An object of class 'mcmc'. This object could be used to analyze
     the MCMC output using R/coda.

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

     Dr. Nengjun Yi, et al.,  nyi@ms.ssg.uab.edu

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

     <URL: http://www.qtlbim.org>

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

     'mcmc', 'qb.mcmc', 'plot.qb'

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

          

     ## Default plots for iteration diagnostics "iterdiag".
     temp <- qb.coda(qbExample)
     plot(temp)

     ## Summaries for some "mainloci" elements.
     temp <- qb.coda(qbExample, "mainloci")
     plot(temp)

