Learn R Programming

ggalign (version 0.0.4)

layout-add: Add components to Layout

Description

Add components to Layout

Usage

# S4 method for Layout,ANY
+(e1, e2)

Value

A modified Layout object.

Arguments

e1

A heatmap_layout() or stack_layout() object.

e2

An object to be added to the plot, including gg elements or align object.

Examples

Run this code
ggheatmap(matrix(rnorm(81), nrow = 9)) +
    hmanno("t") +
    ggalign() +
    geom_point(aes(y = value))

Run the code above in your browser using DataLab