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

colour of scale_alpha_continuous #592

Open
MjelleLab opened this issue Sep 25, 2023 · 0 comments
Open

colour of scale_alpha_continuous #592

MjelleLab opened this issue Sep 25, 2023 · 0 comments

Comments

@MjelleLab
Copy link

Is it possible to add a colour to scale_alpha_continuous so that it is the same as the colour of my fills. I have two rings in the tree with colour c("#081d58", "#67000d") and would like to add two scale_alpha_continuous for each of the fills in the two rings.


scale_fill_manual(
    values=c("#081d58", "#67000d"),
    guide=guide_legend(keywidth=0.5, keyheight=0.1, order=4,title = "Sample type")
  ) +
  scale_alpha_continuous(
    range=c(0, 1), 
    guide=guide_legend(keywidth=0.5, keyheight=0.3, order=5,title = "Abundance")
  ) 
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

1 participant