logit_trans: logit scale

Description Usage Details Value Examples

Description

it perform logit scaling with right axis formatting. To not be used directly but with ggplot (e.g. scale_y_continuous(trans = "log10_reverse") )

Usage

1

Details

\lifecycle

maturing

Value

A scales object

Examples

1
2
3
4
5
6
7
library(ggplot2)
library(tibble)

tibble(pvalue = c(0.001, 0.05, 0.1), fold_change = 1:3) %>%
 ggplot(aes(fold_change , pvalue)) +
 geom_point() +
 scale_y_continuous(trans = "log10_reverse")

tidybulk documentation built on April 7, 2021, 6 p.m.