ringlabels: 'ringlabels' Label particular tip(s) with text around the...

Description Usage Arguments Details Value Author(s) Examples

View source: R/phylo.plots.R

Description

ringlabels Label particular tip(s) with text around the edge of a circular phylogeny

Usage

1
ringlabels(tip.groups, text, radial.adj = 1.05, ...)

Arguments

tip.groups

list where each element are the tip *numbers* that should be labelled

text

list when each element is the text to be plotted

radial.adj

a multiplier for how far out each tip label should be

...

additional arguments for arctext

Details

Add text to the outside of a circular phylogeny. Useful if you've made a cartoon phylogeny and need to label clades.

Value

The centers of each piece of text (in radians)

Author(s)

Will Pearse

Examples

1
2
3
4
5
6
## Not run: 
tree <- read.tree(text="(((((A,B,C,D,E),(F,G,H,I,J)),H),K),L);")
ringlabels(tip.groups=list(1:5, 6:10) text=list("this is yet", "another test"))
tree <- read.tree(text="(((((A,B,C,D,E),(F,G,H,I,J)),H),K),L);")

## End(Not run)

willpearse/willeerd documentation built on May 4, 2019, 6:27 a.m.