plot.equivalent_shifts
plots a representation of all the equivalent
shifts allocations, with a representation of the shifts and their values,
and a coloration of the branches in term of regimes.
# S3 method for equivalent_shifts
plot(
x,
trait = 1,
show_shifts_values = TRUE,
numbering = FALSE,
colors_tips = NULL,
nbr_col = 3,
gray_scale = FALSE,
edge.width = 2,
shifts_cex = 1.2,
...
)
an object of class equivalent_shifts
, result of
function equivalent_shifts
(integer) the trait to be plotted, if multivariate. Default to 1.
whether to show the equivalent shifts values or not. Default to FALSE.
whether to number the solutions. Default to FALSE.
user-provided colors for the tips of the tree. A vector vector with as many colors as there are tips. Will be automatically computed if not provided.
the number of columns on which to display the plot. Default to 3.
if TRUE, the colors are replaced by a gray scale. Default to FALSE.
width of the edge. Default to 1.
if value_in_box=TRUE
, the size of the text in the boxes.
Default to 0.8.
further arguments to be passed to plot.phylo
.
A plot of the equivalent shifts allocations.
This function uses function plot.phylo
for the actual
plotting of the trees.