A silly little function that makes plotting a tree without tip labels and with an axis easier and quicker.
1 2 |
tree |
An object of class phylo |
tips |
Logical - show tip labels or not? |
nodes |
TRUE shows all node labels, FALSE supresses node labels (default), or a vecotr of which nodes to highlight. |
scale |
Logical - show the scale bar, or not? |
cex |
Scaling factor for tip labels and node labels - universal. |
main |
A string that will be the title on the plot (if desired) |
edge.cols |
A vector of edge colours, if you want the edges to be coloured. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.