-
Notifications
You must be signed in to change notification settings - Fork 513
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Genomic data counts study-view endpoint (#10300)
* implement getting CNA types for a gene specific * add tests for genomic-data-counts endpoint * change CopyNumberDataCounterFilter to StudyViewFilter and GenomicDataCountFilter * change to molecularDataService to fetch data * add filter logic for DISCRETE molecular profiles * Refactor * count NA and clean up codes * Updates * Update StudyViewServiceImplTest.java --------- Co-authored-by: Qi-Xuan Lu <qlu@carisls.com> Co-authored-by: Karthik <kalletlakarthik@gmail.com>
- Loading branch information
1 parent
d035bb1
commit ca2bdff
Showing
11 changed files
with
555 additions
and
93 deletions.
There are no files selected for viewing
35 changes: 35 additions & 0 deletions
35
model/src/main/java/org/cbioportal/model/GenomicDataCountItem.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,35 @@ | ||
package org.cbioportal.model; | ||
|
||
import java.io.Serializable; | ||
import java.util.List; | ||
|
||
public class GenomicDataCountItem implements Serializable { | ||
|
||
private String hugoGeneSymbol; | ||
private String profileType; | ||
private List<GenomicDataCount> counts; | ||
|
||
public String getHugoGeneSymbol() { | ||
return hugoGeneSymbol; | ||
} | ||
|
||
public void setHugoGeneSymbol(String hugoGeneSymbol) { | ||
this.hugoGeneSymbol = hugoGeneSymbol; | ||
} | ||
|
||
public String getProfileType() { | ||
return profileType; | ||
} | ||
|
||
public void setProfileType(String profileType) { | ||
this.profileType = profileType; | ||
} | ||
|
||
public List<GenomicDataCount> getCounts() { | ||
return counts; | ||
} | ||
|
||
public void setCounts(List<GenomicDataCount> counts) { | ||
this.counts = counts; | ||
} | ||
} |
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
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
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
26 changes: 26 additions & 0 deletions
26
web/src/main/java/org/cbioportal/web/parameter/GenomicDataCountFilter.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,26 @@ | ||
package org.cbioportal.web.parameter; | ||
|
||
import java.io.Serializable; | ||
import java.util.List; | ||
|
||
public class GenomicDataCountFilter implements Serializable { | ||
|
||
private List<GenomicDataFilter> genomicDataFilters; | ||
private StudyViewFilter studyViewFilter; | ||
|
||
public List<GenomicDataFilter> getGenomicDataFilters() { | ||
return genomicDataFilters; | ||
} | ||
|
||
public void setGenomicDataFilters(List<GenomicDataFilter> genomicDataFilters) { | ||
this.genomicDataFilters = genomicDataFilters; | ||
} | ||
|
||
public StudyViewFilter getStudyViewFilter() { | ||
return studyViewFilter; | ||
} | ||
|
||
public void setStudyViewFilter(StudyViewFilter studyViewFilter) { | ||
this.studyViewFilter = studyViewFilter; | ||
} | ||
} |
Oops, something went wrong.