treeAndLeaf: Layout a TreeAndLeaf diagram.

Description Usage Arguments Value See Also Examples

View source: R/treeAndLeaf.R

Description

This function tranforms hclust and phylo objects into tree-and-leaf igraph objects.

Usage

1

Arguments

obj

An object of class 'hclust' or 'phylo'.

Value

A tree-and-leaf igraph object.

See Also

formatTree

hclust

as.phylo

addGraph

relax

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
library(RedeR)
rdp <- RedPort()
hc <- hclust(dist(USArrests), "ave")
tal <- treeAndLeaf(hc)

## Not run: 
calld(rdp)
addGraph(obj=rdp, tal)

## End(Not run)

sysbiolab/TreeAndLeaf documentation built on Oct. 23, 2021, 12:12 a.m.