git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
43281ae
)
JAL-4134 TODO: alternative way of performing interactive picking using threshold
author
James Procter
<j.procter@dundee.ac.uk>
Mon, 27 Feb 2023 17:58:09 +0000
(17:58 +0000)
committer
James Procter
<j.procter@dundee.ac.uk>
Mon, 27 Feb 2023 17:58:35 +0000
(17:58 +0000)
src/jalview/gui/AnnotationPanel.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/AnnotationPanel.java
b/src/jalview/gui/AnnotationPanel.java
index
3aacb07
..
84443e7
100755
(executable)
--- 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)