Skip to content
This repository has been archived by the owner on Nov 22, 2024. It is now read-only.

Latest commit

 

History

History
66 lines (48 loc) · 1.5 KB

README.md

File metadata and controls

66 lines (48 loc) · 1.5 KB

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.