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

setting scale causes error #2

Closed
stanstrup opened this issue May 25, 2016 · 2 comments
Closed

setting scale causes error #2

stanstrup opened this issue May 25, 2016 · 2 comments

Comments

@stanstrup
Copy link

stanstrup commented May 25, 2016

This package is very useful. Thanks!

I found a small problem though:

heatmaply(iris[,-5],scale="none")
Error: Don't know how to add scale_fill_gradient_fun to a plot
@talgalili
Copy link
Owner

Thanks @stanstrup

This is because there is another parameter called scale_fill_gradient_fun which thinks you are trying to place something in it. Here is a way to go around it:

heatmaply(heatmapr(iris[,-5],scale="col"))

I'll think of a smarter way to avoid this collision, and will revisit this issue.

Best,
Tal

@stanstrup
Copy link
Author

IC. Thanks. The workaround works.

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

No branches or pull requests

2 participants