eweitz / ideogram

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

Is there a limit to the number of keys in the legend? #306

Open a-thind opened 2 years ago

a-thind commented 2 years ago

I am trying to create an overlaid ideogram like this example (https://eweitz.github.io/ideogram/annotations-overlaid) but with a legend indicating the type of overlays, however when I create a legend with more than 7 keys, only 7 keys have coloured rectangles. image Is there a way to display rectangles for more than 7 keys?

eweitz commented 2 years ago

Hello! I'm unaware of any code limiting the number of colored keys in the legend.

Can you post a minimal reproducible example? Whether as code in a comment here, or a minimal repo, that would help investigate the issue.

a-thind commented 2 years ago

Hi! Thanks for your reply. I have created a basic htmlwidget in R (IdeogramJS wrapper) for visualising chromosomal segments. Here is a simulated test dataset file: test.txt to run with the htmlwidget. .