pl.krakow.cmuj.bioinformatics.jellipse
Class Deviation
java.lang.Object
pl.krakow.cmuj.bioinformatics.jellipse.Deviation
- All Implemented Interfaces:
- Plottable
class Deviation
- extends java.lang.Object
- implements Plottable
Enables plotting the difference between the log,sub>n of radius of
curvature of the current structure (observable) and the value of the
parameter obtained analyzing model peptides. 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 |
Deviation
Deviation()
getValue
public float getValue(Aminoacid aacid)
- Specified by:
getValue
in interface Plottable
- Parameters:
aacid
- aminoacid in the region of which the deviation is to be returned
- Returns:
- deviation of observable and theoretical natural logarithm 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 deviation is to be returned
- Returns:
- minimal numerical value of 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 deviation is to be returned
- Returns:
- maximal numerical value of 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 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 is 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