Skip to content

Commit

Permalink
Explain entities member [PR feedback Adam]
Browse files Browse the repository at this point in the history
  • Loading branch information
pvannierop committed Mar 21, 2019
1 parent 3b1f2d2 commit 9adc8ac
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/shared/components/oncoprint/ResultsViewOncoprint.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,14 @@ export const TREATMENT_LIST_URL_PARAM = "treatment_list";

const CLINICAL_TRACK_KEY_PREFIX = "CLINICALTRACK_";

/* Each heatmap track group can hold tracks of a single entity type.
Implemented entity types are genes and treatments. In the
HeatmapTrackGroupRecord type the `entities` member refers to
hugo_gene_symbols (for genes) or to treatment_id's (for treatments). */
type HeatmapTrackGroupRecord = {
trackGroupIndex:number,
molecularAlterationType:string,
entities:ObservableMap<boolean>,
entities:ObservableMap<boolean>, // map of hugo_gene_symbols or treatment_id's
molecularProfileId:string
}

Expand Down

0 comments on commit 9adc8ac

Please sign in to comment.