collect_classes-HierarchicalPartition-method: Collect classes from HierarchicalPartition object

Description Usage Arguments Details Value Author(s) Examples

Description

Collect classes from HierarchicalPartition object

Usage

1
2
3
## S4 method for signature 'HierarchicalPartition'
collect_classes(object, depth = max_depth(object),
    anno = get_anno(object[1]), anno_col = get_anno_col(object[1]))

Arguments

object

A HierarchicalPartition-class object.

depth

Depth of the hierarchy.

anno

A data frame of annotations for the original matrix columns. By default it uses the annotations specified in hierarchical_partition.

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.

Details

The function plots the hierarchy of the classes.

Value

No value is returned.

Author(s)

Zuguang Gu <z.gu@dkfz.de>

Examples

1
2
3

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