Draws a tree, highlighting the members of a specified quartet in colour.
Arguments
- tree
A tree of class
phylo, or a list of such trees. The first member oftreewill be considered the "reference" tree.- quartet
A vector of four integers, corresponding to numbered leaves on the tree; or a character vector specifying the labels of four leaves.
- overwritePar
Logical specifying whether to use existing
mfrowandmarparameters frompar()(FALSE), or to plot trees side-by-side in a new graphical device (TRUE).- caption
Logical specifying whether to annotate each plot to specify whether the quartet selected is in the same or a different state to the reference tree.
- ...
Additional parameters to send to
plot().
Value
PlotQuartet() returns invisible(), having plotted a tree in
which the first two members of quartet are highlighted in orange, and the
second two highlighted in blue.
