.gg_transform_logit | R Documentation |
Perform logit scaling with right axis formatting. To not be used directly but with ggplot (e.g. ggplot2::scale_y_continuous(trans = "logit")
.gg_transform_logit(n = 5, ...)
n |
number of breas |
... |
not used |
A scales object
try({
tibble::tibble(pvalue = c(0.001, 0.05, 0.1), fold_change = 1:3) %>%
ggplot2::ggplot(ggplot2::aes(fold_change , pvalue)) +
ggplot2::geom_point() +
ggplot2::scale_y_continuous(transform= .gg_transform_logit())
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.