iter-methods             package:Biobase             R Documentation

_M_e_t_h_o_d_s _f_o_r _t_h_e _g_e_n_e_r_i_c _i_t_e_r.

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

     This is a set of methods to iterate over different types of
     objects. The behaviour of the methods is similar to that of the
     'apply' family.

_M_e_t_h_o_d_s:

     _o_b_j_e_c_t = _e_x_p_r_S_e_t, _c_o_v_l_a_b = _m_i_s_s_i_n_g, _f = _f_u_n_c_t_i_o_n Apply the
          function 'f' to the rows of the expression data, 'exprs', of
          'object'.  

     _o_b_j_e_c_t = _e_x_p_r_S_e_t, _c_o_v_l_a_b = _m_i_s_s_i_n_g, _f = _l_i_s_t In this case it is
          presumed that 'f' is a list of functions, each of which
          returns a single value. The functions are applied
          sequentially to the rows of the expression data, 'exprs', of
          'object'. The answers are stored in the columns of the return
          matrix. 

     _o_b_j_e_c_t = _e_x_p_r_S_e_t, _c_o_v_l_a_b = _c_h_a_r_a_c_t_e_r, _f = _f_u_n_c_t_i_o_n The function
          'f' is assumed to be a function of two arguments. The
          covariate in the 'object' with name specified by 'covlab' is
          extracted and bound to the second argument of 'f'. Then the
          resultant function is passed back through 'iter' and we
          effectively obtain the result of this function applied to the
          rows of the expression data, 'exprs', of 'object'.  

