@Override
public AlignmentAnnotation addContactList(ContactMatrixI cm)
{
- AlignmentAnnotation aa = new AlignmentAnnotation("Contact Matrix",
- "Contact Matrix", new Annotation[0]);
+
+ AlignmentAnnotation aa = new AlignmentAnnotation(cm.getAnnotLabel(),
+ cm.getAnnotDescr(), new Annotation[0]);
aa.graph = AlignmentAnnotation.CUSTOMRENDERER;
aa.graphMin = cm.getMin();
aa.graphMax = cm.getMax();
aa.editable = false;
- // aa.autoCalculated = true;
+
contactmaps.put(aa.annotationId, cm);
// TODO: contact matrices could be intra or inter - more than one refseq
// possible!
// TODO Auto-generated method stub
return null;
}
+
+ @Override
+ public String getAnnotLabel()
+ {
+ return "Contact Matrix";
+ }
+
+ @Override
+ public String getAnnotDescr()
+ {
+ return "Contact Matrix";
+ }
}