Skip to contents

Shared ggplot2 theme used across every plot returned by the package. Provides a consistent typography, white background, bottom legend, and tight title spacing. Network plots pass network = TRUE to drop axes, ticks, and grid lines while keeping the rest of the look-and-feel.

Usage

theme_ramen(baseSize = 11, baseFamily = "", network = FALSE)

Arguments

baseSize

Numeric. Base font size in points. Defaults to 11.

baseFamily

Character. Base font family. Defaults to "" (device default).

network

Logical. If TRUE, build on top of theme_void() instead of theme_minimal(); used by plotDirectedFlow and plot methods that render networks.

Value

A ggplot2 theme object.

Examples

library(ggplot2)
ggplot(mtcars, aes(mpg, hp)) +
    geom_point() +
    theme_ramen()