Learn R Programming

rwty (version 1.0.3)

treespace: MDS scaling of treespace for a single tree list.

Description

This function constructs a distance matrix from a list of trees and uses multi-dimensional scaling to collapse it to a two- dimensional tree space for plotting.

Usage

treespace(chains, n.points = 100, burnin = 0, fill.color = NA)

Value

Returns a list containing the points and a plot.

Arguments

chains

A list of 1 or more rwty.chain objects.

n.points

The minimum number of points you want in your plot.

burnin

The number of trees to eliminate as burnin. Default is zero.

fill.color

The name of the column from the log table that that you would like to use to colour the points in the plot.

Examples

Run this code
if (FALSE) {
data(fungus)
treespace(fungus, n.points=50, burnin=20, fill.color="LnL")
}

Run the code above in your browser using DataLab