membership_heatmap-ConsensusPartition-method {cola} | R Documentation |
Heatmap of membership in each partition
## S4 method for signature 'ConsensusPartition' membership_heatmap(object, k, internal = FALSE, anno = get_anno(object), anno_col = get_anno_col(object), show_column_names = FALSE, ...)
object |
a |
k |
number of partitions. |
internal |
used internally. |
anno |
a data frame of annotations for the original matrix columns. By default it uses the annotations specified in |
anno_col |
a list of colors (color is defined as a named vector) for the annotations. If |
show_column_names |
whether show column names in the heatmap (which is the column name in the original matrix). |
... |
other arguments |
Each row in the heatmap is the membership in one single partition.
Heatmap is split on rows by top_n
.
No value is returned.
Zuguang Gu <z.gu@dkfz.de>
data(cola_rl) membership_heatmap(cola_rl["sd", "hclust"], k = 3)