Horizontally Add Heatmaps or Annotations to a Heatmap List

# S3 method for AdditiveUnit
+(x, y)

Arguments

x

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

y

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

Details

It is only a helper function. It actually calls add_heatmap,Heatmap-method, add_heatmap,HeatmapList-method or add_heatmap,HeatmapAnnotation-method depending on the class of the input objects.

The HeatmapAnnotation-class object to be added should only be row annotations. Column annotations should be added to the heatmap list by %v%.

x and y can also be NULL.

Value

A HeatmapList-class object.

See also

%v% operator is used for vertical heatmap list.

Examples

# There is no example NULL
#> NULL