React components for visualisations from the GTEx web portal
npm install react-gtex-vizReact components for visualisations from the [GTEx web portal].
Based on the [gtex-viz] Javascript library.




``bash`
npm install --save react-gtex-viz
`jsx
import React, { Component } from 'react'
import TranscriptBrowserComponent from 'react-gtex-viz'
class Example extends Component {
render () {
return (
)
}
}
`
Build the library
`bash`
npm run build
Run the tests
`bash`
npm run coverage
Release a new version
`bash``Prepare a new release
npm install
npm run buildCommit any changes
git commit -aPublish a new release
npm login
npm version patch # for a patch release
npm publish
BSD-3-Clause © 2019 The Hyve.
[GTEx web portal]: https://gtexportal.org
[gtex-viz]: https://github.com/broadinstitute/gtex-viz