File tree Expand file tree Collapse file tree 2 files changed +15
-4
lines changed
src/shared/components/oncoprint Expand file tree Collapse file tree 2 files changed +15
-4
lines changed Original file line number Diff line number Diff line change @@ -344,11 +344,22 @@ export function makeTrackGroupHeaders(
344344 } else {
345345 type = 'heatmap' ;
346346 }
347- headerMap [ nextEntry . trackGroupIndex ] = makeTrackGroupHeader (
348- type ,
347+
348+ let headerText =
349349 molecularProfileIdToMolecularProfile [
350350 nextEntry . molecularProfileId
351- ] . name ,
351+ ] . name ;
352+
353+ if (
354+ profile . molecularAlterationType ===
355+ AlterationTypeConstants . MUTATION_EXTENDED
356+ ) {
357+ headerText = 'Variant Allele Frequency' ;
358+ }
359+
360+ headerMap [ nextEntry . trackGroupIndex ] = makeTrackGroupHeader (
361+ type ,
362+ headerText ,
352363 nextEntry . trackGroupIndex ,
353364 onClickDeleteCallback ,
354365 getClusteredTrackGroupIndex ,
Original file line number Diff line number Diff line change @@ -481,7 +481,7 @@ export default class OncoprintControls extends React.Component<
481481 profile . molecularAlterationType ===
482482 AlterationTypeConstants . MUTATION_EXTENDED
483483 ) {
484- label = `Variant Allele Frequency` ;
484+ label = `Variant Allele Frequency in Selected Mutations Profile ` ;
485485 }
486486
487487 return {
You can’t perform that action at this time.
0 commit comments