Smooth a wig plot in rphast
smooth.wig(coord, score, numpoints = 300)
The x coordinates of un-smoothed plot
The scores cooresponding to the x coordinates (should be same length as coord)
The number of points to use in the new plot
A data frame with numpoints rows and columns "coord" and "score"
with smoothed values. If length(coord) <= numpoints
, it will contain the
original data