Skip to contents

Themes and Colors

theme_lab()
Lab standard ggplot theme
available_lab_palettes()
List available discrete palettes
lab_palette()
Return a lab discrete palette
lab_gradient_palette()
Return a lab gradient palette
available_group_dictionaries()
List available semantic color dictionaries
group_colors()
Return semantic group color mappings
scale_color_lab()
Discrete lab color scale
scale_fill_lab()
Discrete lab fill scale
scale_color_groupmap()
Semantic color scale for group names
scale_fill_groupmap()
Semantic fill scale for group names

Figure Sizing and Export

fig_specs
Canonical PaperPlotR figure specifications
available_fig_specs()
List available figure specifications
register_fig_spec()
Register a custom figure specification
panel_size()
Get a named panel size preset
get_fig_size_cm()
Compute figure width and height from a panel specification
recommend_panel_spec()
Recommend a PaperPlotR panel spec and layout
available_journal_presets()
List available journal presets
journal_preset()
Get a named journal preset
register_journal_preset()
Register a custom journal preset
available_output_presets()
List available output presets
register_output_preset()
Register a custom output preset
save_lab()
Save a plot using canonical lab figure specifications
save_lab_plot()
Save a plot with lab figure presets

Extensibility

register_palette()
Register a custom palette
register_group_dictionary()
Register a custom semantic color dictionary

Layout and Comparison Plots

layout_lab()
Compose multiple plots with a lab-standard patchwork layout
position_paper_jitter()
Standard jitter position for PaperPlotR point layers
layer_points_paper()
Standard raw-point layer for PaperPlotR comparison plots
layer_summary_paper()
Standard summary layers for PaperPlotR comparison plots
layer_signif_paper()
Standard significance annotation layer for PaperPlotR comparison plots
plot_box_paper()
PaperPlotR box plot with raw points and optional significance
plot_violin_paper()
PaperPlotR violin plot with box overlay and optional significance
plot_dot_paper()
PaperPlotR dot plot with summary overlay and optional significance

Examples

render_paperplotr_examples()
Render a gallery of paper-style example figures