-
Notifications
You must be signed in to change notification settings - Fork 73
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
Set alpha values from dataframe #174
Comments
Hi NathanGuy14
This is not currently implemented, but it could probably be added.
Could you help illustrate what would be the use case for this?
(alpha is usually for overlayed elements, and in this case if you want to
just change the color pallette you could do that directly)
|
Sure!
What I'd like to do is set certain cells of my heatmap to be more
transparent if the uncertainty in the measurement is higher. So I'd have
one data frame of measurements and another data frame of variances or
standard deviations, and set my alpha values based on the variances.
This is mentioned here for ggplot.
https://ggplot2.tidyverse.org/reference/scale_alpha.html
Thanks for considering this!
Nathanguy14
…On Sat, Apr 21, 2018, 1:26 AM Tal Galili ***@***.***> wrote:
Hi NathanGuy14
This is not currently implemented, but it could probably be added.
Could you help illustrate what would be the use case for this?
(alpha is usually for overlayed elements, and in this case if you want to
just change the color pallette you could do that directly)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#174 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AKCJMIMxrERbGjb1cvc8GLvFfnF5rhn7ks5tqsMRgaJpZM4TeQCn>
.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In ggplot2, the alpha values of each cell in a heatmap can be set individually, using the aes() function. Can the same be done in heatmaply?
The text was updated successfully, but these errors were encountered: