X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=man%2FmixedFontLabel.Rd;h=d4b62677bc8b8b9904c362d0320709189cc9464f;hb=e43c90282fbbdbc38d185cee55cfa0d446554c81;hp=16997156e6aadf3ff935996031273d2716b20083;hpb=2419de65ffb4f7c45eb8c2448bcba3d0df64744f;p=ape.git diff --git a/man/mixedFontLabel.Rd b/man/mixedFontLabel.Rd index 1699715..d4b6267 100644 --- a/man/mixedFontLabel.Rd +++ b/man/mixedFontLabel.Rd @@ -27,7 +27,7 @@ mixedFontLabel(..., sep = " ", italic = NULL, bold = NULL, } \details{ The idea is to have different bits of text in different vectors that - are put together to make a vector of R expressions. This vector is + are put together to make a vector of \R expressions. This vector is interpreted by graphical functions to format the text. A simple use may be \code{mixedFontLabel(genus, species), italic = 1:2}, but it is more interesting when mixing fonts (see examples). @@ -44,7 +44,8 @@ mixedFontLabel(..., sep = " ", italic = NULL, bold = NULL, } \author{Emmanuel Paradis} \seealso{ - \code{\link{makeLabel}}, \code{\link{makeNodeLabel}} + \code{\link{makeLabel}}, \code{\link{makeNodeLabel}}, + \code{taxo.fonts} in package \pkg{phyloch} for fancy alignments } \examples{ tr <- read.tree(text = "((a,(b,c)),d);") @@ -55,7 +56,7 @@ tr$tip.label <- mixedFontLabel(genus, species, geo, italic = 1:2, parenthesis = 3) layout(matrix(c(1, 2), 2)) plot(tr) -tr$tip.label <- mixedFontLabel(genus, species, geo, sep = c(" ", " - "), +tr$tip.label <- mixedFontLabel(genus, species, geo, sep = c(" ", " | "), italic = 1:2, bold = 3) plot(tr) layout(1)