eweitz / ideogram

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

Refine layering and outlines for related annotations #256

Closed eweitz closed 3 years ago

eweitz commented 3 years ago

This refines z-index layering and stroke outlines for annotations in the "Related genes" kit, among other polish. It also improves UX in the corresponding example.

These enhancements help emphasize the most important genes, and distinguish between tightly-clustered genes.

Before

From #252:

refined_annotation_labels_ideogram_2020-10-28

After

Compare closely, and you'll notice several minor refinements, like: the labeled RAD52 atop an unlabeled annotation, subtle lines marking close-but-separate pink annotations on chromosome 1, outline around the ATM triangle matching its label, and more text context -- "with ABL1" -- in the tooltip. (The different paralogs are due to randomness in Ensembl, and may be refined later to return a deterministic set.)

polished_related_annotations_ideogram_2020-11-11
coveralls commented 3 years ago

Coverage Status

Coverage decreased (-0.2%) to 89.516% when pulling be30d78d437d315d84f32075e84406f3aa3d5e39 on robust-annotation-labels into 056b4f2500c51292a23934b77caf3810a5b2da62 on master.