calcW               package:maigesPack               R Documentation

_M_e_t_h_o_d _c_a_l_c_W _t_o _c_a_l_c_u_l_a_t_e _W _v_a_l_u_e_s

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

     Generic function 'calcW' to calculate W values from classes of 
     microarray data objects defined in this package.

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

     calcW(object, ...)

     ## Default S3 method:
     calcW(object, ...)

     ## S3 method for class 'maigesRaw':
     calcW(object, bkgSub="subtract", ...)

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

  object: object of any class. But only some methods are defined in
          this moment.

  bkgSub: character string indicating the type of background
          subtraction. May be 'none', 'subtract', 'half', 'minimum',
          'movingmin', 'edwards', 'normexp' or 'rma'. Uses limma and
          defaults to 'subtract'.

     ...: additional parameters for 'calcW' method.

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

     This method receive an object (at moment of class 'maiges',
     'maigesRaw' or 'maigesANOVA') and returns the matrix of W values.
     For objects of class 'maigesRaw' it uses the function
     'backgroundcorrect' from _limma_ package to do background
     correction before the calculation of W values.

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

     Gustavo H. Esteves <gesteves@vision.ime.usp.br>

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

     'backgroundcorrect' in the limma package and 'calcA'.

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

     ## Loading the dataset
     data(gastro)

     calcW(gastro.raw)
     calcW(gastro.norm)

