lastMcmc                 package:XDE                 R Documentation

_M_C_M_C _v_a_l_u_e_s _f_o_r _t_h_e _l_a_s_t _i_t_e_r_a_t_i_o_n

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

     MCMC values for the last iteration.  Useful if more iterations are
     needed.

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

       lastMcmc(object)

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

  object: Object of class 'XdeMcmc'

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

     An environment.

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

     R. Scharpf

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

     'firstMcmc'

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

       ## Not run: 
         data(expressionSetList)
         xparam <- new("XdeParameter", phenotypeLabel="adenoVsquamous",
                       esetList=expressionSetList)
         iterations(xparam) <- 10  
         fit <- xde(xparam, esetList=expressionSetList)
         ##Do more iterations and use a different seed
         firstMcmc(xparam) <- lastMcmc(fit)
         seed(xparam) <- 97814
         fit2 <- xde(xparam, esetList=expressionSetList)

         ##Or
         fit2 <- xde(xparam, esetList=expressionSetList, outputMcmc=fit)
       ## End(Not run)

