xgxr (version 1.0.2)

xgx_theme: Calls the standard theme for xGx graphics

Description

Calls the standard theme for xGx graphics

Usage

xgx_theme()

Arguments

Value

xgx ggplot2 compatible theme

Examples

Run this code
# NOT RUN {
conc <- 10^(seq(-3, 3, by = 0.1))
ec50 <- 1
data <- data.frame(concentration = conc, 
                   bound_receptor = 1 * conc / (conc + ec50))
ggplot2::ggplot(data, ggplot2::aes(y = concentration, x = bound_receptor)) +
  ggplot2::geom_point() +
  ggplot2::geom_line() +
  xgx_scale_y_log10() +
  xgx_scale_x_reverselog10() +
  xgx_theme()
  
# }

Run the code above in your browser using DataCamp Workspace