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.api.RotatableCanvasI; |
25 |
|
import jalview.api.analysis.ScoreModelI; |
26 |
|
import jalview.api.analysis.SimilarityParamsI; |
27 |
|
import jalview.datamodel.AlignmentView; |
28 |
|
import jalview.datamodel.Point; |
29 |
|
import jalview.datamodel.SequenceI; |
30 |
|
import jalview.datamodel.SequencePoint; |
31 |
|
|
32 |
|
import java.util.List; |
33 |
|
import java.util.Vector; |
34 |
|
|
|
|
| 80% |
Uncovered Elements: 2 (10) |
Complexity: 5 |
Complexity Density: 1 |
|
35 |
|
public class PCAModel extends SpatialModel<PCA> |
36 |
|
{ |
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
37 |
1 |
@Override... |
38 |
|
public PCA constructModel() |
39 |
|
{ |
40 |
1 |
return new PCA(inputData,scoreModel,similarityParams); |
41 |
|
} |
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
42 |
2 |
public PCAModel(AlignmentViewport av, AlignmentView seqData, SequenceI[] sqs, boolean nuc,... |
43 |
|
ScoreModelI modelName, SimilarityParamsI params) |
44 |
|
{ |
45 |
2 |
super(av, seqData,sqs, nuc,modelName, params); |
46 |
|
} |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
47 |
0 |
public void setInputData(AlignmentView data)... |
48 |
|
{ |
49 |
0 |
inputData = data; |
50 |
|
} |
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
51 |
1 |
public PCA getPcaData()... |
52 |
|
{ |
53 |
1 |
return outputModel; |
54 |
|
} |
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
55 |
1 |
public void setPCA(PCA pca)... |
56 |
|
{ |
57 |
1 |
outputModel = pca; |
58 |
|
} |
59 |
|
} |