All Questions
Tagged with scale-color-manual shiny
3
questions
1
vote
1
answer
36
views
Shiny in R: apply self-defined function in scale_color_manual() to change the colour of plots based on user-selected variable
I used Shiny application to create scatter plots or box plots based on their selection of variables. I got an error with the usage of ggplot2::scale_color_manual() within the renderPlot() function and ...
0
votes
1
answer
124
views
How do I combine scale elements by discrete color on ggplot heatmap?
output$fairness_heatmap <- renderPlot({
# Check the user's selection
heatmap_data <- NULL
groups <- NULL
values <- NULL
color <- NULL
if (input$fairness_metric =...
1
vote
1
answer
2k
views
scale_color_manual not working for assigning custermized color [duplicate]
I am working on assigning the same action code with a specific color but the scale_color_manual does not works for me. The color picked up is still by default. Any suggestions? That will be really ...