smooth                 package:MEDME                 R Documentation

_D_e_t_e_r_m_i_n_i_n_g _w_e_i_g_h_t_e_d _M_e_D_I_P _d_a_t_a

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

     MeDIP data from tiling arrays are smoothed by determining for each
     probe i the weighted average of the probes within a window of size
     wsize centered at i

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

     smooth(data, wsize=1000, wFunction='linear')

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

    data: An object of class MEDMEset

   wsize: number; the size of the smoothing window, in bp 

wFunction: string; the type of weighting function, to choose among
          linear, exp, log or none 

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

     The un-smoothed data are read from the slot logR of the data
     MEDMEset and the resulting smoothed data are saved on the smoothed
     slot.

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

     An object of class MEDMEset. In particular, the smoothed data are
     saved on the smoothed slot.

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

     data(testMEDMEset)
     # just an example with the first 1000 probes
     testMEDMEset = smooth(data = testMEDMEset[1:1000,])

