JAL-4134 TODO: alternative way of performing interactive picking using threshold
authorJames Procter <j.procter@dundee.ac.uk>
Mon, 27 Feb 2023 17:58:09 +0000 (17:58 +0000)
committerJames Procter <j.procter@dundee.ac.uk>
Mon, 27 Feb 2023 17:58:35 +0000 (17:58 +0000)
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)