View source: R/plot_checkerboard_score_by_dose.R
plot_checkerboard_score_by_dose | R Documentation |
Plot dose-response checkerboard
plot_checkerboard_score_by_dose( treatment_scores, treatment_1_label, treatment_2_label, treatment_1_units, treatment_2_units, plot_zero_dose = TRUE, contour_color = "gold" )
treatment_scores |
data.frame with columns [dose1, dose2, score] |
treatment_1_label |
used to make default title and axis labels |
treatment_2_label |
used to make default title and axis labels |
treatment_1_units |
used to make default axis labels |
treatment_2_units |
used to make default axis labels |
plot_zero_dose |
plotted on the log scale, zero doses would be at -Inf, so to show them on the plot, add them as with a slight separation on the axis. |
contour_color |
default 'gold' |
ggplot2 plot with ligt-blue to dark-blue tiles the dose response. Individual plot elemenecs can be over-written and the plot can be saved with ggplot2::ggsave()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.