X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=man%2FmakeNodeLabel.Rd;h=b48ea13594266f7e1ccceac0f32995f3eb148d1d;hb=e9f75370481c37eb9d3d811ce7494f818b423136;hp=501f405f2a54106aa7362219a058976faeba6510;hpb=f5793d2af1299540f8ff7ad9ec8c1a6de1fee4cf;p=ape.git diff --git a/man/makeNodeLabel.Rd b/man/makeNodeLabel.Rd index 501f405..b48ea13 100644 --- a/man/makeNodeLabel.Rd +++ b/man/makeNodeLabel.Rd @@ -23,7 +23,7 @@ makeNodeLabel(phy, method = "number", prefix = "Node", nodeList = list(), ...) The three methods are described below: \itemize{ - \item{``number''}{The labels are created with 1, 2, \dots suffixed + \item{``number''}{The labels are created with 1, 2, \dots prefixed with the argument \code{prefix}; thus the default is to have Node1, Node2, \dots Set \code{prefix = ""} to have only numbers.} \item{``md5sum''}{For each node, the labels of the tips descendant @@ -45,14 +45,17 @@ makeNodeLabel(phy, method = "number", prefix = "Node", nodeList = list(), ...) specified node labels (so that if the other nodes have already labels they are not modified) while the two others change all labels. } - +\value{ + an object of class \code{"phylo"}. +} \author{Emmanuel Paradis \email{Emmanuel.Paradis@mpl.ird.fr}} \seealso{ - \code{\link{makeLabel}}, \code{\link[base]{grep}} + \code{\link{makeLabel}}, \code{\link[base]{grep}}, + \code{\link{mixedFontLabel}} } \examples{ tr <- -"((Pan_paniscus,Pan_troglodytes),((Homo_sapiens,Hom_erectus),Homo_abilis));" +"((Pan_paniscus,Pan_troglodytes),((Homo_sapiens,Homo_erectus),Homo_abilis));" tr <- read.tree(text = tr) tr <- makeNodeLabel(tr, "u", nodeList = list(Pan = "Pan", Homo = "Homo")) plot(tr, show.node.label = TRUE)