This is a test version of Biostars. For the public version, visit https://www.biostars.org.
How to add a legend to the heatmap?

Hi, First of all, thank you for CNVkit. It is really professionally designed from a software engineering perspective, and you don't get that a lot in bioinformatics.

I want to add a legend to the CNVkit heatmap. How can I do that?

Thank you,

Gil Hornung

cnvkit

I saw you added the legend in the current version. Thanks!

Please use ADD COMMENT or ADD REPLY to answer to previous reactions, as such this thread remains logically structured and easy to follow. I have now moved your post but as you can see it's not optimal. Adding an answer should only be used for providing a solution to the question asked.

2 answers

This is an open issue: https://github.com/etal/cnvkit/issues/36

For Figure 5 in this paper, the author manually added the legend to the PDF plot using Inkscape or Adobe Illustrator -- you can use this example as a guideline if you decide to do the same.

edit: not applicable

Log in to answer this question.