forked from cBioPortal/cbioportal
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(GSoC) Generic Assay Categorical/Binary data implementation Backend (c…
…BioPortal#10303) * update backend * finish tests * modify controller file structure * modify import * update backend * finish tests * modify controller file structure * refactor some variables * modify enrichment compare and validate issue * refactor the controllers and services * refactor test * Update GenericAssayEnrichmentServiceImpl.java * fixed simplification issues * add inline comments * modify import * solve core test issue * test check * modify expressionenrichment * modify imports * update backend * finish tests * modify controller file structure * modify import * update backend * finish tests * modify controller file structure * refactor some variables * modify enrichment compare and validate issue * refactor the controllers and services * refactor test * Update GenericAssayEnrichmentServiceImpl.java * fixed simplification issues * add inline comments * modify import * solve core test issue * test check * modify expressionenrichment * modify imports * update imports * Update GenericAssayEnrichment.java
- Loading branch information
1 parent
76c7f0a
commit 446f6ce
Showing
14 changed files
with
1,096 additions
and
273 deletions.
There are no files selected for viewing
19 changes: 19 additions & 0 deletions
19
model/src/main/java/org/cbioportal/model/GenericAssayBinaryEnrichment.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
package org.cbioportal.model; | ||
|
||
import javax.validation.constraints.NotNull; | ||
import java.math.BigDecimal; | ||
import java.util.List; | ||
|
||
public class GenericAssayBinaryEnrichment extends GenericAssayEnrichment { | ||
@NotNull | ||
private List<GenericAssayCountSummary> counts; | ||
|
||
public List<GenericAssayCountSummary> getCounts() { | ||
return counts; | ||
} | ||
|
||
public void setCounts(List<GenericAssayCountSummary> counts) { | ||
this.counts = counts; | ||
} | ||
|
||
} |
18 changes: 18 additions & 0 deletions
18
model/src/main/java/org/cbioportal/model/GenericAssayCategoricalEnrichment.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
package org.cbioportal.model; | ||
|
||
import javax.validation.constraints.NotNull; | ||
import java.math.BigDecimal; | ||
|
||
public class GenericAssayCategoricalEnrichment extends GenericAssayEnrichment { | ||
@NotNull | ||
private BigDecimal qValue; | ||
|
||
public BigDecimal getqValue() { | ||
return qValue; | ||
} | ||
|
||
public void setqValue(BigDecimal qValue) { | ||
this.qValue = qValue; | ||
} | ||
|
||
} |
38 changes: 38 additions & 0 deletions
38
model/src/main/java/org/cbioportal/model/GenericAssayCountSummary.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
package org.cbioportal.model; | ||
|
||
import javax.validation.constraints.NotNull; | ||
import java.io.Serializable; | ||
|
||
public class GenericAssayCountSummary implements Serializable { | ||
|
||
@NotNull | ||
private String name; | ||
@NotNull | ||
private Integer count; | ||
@NotNull | ||
private Integer totalCount; | ||
|
||
public Integer getCount() { | ||
return count; | ||
} | ||
|
||
public void setCount(Integer count) { | ||
this.count = count; | ||
} | ||
|
||
public String getName() { | ||
return name; | ||
} | ||
|
||
public void setName(String name) { | ||
this.name = name; | ||
} | ||
|
||
public Integer getTotalCount() { | ||
return totalCount; | ||
} | ||
|
||
public void setTotalCount(Integer totalCount) { | ||
this.totalCount = totalCount; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.