For the following questions you work with the built-in dataset Puromycin
. It contains reaction velocity of an enzymatic reaction at different concentrations, and for two different states (treated and untreated):
conc rate state
1 0.02 76 treated
2 0.02 47 treated
3 0.06 97 treated
4 0.06 107 treated
5 0.11 123 treated
6 0.11 139 treated
7 0.22 159 treated
8 0.22 152 treated
9 0.56 191 treated
10 0.56 201 treated
Question: Change the color scale so you have red and green for the two states instead of the (ggplot2) defaults. Call this new plot object p8
.
Note: Because Dodona can check ggplot2 graphics directly, we do not need the ggplotify package and you can immediately start typing your graphical command(s).