Skip to content

Commit

Permalink
diversitree_0.9-2; Mar 25, 2012
Browse files Browse the repository at this point in the history
  • Loading branch information
Emma Goldberg committed Apr 4, 2012
1 parent 8e74483 commit 4df0d00
Show file tree
Hide file tree
Showing 93 changed files with 4,135 additions and 4,864 deletions.
58 changes: 58 additions & 0 deletions ChangeLog
@@ -1,3 +1,61 @@
2012-03-25 Rich FitzJohn <fitzjohn@zoology.ubc.ca>

* R/check.R: Negative branch length check was being skipped.

* R/diversitree-branches.R: More safety checking for ultrametric
trees, in preparation of allowing eventual non-ultrametric trees
for more models.

* R/model-bm-direct.R: Clarify branches calculations.

* R/plot-alt-extra.R: add drop=TRUE to prevent de-dataframing.

* R/profiles-plot.R: More automation (legends, argument names, and
opacity).

2012-03-23 Rich FitzJohn <fitzjohn@zoology.ubc.ca>

* R/check.R: typo in check.scalar(), more informative error in
check.loaded.symbol().

* R/cvodes.R: function 'cvodes.headers()' to generate appropriate
headers for using cvodes-based integrators.

* R/deSolve.R: Function arguments were transposed! Plus pure-R
ode generation.

* R/diversitree-branches.R: Support for pure-R odes (replacing
make.branches.lsoda and all.branches.lsoda). Simplify argument
list for dt.tips.grouped().

* R/model-bd-ode.R, R/model-mkn-ode.R, R/model-musse-multitrait.R:
use new dt.tips.grouped().

2012-03-22 Rich FitzJohn <fitzjohn@zoology.ubc.ca>

* Too many files to list: huge rewrite of most behind the scenes
stuff. New VCV based OU calculations.

2012-03-15 Rich FitzJohn <fitzjohn@zoology.ubc.ca>

* R/asr-musse.R: Updates so that time-varying musse models are
possible.

* R/check.R: Fix handling of clade.trees in bd models.

* R/model-bd-ode.R: Reorder error checking

* R/model-bd.R: Give up on special yule model ML treatment

* R/model-musse-t.R: Improve logic around parameter checking --
avoid checking constant parameters twice, check time varying
ones.

* R/sim-character.R: Unfortunately, this was broken on release.
Fixed now.

* Updates so that diversitree compiles and passes check on CRAN.

2012-03-13 Rich FitzJohn <fitzjohn@zoology.ubc.ca>

* R/model-bd*.R: Combined ode and Nee BD calculations.
Expand Down
6 changes: 3 additions & 3 deletions DESCRIPTION
@@ -1,8 +1,8 @@
Package: diversitree
Title: diversitree: comparative phylogenetic analyses of
diversification
Version: 0.9-1
Date: 2012-03-13
Version: 0.9-2
Date: 2012-03-15
Author: Richard G. FitzJohn <fitzjohn@zoology.ubc.ca>, with GeoSSE and
ClaSSE by Emma E. Goldberg <eeg@uic.edu>, and BiSSE-ness by Karen
Magnuson-Ford.
Expand All @@ -25,4 +25,4 @@ Description: Contains a number of comparative phylogenetic methods,
extinction.
License: GPL (>=2)
URL: http://www.zoology.ubc.ca/prog/diversitree
Packaged: 2012-03-15 01:50:00 UTC; rich
Packaged: 2012-03-25 22:22:23 UTC; rich
126 changes: 23 additions & 103 deletions NAMESPACE
Expand Up @@ -16,7 +16,7 @@ export(make.geosse)
export(make.geosse.split)
export(make.mk2)
export(make.mkn)
export(make.mkn.deriv)
## export(make.mkn.deriv) # not working right now
export(make.mkn.multitrait)
export(make.musse)
export(make.musse.multitrait)
Expand All @@ -29,121 +29,51 @@ export(make.quasse.split)
export(make.yule)

## 2. print:
S3method(print, bd)
S3method(print, bd.split)
S3method(print, bisse)
S3method(print, bisse.split)
S3method(print, bisse.td)
S3method(print, bisseness)
S3method(print, bm)
S3method(print, classe)
S3method(print, geosse)
S3method(print, mkn)
S3method(print, mkn.deriv)
S3method(print, mkn.multitrait)
S3method(print, musse)
S3method(print, musse.multitrait)
S3method(print, ou)
S3method(print, yule)

S3method(print, constrained)
S3method(print, dtlik)

## 3: argnames / argnames<-
export(argnames)
export("argnames<-")

