Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add extra legend capabilities #17

Open
rlbarter opened this issue Apr 3, 2017 · 2 comments
Open

Add extra legend capabilities #17

rlbarter opened this issue Apr 3, 2017 · 2 comments

Comments

@rlbarter
Copy link
Owner

rlbarter commented Apr 3, 2017

A commonly requested feature is to have legends for the labels and adjacent plots.

@voxnonecho
Copy link

Legends for adjacent plots would be great indeed ! Maybe also being able to add a specific legend entry for heat.na.col as well ?

@bblodfon
Copy link

Hi, does the above feature request cover the following case scenario?

Input is a matrix which has 1's and 0's. I want to annotate somewhere outside the heatmap area that 0 is/means label1 and 1 is/means label2. I tried to setting legend.breaks=c("label1", "label2") but it does not accept characters there and when I tried adding an extra legend like: legend("topright", legend = c(0, 1), ...) after the superheat(..) command, I got the plot.new has not been called yet error (which tells me that I cannot do that).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants