plot_checkerboard_score_by_dose: Plot dose-response checkerboard

View source: R/plot_checkerboard_score_by_dose.R

plot_checkerboard_score_by_doseR Documentation

Plot dose-response checkerboard

Description

Plot dose-response checkerboard

Usage

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"
)

Arguments

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'

Value

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()


momeara/MPStats documentation built on July 19, 2022, 3:34 p.m.