eweitz / ideogram

Chromosome visualization for the web
https://eweitz.github.io/ideogram
Other
294 stars 71 forks source link

Question: Is it possible to load data locally into the Ideogram? #108

Closed mtwichan closed 6 years ago

mtwichan commented 6 years ago

I'm looking to load data locally into the Ideogram, for example if I wanted to load one of these files without using dataDir: https://github.com/eweitz/ideogram/tree/master/data/bands/ncbi

eweitz commented 6 years ago

Yes, you can load data locally by providing a relative URL to dataDir or annotationsPath.

The dataDir option handles band data. The annotationsPath option handles annotation data. You can also define annotation data at runtime using the annotations option. Examples are referenced in the linked documentation.