PPtree: Preprocessed Trees.

Description Usage Arguments Value Note Author(s) Examples

Description

Methods for objects of type "PPtree".

Usage

1
2
3
is.PPtree(x)
## S3 method for class 'PPtree'
plot(x, ...)

Arguments

x

An object to be tested or plotted

...

Additional arguments to be passed to the generic methods.

Value

An object of class PPtree is a list:

phyTree

A phylo tree

hTree

A hclust tree

Height

The height of the tree, that is to say the distance between root and leaves

Cuts

A vector. Cut times of the tree (the distance from nodes to leaves)

Intervals

A vector. The lengths of intervals between cuts

is.PPtree returns TRUE if the object is of class PPtree.

plot.PPtree plots it.

Note

Versions up to 1.3 contained a phylog tree, now deprecated in ade4. A phylo tree is now used.

See the dedicated vignette (vignette("Phylogenies", package="entropart")) for more details.

Author(s)

Eric Marcon <[email protected]>

Examples

1
2
3
4
5
6
7
data(Paracou618)
# Preprocess a phylog object
ppt <- Preprocess.Tree(EightSpTree)
# Is it a preprocessed tree?
is.PPtree(ppt)
# Plot it
plot(ppt, hang=-1)

entropart documentation built on Feb. 6, 2018, 1:04 a.m.