Learn R Programming

ggalign (version 0.0.4)

theme_ggalign: Complete theme for layout plots

Description

Default theme for heatmap_layout() or stack_layout() object.

Usage

theme_ggalign(...)

Value

A theme object.

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

Details

You can use the option "ggalign.default_theme" to change the default theme.

Examples

Run this code
old <- options(ggalign.default_theme = theme_bw())
ggheatmap(matrix(rnorm(81), nrow = 9)) +
    hmanno("top") +
    align_dendro(k = 3L)
options(ggalign.default_theme = old)

Run the code above in your browser using DataLab