powered by
A wrapper for the plot.phylo function defined in package ape, which is useful for plotting the values at each node
ape
plot_nodes_phylo(variable, tree, label = variable, main = deparse(substitute(variable)), zlim = NULL, col, show.legend = TRUE, sig.cutoff, nodes, roundoff = TRUE, show.tip.label = NULL, cex = NULL, ...)
The variable to be plotted
The text to write in each node label
The phylogeny to plot, in the ape phylo format
ape phylo
The title text
The values to use for the most extreme colors of the color scale
The color palette used to create the color scale
Should a legend for the color scale be plotted?
The minimum value for nodes to be plotted on the tree, useful for trees with many nodes
The nodes to be plotted on the tree
Whether to round values when writing them as nodelabel text
Show tip labels on the tree
Controls the size of the node symbols
Further arguments to pass to plot.phylo
Michael Krabbe Borregaard
data(coquettes) Clade_occupancy <- Node_occupancy(coquettes) plot_nodes_phylo(Clade_occupancy, coquettes$phylo, cex = 0.7)
Run the code above in your browser using DataLab