React components for visualisations from the GTEx web portal. Based on the gtex-viz Javascript library.
npm install --save react-gtex-viz
import React, { Component } from 'react'
import TranscriptBrowserComponent from 'react-gtex-viz'
class Example extends Component {
render () {
return (
<TranscriptBrowserComponent rootId='transcriptBrowser' type='isoformTransposed' geneId='ENSG00000130164' />
)
}
}
Build the library
npm run build
Run the tests
npm run coverage
Release a new version
# Prepare a new release
npm install
npm run build
# Commit any changes
git commit -a
# Publish a new release
npm login
npm version patch # for a patch release
npm publish
BSD-3-Clause © 2019 The Hyve.