Skip to content

Commit

Permalink
add structural variant column (#4832)
Browse files Browse the repository at this point in the history
* add structural variant column

* trigger ci

* remove duplicate fields
  • Loading branch information
uklineale authored Feb 8, 2024
1 parent aa6783b commit ae38e10
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions src/pages/staticPages/datasetView/DatasetList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ export default class DataSetsPageTable extends React.Component<
massSpectrometry: study.massSpectrometrySampleCount || '',
complete: study.completeSampleCount || '',
treatmentCount: study.treatmentCount || '',
structuralVariantCount: study.structuralVariantCount || '',
})
);
return (
Expand Down Expand Up @@ -180,6 +181,11 @@ export default class DataSetsPageTable extends React.Component<
Number(data.mrnaRnaSeq) ||
0,
},
{
name: 'Structural Variants',
type: 'structuralVariantCount',
visible: false,
},
{
name: 'Tumor mRNA (microarray)',
type: 'mrnaMicroarray',
Expand Down
4 changes: 2 additions & 2 deletions src/shared/components/query/DataTypeFilter.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ describe('DataTypeFilter', () => {
status: 1,
studyId: 'teststudy1',
treatmentCount: 45,
structuralVariantCount: 0,
structuralVariantCount: 10,
},
{
allSampleCount: 1500,
Expand Down Expand Up @@ -213,7 +213,7 @@ describe('DataTypeFilter', () => {
status: 1,
studyId: 'teststudy1',
treatmentCount: 45,
structuralVariantCount: 0,
structuralVariantCount: 10,
},
{
structuralVariantCount: 0,
Expand Down

0 comments on commit ae38e10

Please sign in to comment.