phylo4d-display {phylobase} | R Documentation |
Methods used to display information about the data and the tree for phylo4d objects.
## S4 method for signature 'phylo4d': print(x, edgeOrder = c("pretty", "real"), printall=TRUE) ## S4 method for signature 'phylo4d': summary(object, quiet=FALSE) ## S4 method for signature 'phylo4d': names(x)
x |
a phylo4d object |
object |
a phylo4d object |
edgeOrder |
Character string indicating whether the edges should be printed as ordered in the tree "real" (e.g. preorder or postorder), or "pretty" printed with tips collated together |
quiet |
Should the summary be displayed on screen? |
printall |
If TRUE all tip labels are printed |
The summary
method invisibly returns a list with the
following components:
|
the name of the object |
|
the number of tips |
|
the number of nodes |
|
mean of edge lengths |
|
variance of edge lengths (estimate for population) |
|
summary (i.e. range and quartiles) of the edge lengths |
|
(optional) type of polytomy for each node: ‘node’, ‘terminal’ (all descendants are tips) or ‘internal’ (at least one descendant is an internal node); displayed only when there are polytomies |
|
(optional) summary for the data associated with the tips |
|
(optional) summary for the data associated with the internal nodes |
The names
method returns a vector of characters corresponding
to the names of the slots.
signature(x = "phylo4d")
: print methodsignature(object = "phylo4d")
: show method signature(object = "phylo4d")
: summary methodsignature(x = "phylo4d")
: gives the slots namessignature(object = "phylo4d")
: show first few
nodessignature(object = "phylo4d")
: show last few
nodesBen Bolker, Thibaut Jombart
phylo4d
constructor and phylo4d
class.