🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

higlass-image

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

higlass-image

A plugin track for viewing image data in HiGlass

0.2.0
latest
Source
npm
Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

HiGlass Image

A collection of tracks for viewing image data in HiGlass

HiGlass Demo Build Status code style prettier

HiGlass showing

HiGlass in dark mode showing a beautiful gigapixel image of Rio de Janeiro by The Rio de Janeiro - Hong Kong Connection

Live Demo: http://higlass-image.lekschas.de

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

Installation

npm install higlass-image

Usage

Note: We assume that you have create and ingested a SQLite-based image tileset database. If you're asking yourself "what the fu*! are they talking about" please check out our image tiles to SQLite converter.

  • Make sure you load this track prior to hglib.js. For example:
<script src="higlass-image.js"></script>
<script src="hglib.js"></script>
<script>
  ...
</script>
  • Configure the track in the view config.
{
  ...
  center: [
    {
      uid: 'c1',
      type: 'combined',
      options: {},
      contents: [
        {
          uid: 'my-fancy-tiled-image',
          type: 'image-tiles',
          server: 'http://localhost:8001/api/v1/',
          tilesetUid: 'my-fancy-tiled-image',
          options: {
            name: 'My fancy tiled image'
          }
        },
      ],
    },
  ],
  ...
}

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

  • You did it! We're so proud of you 🎉. You are truly the best!

Development

Installation

$ git clone https://github.com/flekschas/higlass-image && higlass-image
$ npm install

Commands

Developmental server: npm start Production build: npm run build

Keywords

HiGlass

FAQs

Package last updated on 16 Jun 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts