1.3.1 • Published 6 years ago
react-mutation-plot v1.3.1
react-mutation-plot
A light weight adaptation React based mutation lollipop plot from cBioPortal frontend.

Install
npm install --save react-mutation-plotUsage
Check the /example folder for a complete usage. 
import React, { Component } from 'react'
import Lollipop from 'react-mutation-plot'
class Example extends Component {
  render () {
    return (
      <LollipopPlot
        domains={domains}
        lollipops={lollipops}
        vizWidth={vizWidth}
        vizHeight={vizHeight}
        hugoGeneSymbol={hugoGeneSymbol}
        xMax={xMax}
        yMax={yMax}
        onLollipopClick={onLollipopClickHandler}
      />
    )
  }
}