https://github.com/higlass/higlass-labelled-points-track
https://github.com/higlass/higlass-labelled-points-track
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/higlass/higlass-labelled-points-track
- Owner: higlass
- License: mit
- Created: 2019-04-27T05:45:19.000Z (about 7 years ago)
- Default Branch: main
- Last Pushed: 2026-02-12T05:15:25.000Z (4 months ago)
- Last Synced: 2026-02-12T15:37:21.110Z (4 months ago)
- Language: JavaScript
- Size: 2.78 MB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Labelled Points Track for HiGlass
> Explore datasets containing millions of points with labels in HiGlass
[](http://higlass.io)
[](https://travis-ci.org/pkerpedjiev/higlass-labelled-points-track)

**Note**: This is the source code for the labelled points track only! You might want to check out the following repositories as well:
- HiGlass labelled points track (this repository): https://github.com/higlass/higlass-labelled-points-tracks
- HiGlass viewer: https://github.com/higlass/higlass
- HiGlass server: https://github.com/higlass/higlass-server
- HiGlass docker: https://github.com/higlass/higlass-docker
## Installation
```
npm install higlass-labelled-points-track
```
## Usage
To try this track out, head over to https://github.com/pkerpedjiev/million-primes
and start a server using the provided notebook.
1. Make sure you load this track prior to `hglib.js`. For example:
```
...
```
2. Now, configure the track in your view config and be happy!
```
{
...
{
server: 'http://localhost:8001/api/v1',
tilesetUid: 'blah',
type: 'labelled-points-track',
options: {
labelField: 'label',
xPosField: 'x',
yPosField: 'y'
},
},
...
}
```
Take a look at [`src/index.html`](src/index.html) for an example.
## Development
### Installation
```bash
$ git clone https://github.com/pkerpedjiev/labelled-points-track && higlass-labelled-points-track
$ npm install
```
### Commands
**Developmental server**: `npm start`
**Production build**: `npm run build`