JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 16
  • Score
    100M100P100Q46121F
  • License MIT

A drop in widget for Clustergrammer in React

Package Exports

  • clustergram-react
  • clustergram-react/dist/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (clustergram-react) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Clustergrammer-React

A drop in Clustergrammer React component

Install

npm install --save clustergram moromis/clustergrammer-react
yarn add moromis/clustergrammer-react

Use

You can pass all args object arguments as props in to the component. By default, component implements the biology-specific feature of loading gene information on hover. This can be overwritten by passing row_tip_callback={}

data = {
    "row_nodes": [...],
    "col_nodes": [...],
    "links": [...],
    "views" : [...]
}

<Clustergrammer networkData={data} />