mergeArray             package:codelink             R Documentation

_M_e_r_g_e _C_o_d_e_l_i_n_k _B_i_o_a_r_r_a_y_s _D_a_t_a

_D_e_s_c_r_i_p_t_i_o_n:

     Merge data in a Codelink Object corresponding to same samples.
     Need a vector indicating the classes and an optional vector
     indicating the labels of the mer- ged samples.

_U_s_a_g_e:

       mergeArray(object, class, names=NULL, method="mean",
                  log.it=FALSE, merge.snr=TRUE)

_A_r_g_u_m_e_n_t_s:

  object: an object of class "Codelink".

   class: a numeric vector indicating the classes.

   names: an optional character vector indicating labels for each
          class.

  method: the method used to summarize. Currently only "mean"
          supported.

  log.it: logical; a logical indicating if log2 values should be
          returned.

merge.snr: logical; a logical indicating if SNR values should be
          merged.

_V_a_l_u_e:

     An object of class "Codelink".

_A_u_t_h_o_r(_s):

     Diego Diez

_E_x_a_m_p_l_e_s:

     ## Not run: 
             data(codelink.example)
             codelink.example <- bkgdCorrect(codelink.example)
             codelink.example <- normalize(codelink.example, log.it = FALSE)
             codelink.example <- mergeArray(codelink.example, class = c(1,1),
                                             names = "SAMPLE", log.it = TRUE)
     ## End(Not run)

