Usage
treePlot(phy, type = c("phylogram", "cladogram", "fan"), show.tip.label = TRUE, show.node.label = FALSE, tip.order = NULL, plot.data = is(phy, "phylo4d"), rot = 0, tip.plot.fun = "bubbles", plot.at.tip = TRUE, edge.color = "black", node.color = "black", tip.color = "black", edge.width = 1, newpage = TRUE, margins = c(1.1, 1.1, 1.1, 1.1), ...)
plot(x, y, ...)
"plot"(x, y, ...)
Arguments
phy
A phylo4
or phylo4d
object
type
A character string indicating the shape of plotted tree
show.tip.label
Logical, indicating whether tip labels should be shown
show.node.label
Logical, indicating whether node labels should be
shown
tip.order
If NULL the tree is plotted with tips in preorder, if "rev"
this is reversed. Otherwise, it is a character vector of tip labels,
indicating their order along the y axis (from top to bottom). Or, a numeric
vector of tip node IDs indicating the order.
plot.data
Logical indicating whether phylo4d
data should be
plotted
rot
Numeric indicating the rotation of the plot in degrees
tip.plot.fun
A function used to generate plot at the each tip of the
phylogenetic trees
plot.at.tip
should the data plots be at the tip? (logical)
edge.color
A vector of colors in the order of edges(phy)
node.color
A vector of colors indicating the colors of the node
labels
tip.color
A vector of colors indicating the colors of the tip labels
edge.width
A vector in the order of edges(phy)
indicating the
widths of edge lines
newpage
Logical indicating whether the page should be cleared before
plotting
margins
number of lines around the plot (similar to par(mar)
).
x
A phylo4
or phylo4d
object
y
(only here for compatibility)