make_textbox: Internal tree plot function

Description Usage Arguments Author(s) References

View source: R/plot_cophy.R

Description

internal function to make textbox for tip labels modified from phytools::TEXTBOX package under GPL v. 2

Usage

1
make_textbox(x, y, label, pos, offset, cex, font)

Arguments

x

x coordinates

y

y coordinates

label

Labels as vector of strings

pos

Position in plot environment

offset

How offset from tips

cex

a numerical vector giving the amount by which characters should be scaled relative to the default

font

font choice

Author(s)

Wade Dismukes and Liam J Revell

References

Revell, L.J. (2012), phytools: an R package for phylogenetic comparative biology (and other things). Methods in Ecology and Evolution, 3: 217-223. doi:10.1111/j.2041-210X.2011.00169.x


treeducken documentation built on March 3, 2021, 1:11 a.m.