JAL-4134 TODO: alternative way of performing interactive picking using threshold
[jalview.git] / src / jalview / gui / AnnotationPanel.java
index 3aacb07..84443e7 100755 (executable)
@@ -604,6 +604,9 @@ public class AnnotationPanel extends JPanel implements AwtRenderPanelI,
         else
         {
           GraphLine thr = aa[graphStretch].getThreshold();
+          
+          // possible alternative for interactive selection - threshold gives 'ceiling' for forming a cluster
+          // when a row+column is selected, farthest common ancestor less than thr is used to compute cluster  
           int currentX = getColumnForXPos(evt.getX());
           ContactMatrixI matrix = av.getContactMatrix(aa[graphStretch]);
           if (matrix!=null)