Description Usage Arguments Details Value Author(s) Examples
View source: R/circular_tree.r
Plot a tree in a circular manner with the tips pointing inward
1 | circular_tree(phy,ratio=0.5,def=1000,pos_out=FALSE,tip_labels=TRUE,cex_tips=0.5)
|
phy |
a class phylo object |
ratio |
the ratio of the tree size compared to the plot size |
def |
the def parameter controls the granularity of the curves |
pos_out |
a matrix with the x and y coordinates of the branches extremities (i.e. nodes and tips) is outputed when set to TRUE |
tip_labels |
whether or not the tiplabels should be plotted |
cex_tips |
the size of the tiplabels |
The function plot a tree in a circular manner. Note that the tree will produce a correct output only if there is no topology modifications after reading the original tree using the ape read.tree function.
a plot
pierre lefeuvre
1 2 3 4 5 | library(ape)
test_tree <- rtree(20)
circular_tree(test_tree)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.