Skip to contents

A ggplot theme with a larger base font, italicized legend titles, and (by default) stripped axes / panel chrome — the right default for a force-directed network layout. Drop on top of any plot.netify() output.

Usage

theme_publication_netify(base_size = 12, for_network = TRUE)

Arguments

base_size

Base font size, passed to theme_minimal(). Default 12.

for_network

Logical. When TRUE (default) removes axis text / titles / ticks / panel border, which is the right behavior for a force-directed network layout. Set FALSE if you want to keep axes on (e.g. for a heatmap or actor-stat plot).

Value

A ggplot2 theme object.

Author

Cassy Dorff, Shahryar Minhas