ape (version 1.8-5)

summary.phylo: Print Summary of a Phylogeny

Description

This function prints a compact summary of a phylogenetic tree (an object of class "phylo").

Usage

## S3 method for class 'phylo':
summary(object, \dots)

Arguments

object
an object of class "phylo".
...
further arguments passed to or from other methods.

Value

  • A NULL value is returned, the results are simply printed.

Details

The summary includes the numbers of tips and of nodes, summary statistics of the branch lengths (if they are available) with mean, variance, minimum, first quartile, median, third quartile, and maximum, listing of the first ten tip labels, and (if available) of the first ten node labels. It is also printed whether some of these optional elements (branch lengths, node labels, and root edge) are not found in the tree.

If the tree was estimated by maximum likelihood with mlphylo, a summary of the model fit and the parameter estimated is printed.

This function simply prints its results on the standard output and is not meant for programming.

See Also

read.tree, summary for the generic R function

Examples

Run this code
data(bird.families)
summary(bird.families)

Run the code above in your browser using DataCamp Workspace