| circular_tree {BoSSA} | R Documentation | 
Plot an inside-out circular tree
Description
Plot a tree in a circular manner with the tips pointing inward
Usage
circular_tree(phy,ratio=0.5,def=1000,pos_out=FALSE,tip_labels=TRUE,cex_tips=0.5)
Arguments
| 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 | 
Details
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.
Value
a plot
Author(s)
pierre lefeuvre
Examples
library(ape)
test_tree <- rtree(20)
circular_tree(test_tree)
[Package BoSSA version 3.7 Index]