Add Annotations or Heatmaps as a Heatmap List

# S4 method for HeatmapAnnotation
add_heatmap(object, x, direction = c("horizontal", "vertical"))

Arguments

object

A HeatmapAnnotation-class object.

x

A Heatmap-class object, a HeatmapAnnotation-class object or a HeatmapList-class object.

direction

Whether it is horizontal list or a vertical list?

Details

Normally we directly use + for horizontal concatenation and %v% for vertical concatenation.

Value

A HeatmapList-class object.

Examples

# There is no example NULL
#> NULL