o read.dna(, "fasta") failed if sequences were not all of the same
length.
+ o plot.phylo() did not recycle values of 'font', 'cex' and
+ 'tip.color' correctly when type = "fan" or "radial".
+
OTHER CHANGES
o In drop.fossil() the default tol = 0 has been raised to 1e-8.
+ o The help command ?phylo now points to the man page of read.tree()
+ where this class is described. Similarly, ?matching points to the
+ man page of as.matching().
+
CHANGES IN APE VERSION 2.6-2
Package: ape
Version: 2.6-3
-Date: 2011-02-01
+Date: 2011-02-11
Title: Analyses of Phylogenetics and Evolution
Author: Emmanuel Paradis, Ben Bolker, Julien Claude, Hoa Sien Cuong, Richard Desper, Benoit Durand, Julien Dutheil, Olivier Gascuel, Christoph Heibl, Daniel Lawson, Vincent Lefort, Pierre Legendre, Jim Lemon, Yvonnick Noel, Johan Nylander, Rainer Opgen-Rhein, Klaus Schliep, Korbinian Strimmer, Damien de Vienne
Maintainer: Emmanuel Paradis <Emmanuel.Paradis@ird.fr>
-## plot.phylo.R (2010-08-12)
+## plot.phylo.R (2011-02-11)
## Plot Phylogenies
-## Copyright 2002-2010 Emmanuel Paradis
+## Copyright 2002-2011 Emmanuel Paradis
## This file is part of the R-package `ape'.
## See the file ../COPYING for licensing issues.
srt <- 180*XY$axe/pi
srt[as.logical(adj)] <- srt[as.logical(adj)] - 180
## `srt' takes only a single value, so can't vectorize this:
+ ## (and need to 'elongate' these vectors:)
+ font <- rep(font, length.out = Ntip)
+ tip.color <- rep(tip.color, length.out = Ntip)
+ cex <- rep(cex, length.out = Ntip)
for (i in 1:Ntip)
- text(xx[i], yy[i], cex = cex, x$tip.label[i], adj = adj[i],
- font = font, srt = srt[i], col = tip.color[i])
+ text(xx[i], yy[i], cex = cex[i], x$tip.label[i], adj = adj[i],
+ font = font[i], srt = srt[i], col = tip.color[i])
}
}
if (type %in% c("fan", "radial")) {
adj <- numeric(Ntip)
adj[xx.tips < 0] <- 1
## `srt' takes only a single value, so can't vectorize this:
+ ## (and need to 'elongate' these vectors:)
+ font <- rep(font, length.out = Ntip)
+ tip.color <- rep(tip.color, length.out = Ntip)
+ cex <- rep(cex, length.out = Ntip)
for (i in 1:Ntip)
- text(xx[i], yy[i], x$tip.label[i], font = font, cex = cex,
+ text(xx[i], yy[i], x$tip.label[i], font = font[i], cex = cex[i],
srt = angle[i], adj = adj[i], col = tip.color[i])
}
}