designI2M               package:limma               R Documentation

_C_o_n_v_e_r_t _I_n_d_i_v_i_d_u_a_l _C_h_a_n_n_e_l _D_e_s_i_g_n _M_a_t_r_i_x _t_o _M-_A _F_o_r_m_a_t

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

     Convert a design matrix in terms of individual channels to ones in
     terms of M-values or A-values for two-color microarray data.

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

     designI2M(design)
     designI2A(design)

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

  design: numeric model matrix with one row for each channel
          observation, i.e., twice as many rows as arrays

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

     If 'design' is a model matrix suitable for modelling individual
     log-intensities for two color microarray data, then 'designI2M'
     computes the corresponding model matrix for modelling M-values
     (log-ratios) and 'designI2A' computes the model matrix for
     modelling A-values (average log-intensities).

     Note that the matrices 'designI2M(design)' or 'designI2A(design)'
     may be singular if not all of the coefficients are estimable from
     the M or A-values. In that case there will be columns containing
     entirely zeros.

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

     numeric model matrix with half as many rows as 'design'

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

     Gordon Smyth

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

     'model.matrix' in the stats package.

     An overview of individual channel linear model functions in limma
     is given by 6.SingleChannel.

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

     X <- cbind(1,c(1,1,1,1,0,0,0,0),c(0,0,0,0,1,1,1,1))
     designI2M(X)
     designI2A(X)

