Package: ape
Version: 2.6-2
-Date: 2010-11-30
+Date: 2010-12-07
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>
-## write.tree.R (2010-11-08)
+## write.tree.R (2010-12-07)
## Write Tree File in Parenthetic Format
write.tree <-
function(phy, file = "", append = FALSE, digits = 10, tree.names = FALSE)
{
- if (!(inherits(phy, "phylo") || inherits(phy, "multiPhylo")))
+ if (!(inherits(phy, c("phylo", "multiPhylo"))))
stop("object \"phy\" has no trees")
if (inherits(phy, "phylo")) phy <- c(phy)
if (j != desc[length(desc)]) cp(",")
}
cp(")")
- if (nodelab && ind[i] > n) cp(phy$node.label[ind[i] - n])
+ if (nodelab && i > n) cp(phy$node.label[i - n]) # fixed by Naim Matasci (2010-12-07)
if (brl) {
cp(":")
cp(sprintf(f.d, phy$edge.length[ind[i]]))
Many users gave important feed-back with their encouragements,
comments, or bug reports: thanks to all of you!
-Significant bug fixes were provided by Cécile Ané, James Bullard,
-Otto Cordero, Éric Durand, Olivier François, Rich FitzJohn, , Jos
-Käfer, Bret Larget, Nick Matzke, Michael Phelan, Elizabeth Purdom,
-Dan Rabosky, Filipe Vieira, Tim Wallstrom, Li-San Wang, Yan Wong,
-Peter Wragg, and Janet Young. Contact me if I forgot someone.
+Significant bug fixes were provided by Cécile Ané, James Bullard, Otto
+Cordero, Éric Durand, Olivier François, Rich FitzJohn, , Jos Käfer,
+Bret Larget, Naim Matasci, Nick Matzke, Michael Phelan, Elizabeth
+Purdom, Dan Rabosky, Filipe Vieira, Tim Wallstrom, Li-San Wang, Yan
+Wong, Peter Wragg, and Janet Young. Contact me if I forgot someone.
Kurt Hornik, of the R Core Team, helped in several occasions to
fix some problems and bugs.