react-mutation-plot

1.3.1 • Public • Published

react-mutation-plot

A light weight adaptation React based mutation lollipop plot from cBioPortal frontend.

NPM JavaScript Style Guide

schermafbeelding 2019-02-19 om 17 56 14

Install

npm install --save react-mutation-plot

Usage

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}
      />
    )
  }
}

Readme

Keywords

none

Package Sidebar

Install

npm i react-mutation-plot

Weekly Downloads

10

Version

1.3.1

License

GPL-3.0-or-later

Unpacked Size

2.8 MB

Total Files

7

Last publish

Collaborators

  • oplantalech
  • ewelinag
  • pvannierop
  • janblom_nl
  • rnugraha