HeatmapList-class: Class for a list of heatmaps

Description Details Methods Author(s) Examples

Description

Class for a list of heatmaps

Details

A heatmap list is defined as a list of heatmaps and row annotations.

The components for the heamtap list are placed into a 7 x 7 layout:

1
2
3
4
5
6
7
8
9
         +------+(1)
         +------+(2)
         +------+(3)
   +-+-+-+------+-+-+-+
   |1|2|3| 4(4) |5|6|7|
   +-+-+-+------+-+-+-+
         +------+(5)
         +------+(6)
         +------+(7)  

From top to bottom in column 4, the regions are:

From left to right in row 4, the regions are:

For the list of heatmaps which are placed at (5, 5) in the layout, the heatmaps and row annotations are placed one after the other.

Methods

The HeatmapList-class provides following methods:

Author(s)

Zuguang Gu <z.gu@dkfz.de>

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
mat = matrix(rnorm(80, 2), 8, 10)
mat = rbind(mat, matrix(rnorm(40, -2), 4, 10))
rownames(mat) = letters[1:12]
colnames(mat) = letters[1:10]

ht = Heatmap(mat)
ht + ht
ht + ht + ht

ht_list = ht + ht
ht + ht_list

ha = HeatmapAnnotation(points = anno_points(1:12, which = "row"), 
    which = "row")
ht + ha
ht_list + ha

eilslabs/ComplexHeatmap documentation built on May 16, 2019, 1:21 a.m.