ladderShow | R Documentation |
Plot a tree, highlighting any ladders within it.
ladderShow( tree, mainCol = "black", ladderEdgeCol = "red", ladderNodeCol = "red", ... )
tree |
a tree of class |
mainCol |
colour for edges which are not ladders (default is black) |
ladderEdgeCol |
colour for ladder edges (default is red) |
ladderNodeCol |
colour for ladder nodes (default is red) |
... |
further arguments to be passed to plot.phylo |
A plot of the tree, with ladder edges and nodes highlighted by colour.
Michelle Kendall michelle.louise.kendall@gmail.com
Michael Boyd mboyd855@gmail.com
ladderSizes
## Highlight in blue the ladders in a random tree with 50 tips: tree <- rtree(50) ladderShow(tree, edge.width=2) # compare to: ladderSizes(tree)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.