pl.krakow.cmuj.bioinformatics.jellipse
Class AbsDeviation
java.lang.Object
pl.krakow.cmuj.bioinformatics.jellipse.AbsDeviation
- All Implemented Interfaces:
- Plottable
class AbsDeviation
- extends java.lang.Object
- implements Plottable
Enables plotting the absolute value of the difference between the Ln of the
radius of curvature of the current structure (observable) and the value of
the parameter obtained analyzing model peptides.
Absoulte deviation is computed along the whole polypeptide chain.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
AbsDeviation
AbsDeviation()
getValue
public float getValue(Aminoacid aacid)
- Specified by:
getValue
in interface Plottable
- Parameters:
aacid
- aminoacid in the region of which the absolute deviation is
to be returned
- Returns:
- absoulte value of the deviation of observable and theoretical
Ln of the radius of local curvature
getMinValue
public float getMinValue(Peptide ch)
- Specified by:
getMinValue
in interface Plottable
- Parameters:
ch
- chain for which the minimal value of absolute deviation is
to be returned
- Returns:
- minimal numerical value of absoulte deviation between the Ln of
the radius of curvature of the current structure (observable) and the
value of the parameter obtained analyzing model peptides.
getMaxValue
public float getMaxValue(Peptide ch)
- Specified by:
getMaxValue
in interface Plottable
- Parameters:
ch
- chain for which the maximal value of absolute deviation is
to be returned
- Returns:
- maximal numerical value of absoulte deviation between the Ln of
the radius of curvature of the current structure (observable) and the
value of the parameter obtained analyzing model peptides.
isCorrect
public boolean isCorrect(float value)
- Specified by:
isCorrect
in interface Plottable
- Parameters:
value
- value of the absoulte deviation between the Ln of
the radius of curvature of the current structure (observable) and the
value of the parameter obtained analyzing model peptides - to be tested
whether id correct
- Returns:
- true, iff the tested value is correct for as for the
property of absoulte deviation of Ln(R)
toString
public java.lang.String toString()
- Specified by:
toString
in interface Plottable
- Overrides:
toString
in class java.lang.Object
- Returns:
- text identyfing property
toShortString
public java.lang.String toShortString()
- Specified by:
toShortString
in interface Plottable
- Returns:
- short text identyfing property