public class UnscaledPherogramDistortion extends java.lang.Object implements PherogramDistortion
PherogramTraceCurveView
).Constructor and Description |
---|
UnscaledPherogramDistortion(double horizontalScale,
PherogramProvider provider) |
Modifier and Type | Method and Description |
---|---|
GapPattern |
getGapPattern(int baseCallIndex)
A description of gaps in the pherogram in the area surrounding the specified base call.
|
double |
getHorizontalScale(int baseCallIndex)
Returns the scale (pixels per trace value) in the area surrounding the specified base call.
|
double |
getPaintCenterX(int baseCallIndex)
Returns the x coordinate relative to the left border of the pherogram where the base call with the specified
index shall be painted.
|
double |
getPaintStartX(int baseCallIndex)
Returns the x coordinate relative to the left border of the pherogram where the first trace position of the area associated
with the specified base call index shall be painted.
|
public UnscaledPherogramDistortion(double horizontalScale, PherogramProvider provider)
public double getHorizontalScale(int baseCallIndex)
PherogramDistortion
getHorizontalScale
in interface PherogramDistortion
baseCallIndex
- the index of the base callpublic double getPaintStartX(int baseCallIndex)
PherogramDistortion
getPaintStartX
in interface PherogramDistortion
baseCallIndex
- the index of the base call.public double getPaintCenterX(int baseCallIndex)
PherogramDistortion
getPaintCenterX
in interface PherogramDistortion
baseCallIndex
- the index of the base call.public GapPattern getGapPattern(int baseCallIndex)
PherogramDistortion
getGapPattern
in interface PherogramDistortion
baseCallIndex
- the index of the base callnull
if no gaps are present in the specified area