A light weight adaptation React based mutation lollipop plot from cBioPortal frontend.
npm install --save react-mutation-plotCheck the /example folder for a complete usage.
importReact,{Component}from'react'importLollipopfrom'react-mutation-plot'classExampleextendsComponent{render(){return(<LollipopPlotdomains={domains}lollipops={lollipops}vizWidth={vizWidth}vizHeight={vizHeight}hugoGeneSymbol={hugoGeneSymbol}xMax={xMax}yMax={yMax}onLollipopClick={onLollipopClickHandler}/>)}}