ape (version 2.2-4)

print.phylo: Compact Display of a Phylogeny

Description

These functions prints a compact summary of a phylogeny, or a list of, on the console.

The operators [, [[, and $ propagate the class correctly.

Usage

## S3 method for class 'phylo':
print(x, printlen = 6 ,...)
## S3 method for class 'multiPhylo':
print(x, details = FALSE ,...)
## S3 method for class 'multiPhylo':
[(x, i)
## S3 method for class 'multiPhylo':
[[(x, i)
## S3 method for class 'multiPhylo':
$(x, name)
## S3 method for class 'multiPhylo':
str(object, ...)

Arguments

x
an object of class "phylo" or "multiPhylo".
object
an object of class "multiPhylo".
printlen
the number of labels to print (6 by default).
details
a logical indicating whether to print information on all trees.
i
indices of the tree(s) to select from a list; this may be a vector of integers, logicals, or names.
name
a character string specifying the tree to be extracted.
...
further arguments passed to or from other methods.

Value

  • An object of class "phylo" ([[, $) or of class "multiPhylo" ([[), or NULL.

See Also

read.tree, summary.phylo, print for the generic R function