0.1.6 • Published 6 years ago

higlass-unix-time-track v0.1.6

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

Unix Time Track for HiGlass

Display human readable unix epoch time.

HiGlass Build Status

HiGlass showing times

Note: This is the source code for the time interval track only! You might want to check out the following repositories as well:

Installation

npm install higlass-unix-time-track

Usage

  1. Make sure you load this track prior to hglib.js. For example:
<script src="higlass-unix-time-track.js"></script>
<script src="hglib.js"></script>
<script>
  ...
</script>
  1. Now, configure the track in your view config and be happy! Cheers 🎉
{
  ...
  {
    server: 'http://localhost:8001/api/v1',
    tilesetUid: 'time-interval.json',
    uid: 'blah',
    type: 'unix-time-track',
    options: {

    },
  },
  ...
}

Take a look at src/index.html for an example.

Development

Installation

$ git clone https://github.com/manzt/higlass-unix-time-track && cd unix-time-track
$ npm install

Commands

Developmental server: npm start Production build: npm run build

0.1.6

6 years ago

0.1.4

6 years ago

0.1.0

6 years ago