gamcil / clinker

Gene cluster comparison figure generator
MIT License
507 stars 66 forks source link

Changing color of a gene to a specific desired color #46

Closed Cereben closed 3 years ago

Cereben commented 3 years ago

Really enjoying the clinker tool, but was wondering if there was a way to manually change the color of a particular gene in the cluster to a color of my choosing. For instance, if I have a cluster with 5 p450s, it often colors some in one color and others in another color, but it doesn't seem that I can manually change them to display as the same color. Is there a feature for this in the current version of clinker?

gamcil commented 3 years ago

At the moment no, you'd have to do this after saving the SVG in e.g. Inkscape. But I'll add this feature for the next release when I get some time.

Cereben commented 3 years ago

Ok. Thanks!

rob2go commented 3 years ago

Also should be nice to have an option to take out the outline of the arrows, keeping only the filling color.

gamcil commented 3 years ago

As of clinker v0.0.17 (just released), you can now change individual gene colours through the tooltip, as well as change gene arrow stroke colour/width (set width=0 to hide completely).