1 |
|
|
2 |
|
|
3 |
|
|
4 |
|
|
5 |
|
|
6 |
|
|
7 |
|
|
8 |
|
|
9 |
|
|
10 |
|
|
11 |
|
|
12 |
|
|
13 |
|
|
14 |
|
|
15 |
|
|
16 |
|
|
17 |
|
|
18 |
|
|
19 |
|
|
20 |
|
|
21 |
|
package jalview.viewmodel; |
22 |
|
|
23 |
|
import jalview.analysis.PCA; |
24 |
|
import jalview.analysis.PaSiMap; |
25 |
|
import jalview.api.RotatableCanvasI; |
26 |
|
import jalview.api.analysis.ScoreModelI; |
27 |
|
import jalview.api.analysis.SimilarityParamsI; |
28 |
|
import jalview.datamodel.AlignmentView; |
29 |
|
import jalview.datamodel.Point; |
30 |
|
import jalview.datamodel.SequenceI; |
31 |
|
import jalview.datamodel.SequencePoint; |
32 |
|
import jalview.gui.PairwiseAlignPanel; |
33 |
|
import jalview.viewmodel.AlignmentViewport; |
34 |
|
|
35 |
|
import java.util.List; |
36 |
|
import java.util.Vector; |
37 |
|
|
|
|
| 0% |
Uncovered Elements: 13 (13) |
Complexity: 6 |
Complexity Density: 0.86 |
|
38 |
|
public class PaSiMapModel extends SpatialModel<PaSiMap> |
39 |
|
{ |
40 |
|
PairwiseAlignPanel pap = null; |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
41 |
0 |
@Override... |
42 |
|
public PaSiMap constructModel() |
43 |
|
{ |
44 |
0 |
return new PaSiMap(av, scoreModel, pap); |
45 |
|
} |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
46 |
0 |
public PaSiMapModel(AlignmentViewport seqData, SequenceI[] sqs,... |
47 |
|
boolean nuc, ScoreModelI modelName) |
48 |
|
{ |
49 |
0 |
super(seqData,null,sqs,nuc, modelName,null); |
50 |
|
} |
51 |
|
|
52 |
|
|
53 |
|
|
54 |
|
|
55 |
|
|
|
|
| 0% |
Uncovered Elements: 2 (2) |
Complexity: 1 |
Complexity Density: 0.5 |
|
56 |
0 |
public void calculate(PairwiseAlignPanel pap)... |
57 |
|
{ |
58 |
0 |
this.pap = pap; |
59 |
0 |
calculate(); |
60 |
|
} |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
61 |
0 |
public void setInputData(AlignmentViewport data)... |
62 |
|
{ |
63 |
0 |
av = data; |
64 |
|
} |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
65 |
0 |
public PaSiMap getPasimapData()... |
66 |
|
{ |
67 |
0 |
return outputModel; |
68 |
|
} |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
69 |
0 |
public void setPasimapData(PaSiMap pasimapData)... |
70 |
|
{ |
71 |
0 |
outputModel = pasimapData; |
72 |
|
} |
73 |
|
|
74 |
|
} |