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 |
|
|
|
|
| 0% |
Uncovered Elements: 10 (10) |
Complexity: 5 |
Complexity Density: 1 |
|
35 |
|
public class PCAModel extends SpatialModel<PCA> |
36 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
37 |
0 |
@Override... |
38 |
|
public PCA constructModel() |
39 |
|
{ |
40 |
0 |
return new PCA(inputData,scoreModel,similarityParams); |
41 |
|
} |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
42 |
0 |
public PCAModel(AlignmentView seqData, SequenceI[] sqs, boolean nuc,... |
43 |
|
ScoreModelI modelName, SimilarityParamsI params) |
44 |
|
{ |
45 |
0 |
super(null, 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 |
|
} |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
51 |
0 |
public PCA getPcaData()... |
52 |
|
{ |
53 |
0 |
return outputModel; |
54 |
|
} |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
55 |
0 |
public void setPCA(PCA pca)... |
56 |
|
{ |
57 |
0 |
outputModel = pca; |
58 |
|
} |
59 |
|
} |