import * as React from 'react'; import { MUT_COLOR_MISSENSE, MUT_COLOR_TRUNC, MUT_COLOR_INFRAME, STRUCTURAL_VARIANT_COLOR, MUT_COLOR_SPLICE, MUT_COLOR_OTHER, } from 'cbioportal-frontend-commons'; type DefaultLollipopPlotLegendProps = { missenseColor?: string; truncatingColor?: string; inframeColor?: string; spliceColor?: string; fusionColor?: string; otherColor?: string; }; export default class DefaultLollipopPlotLegend extends React.Component< DefaultLollipopPlotLegendProps > { public static defaultProps: DefaultLollipopPlotLegendProps = { missenseColor: MUT_COLOR_MISSENSE, truncatingColor: MUT_COLOR_TRUNC, inframeColor: MUT_COLOR_INFRAME, spliceColor: MUT_COLOR_SPLICE, fusionColor: STRUCTURAL_VARIANT_COLOR, otherColor: MUT_COLOR_OTHER, }; public render() { return (
Color Codes

Mutation diagram circles are colored with respect to the corresponding mutation types. In case of different mutation types at a single position, color of the circle is determined with respect to the most frequent mutation type.


Mutation types and corresponding color codes are as follows:
); } }