Allele Frequency}
overlay={Proportion of the population with this allele}
/>
),
};
function renderNumericalValue(column: any) {
return {column.value};
}
const Disclaimer: React.FunctionComponent<{ gnomadUrl: string }> = props => {
const myVariantInfoLink = (
myvariant.info
);
const genomeNexusLink = (
genomenexus.org
);
const gnomadLink = (
gnomAD
);
return (
Source: {genomeNexusLink}, which serves {myVariantInfoLink}'s gnomAD
data.
Latest {gnomadLink} data may differ.
);
};
export default class GnomadFrequencyTable extends React.Component<
IGnomadFrequencyTableProps,
{}
> {
public render() {
return (
(
{frequencyOutput(column.value)}
),
width: 120,
},
]}
/>
{!this.props.hideDisclaimer && (
)}
);
}
@autobind
protected getTrProps(state: any, row?: RowInfo) {
return {
style: {
fontWeight:
state && row && row.index === this.props.data.length - 1
? 'bold'
: undefined,
},
};
}
}