/**
* Score associated with label and description.
*/
- public float score;
+ public float score= Float.NaN;
/**
* flag indicating if annotation has a score.
*/
public boolean hasScore=false;
-
+
public GraphLine threshold;
// Graphical hints and tips
public static final int LINE_GRAPH = 2;
+ public boolean belowAlignment = true;
+
public static int getGraphValueFromString(String string)
{
*
* @param label DOCUMENT ME!
* @param description DOCUMENT ME!
- * @param annotations DOCUMENT ME!
+ * @param annotations DOCUMENT ME!about:blank
+Loading...
*/
public AlignmentAnnotation(String label, String description,
Annotation[] annotations)
* if appropriate.
*/
private void validateRangeAndDisplay() {
+
if (annotations==null)
{
visible=false; // try to prevent renderer from displaying.
return; // this is a non-annotation row annotation - ie a sequence score.
}
+
int graphType = graph;
float min = graphMin;
float max = graphMax;
this.score = score;
}
/**
- *
+ *
* @return true if annotation has an associated score
*/
public boolean hasScore()