S3method(argnames, bd)
S3method(argnames, bd.split)
S3method(argnames, bisse)
S3method(argnames, bisse.split)
S3method(argnames, bisse.td)
S3method(argnames, bisseness)
S3method(argnames, bm)
S3method(argnames, classe)
S3method(argnames, geosse)
S3method(argnames, geosse.split)
S3method(argnames, mk2)
S3method(argnames, mkn)
S3method(argnames, mkn.multitrait)
S3method(argnames, musse)
S3method(argnames, musse.multitrait)
S3method(argnames, musse.split)
S3method(argnames, musse.td)
S3method(argnames, ou)
S3method(argnames, quasse)
S3method(argnames, quasse.split)
S3method(argnames, yule)

S3method("argnames<-", bd)
S3method("argnames<-", bd.split)
S3method("argnames<-", bd.t)
S3method("argnames<-", bisse)
S3method("argnames<-", bisse.split)
S3method("argnames<-", bisse.t)
S3method("argnames<-", bisse.td)
S3method("argnames<-", bisseness)
S3method("argnames<-", bm)
S3method("argnames<-", classe)
S3method("argnames<-", geosse)
S3method("argnames<-", geosse.split)
S3method("argnames<-", mkn) # is also the mk2 method
S3method("argnames<-", mkn.multitrait)
S3method("argnames<-", musse)
S3method("argnames<-", musse.multitrait)
S3method("argnames<-", musse.t)
S3method("argnames<-", ou)
S3method("argnames<-", quasse)
S3method("argnames<-", quasse.split)
S3method("argnames<-", yule)

## Extra:
S3method(argnames, dtlik)
S3method("argnames<-", dtlik)

S3method(argnames, constrained)
S3method("argnames<-", constrained)

## 4: find.mle
export(find.mle)

S3method(find.mle, mixed)

S3method(find.mle, bd)
S3method(find.mle, bisse)
S3method(find.mle, bisseness)
S3method(find.mle, bm)
S3method(find.mle, classe)
S3method(find.mle, default)
S3method(find.mle, geosse)
S3method(find.mle, geosse.split)
S3method(find.mle, mkn)
S3method(find.mle, musse)
S3method(find.mle, ou)
S3method(find.mle, quasse)
S3method(find.mle, yule)
S3method(find.mle, dtlik)
S3method(find.mle, mixed)

## Other method support:
S3method(anova, fit.mle)
S3method(coef, fit.mle)
S3method(extractAIC, fit.mle)
S3method(logLik, fit.mle)

## Starting points:
export(starting.point.bisse)
export(starting.point.bd)
export(starting.point.classe)
export(starting.point.geosse)
export(starting.point.musse)
export(starting.point.musse.multitrait)
export(starting.point.quasse)

## 5. MCMC:
export(mcmc)

S3method(mcmc, default)

S3method(mcmc, bd)
S3method(mcmc, bisse)
S3method(mcmc, bisseness)
S3method(mcmc, bm)
S3method(mcmc, classe)
S3method(mcmc, geosse)
S3method(mcmc, mkn)
S3method(mcmc, musse)
S3method(mcmc, dtlik)

export(sampler.slice)
export(sampler.norm)

export(constrain)
S3method(update, constrained)
export(constrain.i)

## Tree evolution code
export(trees)
Expand All @@ -162,13 +92,8 @@ export(sim.character)
export(protect)
export(invert)
export(big.brother)
export(starting.point.bisse)
export(starting.point.bd)
export(starting.point.classe)
export(starting.point.geosse)
export(starting.point.musse)
export(starting.point.musse.multitrait)
export(starting.point.quasse)
export(set.defaults)
export(combine)
export(profiles.plot)
export(trait.plot)
export(make.prior.exponential)
Expand Down Expand Up @@ -201,10 +126,6 @@ export(musse.multitrait.translate)
## export(flatten.pars.classe)
## export(inflate.pars.classe)

## Deprecated:
export(bisse.starting.point)
export(starting.point)

## ASR:
export(make.asr.marginal)
export(make.asr.joint)
Expand All @@ -226,13 +147,11 @@ S3method(make.asr.stoch, mkn)

## ASR/xxSSE
S3method(make.asr.marginal, bisse)
S3method(make.asr.marginal, bisse.t)
S3method(make.asr.marginal, bisse.split)
S3method(make.asr.marginal, musse)
S3method(make.asr.marginal, musse.split)

## TODO: This means that the time-dependent ones won't dispatch?

## Support for "clade.tree"s
## TODO: polytomies.to.clades -> clades.from.polytomies
export(make.clade.tree)
export(clades.from.polytomies)
export(clades.from.classification)
Expand Down Expand Up @@ -269,5 +188,6 @@ export(ROOT.ALL)
## export(load.wisdom)
## export(save.wisdom)

## Check capabilities of package
export(check.fftC)
export(check.cvodes)
39 changes: 0 additions & 39 deletions R/asr-bisse-split.R

This file was deleted.

31 changes: 0 additions & 31 deletions R/asr-bisse-t.R

This file was deleted.

0 comments on commit 4df0d00

Please sign in to comment.