Skip to contents

Default theme for quad_layout()/ggheatmap() or stack_layout() object.

Usage

theme_ggalign(...)

Arguments

...

Arguments passed on to ggplot2::theme_classic

base_size

base font size, given in pts.

base_family

base font family

base_line_size

base size for line elements

base_rect_size

base size for rect elements

Value

A theme() object.

Details

You can change the default theme using the option "ggalign.default_theme". This option should be set to a function that returns a theme() object.

Examples

# Setting a new default theme
old <- options(ggalign.default_theme = function() theme_bw())

# Creating a heatmap with the new theme
ggheatmap(matrix(rnorm(81), nrow = 9)) +
    anno_top() +
    align_dendro(k = 3L)
#> → heatmap built with `geom_tile()`


# Restoring the old default theme
options(old)