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 = object@anno, anno_col = get_anno_col(object), show_column_names = FALSE, column_names_gp = gpar(fontsize = 8), ...)
object |
A |
k |
Number of subgroups. |
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). |
column_names_gp |
Graphics parameters for column names. |
... |
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(golub_cola) membership_heatmap(golub_cola["ATC", "skmeans"], k = 3)