bkgdCorrect             package:codelink             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_n_t_e_n_s_i_t_y _v_a_l_u_e_s.

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

     Takes a Codelink object with Spot mean and Bkgd median values and
     corrects applying one of the methods available.

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

       bkgdCorrect(object, method = "half", preserve = FALSE, verbose = FALSE,
         offset = 0)

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

  object: character; an object of class "Codelink".

  method: character; the correction method to use, one of "none",
          "subtract", "half" and "normexp".

preserve: logical; if Smean and Bmedian slots should be preserved.

 verbose: logical; if TRUE print some information with method normexp.

  offset: numeric; value to add to intensities.

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

     Available methods are: . none: left intensities untouched. .
     subtract: simple subtraction of Bkgd median from Spot mean. .
     half: the same as above but aboid negative values setting all
     intensity values below zero to 0.5. . normexp: apply normexp
     background adjustment from package limma.

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

     An object of class Codelink with corrected intensity values, that
     is Ri slot.

_N_o_t_e:

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

     Diego Diez

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

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

     ## Not run: 
         data(codelink.example)
         codelink.example <- bkgdCorrect(codelink.example, method = "half")
     ## End(Not run)

