Windowed mean smoother
Arguments
- mat
Input data matrix: samples are columns, regions/loci are rows
- k
Number of windows to use (default = 1 to smooth with 1 window on either side of a position)
- iters
Number of iterations to smooth (default is 2)
- delta
Convergence threshhold (overrides iter if > 0; default is 0)
- weights
Weights, if using any (NULL)