BUG FIXES
+ o as.list.DNAbin() did not work correctly with vectors.
+
o as.hclust.phylo() failed with trees with node labels (thanks to
Filipe Vieira for the fix).
Package: ape
Version: 2.6-1
-Date: 2010-09-30
+Date: 2010-10-19
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>
-## DNA.R (2010-09-01)
+## DNA.R (2010-10-19)
## Manipulations and Comparisons of DNA Sequences
as.list.DNAbin <- function(x, ...)
{
if (is.list(x)) return(x)
- if (is.vector(x)) obj <- list(x)
+ if (is.null(dim(x))) obj <- list(x) # cause is.vector() doesn't work
else { # matrix
n <- nrow(x)
obj <- vector("list", n)
-## birthdeath.R (2009-05-10)
+## birthdeath.R (2010-10-17)
## Estimation of Speciation and Extinction Rates
## with Birth-Death Models
## birthdeath: standard model
## bd.ext: extended version
-## Copyright 2002-2009 Emmanuel Paradis
+## Copyright 2002-2010 Emmanuel Paradis
## This file is part of the R-package `ape'.
## See the file ../COPYING for licensing issues.
N <- length(phy$tip.label)
x <- c(NA, branching.times(phy))
dev <- function(a, r) {
+ if (r <= 0) return(1e50)
-2 * (lfactorial(N - 1)
+ (N - 2) * log(r)
+ r * sum(x[3:N])
}}
\references{
Paradis, E. (2010) Time-dependent speciation and extinction from
- phylogenies: a least squares approach. (under revision)
- %\emph{Evolution}, \bold{59}, 1--12.
+ phylogenies: a least squares approach. \emph{Evolution} (in press)
+ %, \bold{59}, 1--12.
}
\author{Emmanuel Paradis}
\seealso{
process. \emph{Annals of Mathematical Statistics}, \bold{19}, 1--15.
Paradis, E. (2010) Time-dependent speciation and extinction from
- phylogenies: a least squares approach. (under revision)
- %\emph{Evolution}, \bold{59}, 1--12.
+ phylogenies: a least squares approach. \emph{Evolution} (in press)
+ %, \bold{59}, 1--12.
}
\author{Emmanuel Paradis}
\seealso{