R/zz-api-ggplot-utils.R
scale_y_logit.Rd
A logit y scale
scale_y_logit(..., n = 5, sf = 2)
Other arguments passed on to scale_(x|y)_continuous()
scale_(x|y)_continuous()
the number of major breaks
significant figures
a ggplot scale
tibble::tibble(pvalue = c(0.001, 0.05, 0.1), fold_change = 1:3) %>% ggplot2::ggplot(ggplot2::aes(fold_change , pvalue)) + ggplot2::geom_point() + scale_y_logit(n=8)