Learn R Programming

ape (version 2.1-1)

print.phylo: Compact Display of a Phylogeny

Description

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

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)

Arguments

x
an object of class "phylo" or "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 trees to select from a list; this may be a vector of integers, logicals, or names.
...
further arguments passed to or from other methods.

Value

  • An object of class "multiPhylo" or NULL.

See Also

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