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
Usage
smooth(data, wsize=1000, wFunction='linear')
Arguments
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
Value
An object of class MEDMEset. In particular, the smoothed data are saved on the smoothed slot.
Details
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.