print.phylo {ape} | R Documentation |
These functions prints a compact summary of a phylogeny, or a list of, on the console.
The operators [
, [[
, and $
propagate the class
correctly.
## 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, ...)
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. |
An object of class "phylo"
([[
, $
) or of class
"multiPhylo"
([[
), or NULL.
Ben Bolker bolker@zoo.ufl.edu and Emmanuel Paradis Emmanuel.Paradis@mpl.ird.fr
read.tree
, summary.phylo
,
print
for the generic R function