Skip to contents

This function creates a theme specifically for coverage/signal tracks. It removes the y-axis text and title, and makes the plot more compact.

Usage

ez_coverage_theme(y_axis_style = c("none", "simple", "minmax", "full"), ...)

Arguments

y_axis_style

Style of the y-axis. Options are:

  • "none": No y-axis displayed

  • "simple": Shows y-range as [min - max] label at top-left (handled in ez_coverage)

  • "minmax": Shows only min and max values on y-axis with ticks

  • "full": Full y-axis with all ticks and labels

...

Additional arguments passed to ez_theme

Value

A ggplot2 theme object

Examples

if (FALSE) { # \dontrun{
library(ggplot2)
p <- ggplot(data, aes(x = start, y = score)) +
  geom_line() +
  ez_coverage_theme()
} # }