react-gtex-viz
v1.2.1
Published
React components for visualisations from the GTEx web portal
Downloads
7
Keywords
Readme
react-gtex-viz
React components for visualisations from the GTEx web portal. Based on the gtex-viz Javascript library.
Install
npm install --save react-gtex-viz
Usage
import React, { Component } from 'react'
import TranscriptBrowserComponent from 'react-gtex-viz'
class Example extends Component {
render () {
return (
<TranscriptBrowserComponent rootId='transcriptBrowser' type='isoformTransposed' geneId='ENSG00000130164' />
)
}
}
Development
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
License
BSD-3-Clause © 2019 The Hyve.