powered by
cladePar can help you coloring (choosing edge width/type) of clades.
cladePar(tree, node, edge.color = "red", tip.color = edge.color, edge.width = 1, edge.lty = "solid", x = NULL, plot = FALSE, ...)
an object of class phylo.
the node which is the common ancestor of the clade.
see plot.phylo.
the result of a previous call to cladeInfo.
logical, if TRUE the tree is plotted.
Further arguments passed to or from other methods.
A list containing the information about the edges and tips.
plot.phylo
# NOT RUN { tree <- rtree(10) plot(tree) nodelabels() x <- cladePar(tree, 12) cladePar(tree, 18, "blue", "blue", x=x, plot=TRUE) # }
Run the code above in your browser using DataLab