lumiB                  package:lumi                  R Documentation

_B_a_c_k_g_r_o_u_n_d _c_o_r_r_e_c_t_i_o_n _o_f _I_l_l_u_m_i_n_a _d_a_t_a

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

     Background correction of Illumina data

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

     lumiB(x.lumi, method = c('none', 'bgAdjust', 'forcePositive', 'bgAdjust.affy'), verbose = TRUE, ...)

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

  x.lumi: an ExpressionSet inherited object or a data matrix with
          columns as samples and rows as genes. For 'bgAdjust' method,
          it should be a LumiBatch Object 

  method: the background correction method, it can be any function with
          a LumiBatch Object as the first argument and return a
          LumiBatch Object 

 verbose: a boolean to decide whether to print out some messages 

     ...: other parameters used by the user provided background
          correction method  

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

     We assume the BeadStudio output data is background corrected. So
     by default, it will do nothing. The 'bgAdjust' method will
     estimate the background based on the control probe information,
     which is kept in the controlData slot of LumiBatch object. The
     'forcePositive' method will force all expression values to be
     positive by adding an offset (minus minimum value plus one), it
     does nothing if all expression values are positive. The purpose of
     this is to avoid NA when do logarithm transformation. 'none' does
     not but return the LumiBatch object. 'bgAdjust.affy' will call the
     'bg.adjust' function in affy package. User can also provide their
     own function with a LumiBatch Object as the first argument and
     return a LumiBatch Object with background corrected.

     Thanks Kevin Coombes (M.D. Anderson Cancer Center) suggested
     adding this function.

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

     Return an object with background corrected. The class of the
     return object is the same as the input object x.lumi.

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

     Pan Du, Kevin Coombes

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

     'bgAdjust', 'lumiExpresso'

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

     ## load example data
     data(example.lumi)

     ## Do the default background correction method
     lumi.B <- lumiB(example.lumi, method='bgAdjust', probs=0)

