Plot Phylogenetics tree
align_phylo(
phylo,
...,
mapping = aes(),
split = FALSE,
ladderize = NULL,
type = "rectangle",
center = FALSE,
tree_type = NULL,
root = NULL,
active = NULL,
size = NULL,
no_axes = deprecated()
)
A phylo
object.
<dyn-dots> Additional arguments passed to
geom_segment()
.
Default list of aesthetic mappings to use for plot. If not specified, must be supplied in each layer added to the plot.
A logical scalar indicating whether to split the phylogenetic tree into separate subtrees when multiple panel groups are present.
A single string of "left"
or "right"
,
indicating whether to ladderize the tree. Ladderizing arranges the tree so
that the smallest clade is positioned on the "right"
or the "left"
. By
default, NULL
means the tree will not be ladderized.
A string indicates the plot type, "rectangle"
or "triangle"
.
A boolean value. if TRUE
, nodes are plotted centered with
respect to all leaves/tips in the branch. Otherwise (default), plot them in
the middle of the direct child nodes.
A single string, one of
"phylogram"
or "cladogram"
, indicating the type of tree.
phylogram
: Represents a phylogenetic tree where branch lengths indicate
evolutionary distance or time.
cladogram
: Represents a tree where branch lengths are not used, or the
branches do not reflect evolutionary time.
Usually, you don't need to modify this.
A length one string or numeric indicates the root branch.
A active()
object that defines the context settings when
added to a layout.
The relative size of the plot, can be specified as a
unit()
. Note that for circle_layout()
, all size values
will be interpreted as relative sizes, as this layout type adjusts based on
the available space in the circular arrangement.
Please add
theme()
directly to the ggplot instead.