scale_y_percent: A percentage y scale

scale_y_percentR Documentation

A percentage y scale

Description

A percentage y scale

Usage

scale_y_percent(..., sf = 2)

Arguments

...

Other arguments passed on to ⁠scale_(x|y)_continuous()⁠

sf

significant figures

Value

a ggplot scale

Examples


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_percent()

terminological/ggrrr documentation built on June 15, 2024, 6:35 a.m.