Skip to content

Commit

Permalink
Add custom attribute type to the Plots tab
Browse files Browse the repository at this point in the history
  • Loading branch information
Nelliney committed Sep 12, 2024
1 parent 9ca3198 commit 6450eae
Show file tree
Hide file tree
Showing 5 changed files with 214 additions and 20 deletions.
3 changes: 3 additions & 0 deletions src/pages/resultsView/ResultsViewPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,9 @@ export default class ResultsViewPage extends React.Component<
sampleKeyToSample={store.sampleKeyToSample}
genes={store.genes}
clinicalAttributes={store.clinicalAttributes}
customAttributes={
store.clinicalAttributes_customCharts
}
genesets={store.genesets}
genericAssayEntitiesGroupByMolecularProfileId={
store.genericAssayEntitiesGroupByMolecularProfileId
Expand Down
2 changes: 0 additions & 2 deletions src/pages/resultsView/ResultsViewPageStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1093,7 +1093,6 @@ export class ResultsViewPageStore extends AnalysisStore
this.studyIds,
this.clinicalAttributes_profiledIn,
this.clinicalAttributes_comparisonGroupMembership,
this.clinicalAttributes_customCharts,
this.samples,
this.patients,
],
Expand Down Expand Up @@ -1142,7 +1141,6 @@ export class ResultsViewPageStore extends AnalysisStore
...specialAttributes,
...this.clinicalAttributes_profiledIn.result!,
...this.clinicalAttributes_comparisonGroupMembership.result!,
...this.clinicalAttributes_customCharts.result!,
];
},
});
Expand Down
4 changes: 4 additions & 0 deletions src/pages/studyView/StudyViewPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -772,6 +772,10 @@ export default class StudyViewPage extends React.Component<
clinicalAttributes={
this.store.clinicalAttributes
}
customAttributes={
this.store
.clinicalAttributes_customCharts
}
genesets={this.store.genesets}
genericAssayEntitiesGroupByMolecularProfileId={
this.store
Expand Down
Loading

0 comments on commit 6450eae

Please sign in to comment.