xgx_theme_set: Sets the standard theme for xGx graphics

View source: R/xgx_theme_set.R

xgx_theme_setR Documentation

Sets the standard theme for xGx graphics

Description

xgx_theme_set

Usage

xgx_theme_set()

Value

xgx ggplot2 compatible theme

Examples

conc <- 10^(seq(-3, 3, by = 0.1))
ec50 <- 1
data <- data.frame(concentration = conc, 
                   bound_receptor = 1 * conc / (conc + ec50))
xgx_theme_set()
ggplot2::ggplot(data, ggplot2::aes(y = concentration, x = bound_receptor)) +
  ggplot2::geom_point() +
  ggplot2::geom_line() +
  xgx_scale_y_log10() +
  xgx_scale_x_reverselog10()
  

xgxr documentation built on March 31, 2023, 11:46 p.m.