Skip to content

Commit

Permalink
feat: Zscores instead of kIQR for various views, fixed typos
Browse files Browse the repository at this point in the history
DEVSU-2039
  • Loading branch information
kttkjl committed Oct 20, 2023
1 parent 9c87e3c commit b50eaa2
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion app/views/ReportView/components/Expression/columnDefs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const columnDefs: Array<ColDef | ColGroupDef> = [{
headerName: 'Disease',
children: [
{ headerName: 'Perc', field: 'diseasePercentile', hide: false },
{ headerName: 'kIQR', field: 'diseasekIQR', hide: false },
{ headerName: 'kIQR', field: 'diseasekIQR', hide: true },
{ headerName: 'QC', field: 'diseaseQC', hide: false },
{ headerName: 'FC', field: 'diseaseFoldChange', hide: true },
{ headerName: 'Z-Score', field: 'diseaseZScore', hide: false },
Expand Down
2 changes: 1 addition & 1 deletion app/views/ReportView/components/SmallMutations/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ const SmallMutations = ({
for (const {
gene: {
expressionVariants: {
tpm, rpkm, primarySiteFoldChange, diseasekIQR,
tpm, rpkm, primarySiteFoldChange,
},
},
} of filteredSmallMutResp) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ const columnDefs = [{
hide: true,
}, {
headerName: 'Expression (Z-score) 5`/3',
colId: 'primarySiteZscore',
valueGetter: createGeneRelatedValueGetter('expressionVariants', ' / ', 'primarySiteZscore'),
colId: 'primarySiteZScore',
valueGetter: createGeneRelatedValueGetter('expressionVariants', ' / ', 'primarySiteZScore'),
hide: false,
}, {
headerName: 'Oncogene',
Expand Down
3 changes: 0 additions & 3 deletions app/views/ReportView/components/StructuralVariants/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,6 @@ const StructuralVariants = ({
if ((primarySiteFoldChange1 !== null || primarySiteFoldChange2 !== null) && !nextVisible.includes('primarySiteFoldChange')) {
nextVisible.push('primarySiteFoldChange');
}
if ((primarySitekIQR1 !== null || primarySitekIQR2 !== null) && !nextVisible.includes('primarySitekIQR')) {
nextVisible.push('primarySitekIQR');
}
if (nextVisible.length === 2) {
break;
}
Expand Down

0 comments on commit b50eaa2

Please sign in to comment.