]> git.donarmstrong.com Git - ape.git/blobdiff - man/makeNodeLabel.Rd
new files for ape 3.0
[ape.git] / man / makeNodeLabel.Rd
index 501f405f2a54106aa7362219a058976faeba6510..b48ea13594266f7e1ccceac0f32995f3eb148d1d 100644 (file)
@@ -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)