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)

