Skip to content

React components for visualisations from the GTEx web portal

License

Notifications You must be signed in to change notification settings

thehyve/react-gtex-viz

Repository files navigation

react-gtex-viz

React components for visualisations from the GTEx web portal. Based on the gtex-viz Javascript library.

build status npm version codecov JavaScript Style Guide

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.

About

React components for visualisations from the GTEx web portal

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published