membership_heatmap-ConsensusPartition-method {cola} | R Documentation

## Heatmap of membership in each partition

### Description

Heatmap of membership in each partition

### Usage

    ## 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, ...)

### Arguments

`object` | A `ConsensusPartition-class` object.
`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 `consensus_partition` or `run_all_consensus_partition_methods`.
`anno_col` | A list of colors (color is defined as a named vector) for the annotations. If `anno` is a data frame, `anno_col` should be a named list where names correspond to the column names in `anno`.
`show_column_names` | Whether show column names in the heatmap (which is the column name in the original matrix).
`...` | Other arguments

### Details

Each row in the heatmap is the membership in one single partition.

Heatmap is split on rows by `top_n`.

### Value

No value is returned.

### Author(s)

Zuguang Gu <z.gu@dkfz.de>

### Examples

    data(cola_rl)
    membership_heatmap(cola_rl["SD", "hclust"], k = 3)

[Package cola version 1.4.1 Index]