collect_plots-HierarchicalPartition-method {cola}R Documentation

Collect plots from HierarchicalPartition object

Description

Collect plots from HierarchicalPartition object

Usage

## S4 method for signature 'HierarchicalPartition'
collect_plots(object, depth = max_depth(object),
    fun = consensus_heatmap, verbose = TRUE, mc.cores = 1, heatmap_size = "2cm",
    add_labels = TRUE, ...)

Arguments

object

A HierarchicalPartition-class object.

depth

Depth in the hierarchy.

fun

Function used to generate plots. Valid functions are consensus_heatmap, plot_ecdf, membership_heatmap, get_signatures and dimension_reduction.

verbose

Whether to print message.

mc.cores

Number of cores. On OSX it is enforced to be 1.

heatmap_size

Size of the heatmaps on the plot. The value should be in e.g. "2cm", "10mm" or "0.5inche".

add_labels

Whether add node IDs.

...

other Arguments passed to corresponding fun.

Details

The hierarchy represents as a circular dendrogram where plots are on the nodes.

Value

No value is returned.

Author(s)

Zuguang Gu <z.gu@dkfz.de>

Examples

data(cola_rh)
collect_plots(cola_rh)
## Not run: 
collect_plots(cola_rh, fun = membership_heatmap)
collect_plots(cola_rh, fun = get_signatures)

## End(Not run)

[Package cola version 1.0.1 Index]