collect_classes-HierarchicalPartition-method {cola} | R Documentation |
Collect classes from HierarchicalPartition object
## S4 method for signature 'HierarchicalPartition' collect_classes(object, depth = max_depth(object), anno = get_anno(object[1]), anno_col = get_anno_col(object[1]))
object |
A |
depth |
Depth of the hierarchy. |
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 |
The function plots the hierarchy of the classes.
No value is returned.
Zuguang Gu <z.gu@dkfz.de>
data(cola_rh) collect_classes(cola_rh) collect_classes(cola_rh, depth = 2)