import * as React from 'react'; import Icon from 'shared/components/cohort/LetterIcon'; export type MutSigProps = { qValue: number; }; /** * MutSig Annotation Component. */ export default class MutSigAnnotation extends React.Component { public render() { let iconStyle = { cursor: 'default', }; const tooltipCallback = () => this.getToolTip(this.props.qValue); return ( ); } /** * Gets the Tooltip Content. */ private getToolTip(qValue: number) { return (
Candidate driver gene, as determined by the MutSig
algorithm.

MutSig identifies likely driver genes by evaluating the
frequency of observed mutations within the entire study.

Note that not all mutations in this gene are necessarily
functional/driver events.

Q-value: {(qValue || 0).toExponential(3)}

); } }