From: James Procter Date: Mon, 27 Feb 2023 17:58:09 +0000 (+0000) Subject: JAL-4134 TODO: alternative way of performing interactive picking using threshold X-Git-Tag: Release_2_11_3_0~15^2^2~25 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=a04bbb6c032ae6066d5c7f6fa83e6656ab58f6d7;p=jalview.git JAL-4134 TODO: alternative way of performing interactive picking using threshold --- diff --git a/src/jalview/gui/AnnotationPanel.java b/src/jalview/gui/AnnotationPanel.java index 3aacb07..84443e7 100755 --- a/src/jalview/gui/AnnotationPanel.java +++ b/src/jalview/gui/AnnotationPanel.java @@ -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)