eweitz / ideogram

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

Annoatation with multiple tracks #341

Open cloudyaaron opened 1 year ago

cloudyaaron commented 1 year ago

Hello, I am try to feed the follow code to the config.annotations in the ideogram

  var annots = [
    {
        "name": "TP53",
        "chr": "17",
        "start": 7687489,
        "stop": 7668420,
        "weight": 1000000,
        "shape": "circle",
        "color": "#825",
        "track_index": 1
    },
    .
    .
    .
other gene at different track
]

But nothing appeared, Did I miss anything? P.S. Thanks heaps for this amazing library

JMencius commented 3 months ago

Hi, did you figure out why? I encounter the same problem.