A minimalist ggplot2 theme that removes all panel elements and optionally
adds coordinate arrows in the bottom-left corner. Ideal for UMAP / t-SNE
embedding plots. Ported from thisplot::theme_blank.
Usage
theme_blank(
add_coord = TRUE,
xlen_npc = 0.15,
ylen_npc = 0.15,
xlab = "",
ylab = "",
lab_size = 12,
...
)Arguments
- add_coord
Logical. Whether to add coordinate arrows. Default is
TRUE.- xlen_npc
Numeric. Length of the x-axis arrow in "npc" units.
- ylen_npc
Numeric. Length of the y-axis arrow in "npc" units.
- xlab
Character. Label for the x-axis arrow.
- ylab
Character. Label for the y-axis arrow.
- lab_size
Numeric. Font size of the axis labels.
- ...
Arguments passed to
theme.
See also
Other ggplot2 themes:
theme_km,
theme_legend1(),
theme_my(),
theme_rcs,
theme_sc()


