collect_classes-HierarchicalPartition-method.RdCollect classes from HierarchicalPartition object
# S4 method for HierarchicalPartition
collect_classes(object, merge_node = merge_node_param(),
show_row_names = FALSE, row_names_gp = gpar(fontsize = 8),
anno = get_anno(object[1]), anno_col = get_anno_col(object[1]), ...)A HierarchicalPartition-class object.
Parameters to merge sub-dendrograms, see merge_node_param.
Whether to show the row names.
Graphic parameters for row names.
A data frame of annotations for the original matrix columns. By default it uses the annotations specified in hierarchical_partition.
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.
Other arguments.
The function plots the hierarchy of the classes.
No value is returned.
data(golub_cola_rh)
collect_classes(golub_cola_rh)
collect_classes(golub_cola_rh, merge_node = merge_node_param(depth = 2))