Version 2.4.1
- fixed dependency issues due to the new ggtree version
Version 2.4.0
New functionality
- added a new structure, the fbdrangeobject, to store
the results of FBD-range inferences with budding (e.g. the output of thesRangespackage for BEAST2)
- added plotting for fbdrangeobjects, showing the
oriented tree with stratigraphic ranges
Bug fixes
- improved checks on fossilsobject so invalid data types
are rejected instead of crashing
- removed alphanumericoption frompaleotree.record.to.fossilsas it was incompatible with the
fix to data types
Version 2.3.3
New functionality
- plot.fossilsnow integrates an optional extant sampling
probability (- rho) when plotting the reconstructed tree
Function changes
- cosmetic changes to plot.fossilsto make the axis more
visible
- colours used for the taxonomy in plot.fossilsandplot.taxonomyare no longer random and can be
customized
Version 2.3.2
New functionality
- sim.tip.samplesand- sim.extant.samplescan
now use tip-specific sampling probabilities by setting argument- rhoto a vector of values instead of a single value.
Technical changes
- package TreeSimwas moved from dependencies to
suggested packages. A separate installation ofTreeSimis
now required to run functionssim.fbd.*
Version 2.3.1
New functionality
- sim.fossils.environmentnow takes an argument- use.exact.timeswhich determines if fossil sampling times
are recorded exactly or based on interval bounds
Bug fixes
- Fixed a bug in plot.fossilsandplot.taxonomywhich would not restore plotting parameters
properly in some cases.
Documentation changes
- Updated the documentation of FBD simulation functions
(sim.fbd.taxa,sim.fbd.age) to clarify the
sampling process whencomplete = FALSE
Version 2.3.0
New functionality
- Added Lewis Mk, BM (Brownian motion) and OU (Ornstein-Uhlenbeck)
models as options to simulate traits in function
sim.trait.values.
Function changes
- SAtree.from.fossilsnow returns a list of- tree(the resulting SA tree) and- fossils(the
original- fossilsdata.frame updated to include the tip
label of each fossil in the SA tree). NB: this change breaks
compatibility with previous versions of the function.
Version 2.2.0
New functionality
- Added option to plot the reconstructed tree for a set of fossils and
tree objects. This can be done by passing
reconstructed = TRUEtoplot.fossilsor the
objects can be generated separately using the functionreconstructed.tree.fossils.objects.
Functions
associated with the occurrence birth-death model
- Added fossilsas a function argument to the fossil
simulation functions so that existing fossil objects can be
appended.
- Added ignore.taxonomyas a function argument to the
fossil simulation functions. Iftruefunction will not
return species or edge info.
- Added show.unknownto plotting function. If species or
edge info is unknown these fossils will appear next to the tree.
Bug fixes
- Fixed bug in plot.fossilswhich led to proxy data being
plotted the wrong way round on the x-axis.
Version 2.1.1
- Fixed a bug in sim.fbd.rateshift.taxawhich led to
trees being simulated with the wrong rates. NB: Any dataset simulated
with this function before the fix is invalid and needs to be rerun.
Version 2.1.0
New functionality
- The new function fossils.to.pyratecan be used to
convert objects generated by this package into PyRate format.
- The new functions fossils.to.BEAST.constraintsandfossils.to.BEAST.start.tree.Rdcan be used to convert
objects generated by this package into BEAST2 format.
- The new functions subsample.fossils.oldest,subsample.fossils.oldest.and.youngest,subsample.fossils.uniformandsubsample.fossils.youngestcan be used to subsample fossil
occurrences.
Function changes
- The innovative rates model has been integrated into the independent
model in the function sim.trait.values. Parameters are
unchanged.
- The asymmetric plot function has been renamed
rangeplot.asymmetricand separated from theSAtreeobjects.
Bugfixes
- Fixed several bugs in rangeplot.asymmetricthat could
lead to crashes or plots with missing edges.
- Fixed a bug in SAtree.from.fossilswhereSAtreeobjects were not created properly when using an
emptyfossilsobject.