ArchR-compatible ggplot2 theme
theme_archr.RdReproduces ArchR's theme_ArchR() for consistent plot aesthetics.
Usage
theme_archr(
base_size = 14,
base_line_size = 0.5,
base_rect_size = 0.5,
plot_margin_cm = 1,
legend_position = "bottom",
legend_text_size = 8,
axis_tick_cm = 0.1,
aspect_ratio = NULL,
color = "black",
text_family = "sans"
)Arguments
- base_size
(numeric) Base font size. Default 14.
- base_line_size
(numeric) Base line width. Default 0.5.
- base_rect_size
(numeric) Base rect border width. Default 0.5.
- plot_margin_cm
(numeric) Plot margin in cm. Default 1.
- legend_position
(character) Legend position. Default
"bottom".- legend_text_size
(numeric) Legend text size. Default 8.
- axis_tick_cm
(numeric) Axis tick length in cm. Default 0.1.
- aspect_ratio
(numeric) Aspect ratio. Default NULL (unconstrained).
- color
(character) Text and border color. Default
"black".- text_family
(character) Font family. Default
"sans".