public static class DinucleotideProperty.MeanSmoothing extends DinucleotideProperty.Smoothing
| Constructor and Description |
|---|
MeanSmoothing(int width)
Creates a new
DinucleotideProperty.MeanSmoothing that averages over windows of width width. |
| Modifier and Type | Method and Description |
|---|---|
double[] |
smooth(double[] original)
Returns the smoothed version of
original. |
String |
toString()
Returns a
String representation of this smoothing method. |
public MeanSmoothing(int width)
DinucleotideProperty.MeanSmoothing that averages over windows of width width.width - the width of the window.public double[] smooth(double[] original)
DinucleotideProperty.Smoothingoriginal. The length of the returned array and original may differ.smooth in class DinucleotideProperty.Smoothingoriginal - the original series of valuespublic String toString()
DinucleotideProperty.SmoothingString representation of this smoothing method.toString in class DinucleotideProperty.Smoothing