collect_classes-ConsensusPartitionList-method: Collect classes from ConsensusPartitionList object

Description Usage Arguments Details Value Author(s) Examples

Description

Collect classes from ConsensusPartitionList object

Usage

1
2
3
4
## S4 method for signature 'ConsensusPartitionList'
collect_classes(object, k, show_column_names = FALSE,
    anno = get_anno(object), anno_col = get_anno_col(object),
    simplify = FALSE, ...)

Arguments

object

A ConsensusPartitionList-class object returned by run_all_consensus_partition_methods.

k

Number of subgroups.

show_column_names

Whether to show column names in the heatmap (which is the column name in the original matrix).

anno

A data frame of annotations for the original matrix columns. By default it uses the annotations specified in 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.

simplify

Internally used.

...

Pass to draw,HeatmapList-method.

Details

There are following panels in the plot:

The row clustering is applied on the dissimilarity matrix calculated by cl_dissimilarity with the comembership method.

The brightness of the color corresponds to the silhouette scores for the consensus partition in each method.

Value

No value is returned.

Author(s)

Zuguang Gu <z.gu@dkfz.de>

Examples

1
2

cola documentation built on Nov. 8, 2020, 8:12 p.m.