7
7
*/
8
8
package org .broadinstitute .macarthurlab .matchbox .entities ;
9
9
10
+
11
+ import java .util .Map ;
12
+
10
13
/**
11
14
* @author harindra
12
15
*
13
16
*/
14
17
public class PrivilegedMetric extends PublicMetric {
18
+
19
+ private Map <String ,Integer > geneCounts ;
20
+ private Map <String ,Integer > phenotypeCounts ;
15
21
16
22
/**
17
23
* default constructor
@@ -20,17 +26,76 @@ public PrivilegedMetric() {
20
26
super ();
21
27
}
22
28
23
- /**
24
- * Primary constructor
29
+
30
+ /**
31
+ * @param numberOfSubmitters
32
+ * @param numberOfUniqueGenes
33
+ * @param numberOfUniqueFeatures
34
+ * @param numberOfCasesWithDiagnosis
35
+ * @param numberOfCases
36
+ * @param percentageOfGenesThatMatch
37
+ * @param meanNumberOfGenesPerCase
38
+ * @param meanNumberOfVariantsPerCase
39
+ * @param meanNumberOfPhenotypesPerCase
40
+ * @param numberOfRequestsReceived
41
+ * @param numberOfPotentialMatchesSent
42
+ * @param geneCounts
25
43
*/
26
44
public PrivilegedMetric (int numberOfSubmitters , int numberOfUniqueGenes , int numberOfUniqueFeatures ,
27
45
int numberOfCasesWithDiagnosis , int numberOfCases , double percentageOfGenesThatMatch ,
28
46
double meanNumberOfGenesPerCase , double meanNumberOfVariantsPerCase , double meanNumberOfPhenotypesPerCase ,
29
- int numberOfRequestsReceived , int numberOfPotentialMatchesSent ) {
47
+ int numberOfRequestsReceived , int numberOfPotentialMatchesSent ,
48
+ Map <String ,Integer > geneCounts ,
49
+ Map <String ,Integer > phenotypeCounts ) {
50
+
30
51
super (numberOfSubmitters , numberOfUniqueGenes , numberOfUniqueFeatures , numberOfCasesWithDiagnosis , numberOfCases ,
31
52
percentageOfGenesThatMatch , meanNumberOfGenesPerCase , meanNumberOfVariantsPerCase ,
32
53
meanNumberOfPhenotypesPerCase , numberOfRequestsReceived , numberOfPotentialMatchesSent );
54
+
55
+ this .geneCounts = geneCounts ;
56
+ this .phenotypeCounts = phenotypeCounts ;
57
+ }
58
+
59
+
60
+
61
+
62
+
63
+
64
+ /**
65
+ * @return the geneCounts
66
+ */
67
+ public Map <String , Integer > getGeneCounts () {
68
+ return geneCounts ;
69
+ }
70
+
71
+ /**
72
+ * @param geneCounts the geneCounts to set
73
+ */
74
+ public void setGeneCounts (Map <String , Integer > geneCounts ) {
75
+ this .geneCounts = geneCounts ;
33
76
}
77
+
78
+
79
+ /**
80
+ * @return the phenotypeCounts
81
+ */
82
+ public Map <String , Integer > getPhenotypeCounts () {
83
+ return phenotypeCounts ;
84
+ }
85
+
86
+
87
+ /**
88
+ * @param phenotypeCounts the phenotypeCounts to set
89
+ */
90
+ public void setPhenotypeCounts (Map <String , Integer > phenotypeCounts ) {
91
+ this .phenotypeCounts = phenotypeCounts ;
92
+ }
93
+
94
+
95
+
96
+
97
+
98
+
34
99
35
100
36
101
}
0 commit comments