gramene-search-vis
v4.2.4
Published
Visualization used by Gramene search
Downloads
94
Readme
gramene-search-vis
Use in another project
npm install "git://github.com/warelab/gramene-search-vis.git#master"
Then, in a JSX file
// import
var Vis = require('gramene-search-vis').Vis
// in a render method.
// `taxonomy` is an object provided by gramene-taxonomy-with-genomes (see example)
<Vis taxonomy={taxonomy} />
Run example
npm install
npm install -g live-server
npm install -g grunt-cli
View/run with live recompile/refresh
In one terminal window, with wd project root:
grunt
This command builds the .js and .css files. It also watches for changes and updates those files while you work.
In another, with wd project root:
live-server
This runs a server that watches the files generated by grunt and injects a doodad into the page to cause a refresh whenever the files change
In your browser, go to 127.0.0.1:8080