drawTree {cytofast} | R Documentation

## Draw a dendogram with ggplot

### Description

Function to draw only a dendrogram with ggplot, the tree can be easily alligned to other graphs (e.g. heatmaps).

### Usage

    drawTree(hclust)

### Arguments

`hclust` | an object of class `hclust`.

### Value

None

### Examples

    hc <- hclust(dist(data.frame(x1 = rnorm(10), x2 = rnorm(10), x3 = rnorm(10))))
    drawTree(hc)

[Package cytofast version 1.2.0 Index]