Package: tbea 1.7.0

tbea: Pre- And Post-Processing in Bayesian Evolutionary Analyses

Functions are provided for prior specification in divergence time estimation using fossils as well as other kinds of data. It provides tools for interacting with the input and output of Bayesian platforms in evolutionary biology such as 'BEAST2', 'MrBayes', 'RevBayes', or 'MCMCTree'. It Implements a simple measure similarity between probability density functions for comparing prior and posterior Bayesian densities, as well as code for calculating the combination of distributions using conflation of Hill (2008). Functions for estimating the origination time in collections of distributions using the x-intercept (e.g., Draper and Smith, 1998) and stratigraphic intervals (Marshall 2010) are also available. Hill, T. 2008. "Conflations of probability distributions". Transactions of the American Mathematical Society, 363:3351-3372. <doi:10.48550/arXiv.0808.1808>, Draper, N. R. and Smith, H. 1998. "Applied Regression Analysis". 1--706. Wiley Interscience, New York. <doi:10.1002/9781118625590>, Marshall, C. R. 2010. "Using confidence intervals to quantify the uncertainty in the end-points of stratigraphic ranges". Quantitative Methods in Paleobiology, 291--316. <doi:10.1017/S1089332600001911>.

Authors:Gustavo A. Ballen [aut, cre], Sandra Reinales [aut]

tbea_1.7.0.tar.gz
tbea_1.7.0.zip(r-4.7-any)tbea_1.7.0.zip(r-4.6-any)tbea_1.7.0.zip(r-4.5-any)
tbea_1.7.0.tgz(r-4.6-any)tbea_1.7.0.tgz(r-4.5-any)
tbea_1.7.0.tar.gz(r-4.7-any)tbea_1.7.0.tar.gz(r-4.6-any)
tbea_1.7.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION
card.svg |card.png
tbea/json (API)

# Install 'tbea' in R:
install.packages('tbea', repos = c('https://gaballench.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/gaballench/tbea/issues

Pkgdown/docs site:https://gaballench.github.io

Datasets:
  • andes - Divergence-time estimation data for cis-trans-Andean pairs
  • cynodontidae.posterior - Posterior samples for the family Cynodontidae
  • cynodontidae.prior - Prior samples for the family Cynodontidae
  • laventa - Geochronology samples from the Honda Group in Colombia

On CRAN:

Conda:

6.04 score 3 stars 22 scripts 452 downloads 17 exports 8 dependencies

Last updated from:6662fb83a2. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK246
source / vignettesOK273
linux-release-x86_64OK235
macos-release-arm64OK182
macos-oldrel-arm64OK197
windows-develOK162
windows-releaseOK191
windows-oldrelOK175
wasm-releaseOK111

Exports:c_truncauchyconcatNexusconflatecrossplotdensity_funfasta2nexusfindParamslognormalBeastmeasureSimilmswd.testquantile_conflationstratCIsummaryBrlentable2nexustnt2newicktopoFreqxintercept

Dependencies:apebootcodadigestlatticenlmeRcppRfit

Concatenation

Last update: 2025-08-19
Started: 2025-08-19

Conflation of distributions

Last update: 2025-08-19
Started: 2025-08-19

Inference using x-intercept methods

Last update: 2025-08-19
Started: 2025-08-19

Node calibration specification

Last update: 2025-08-19
Started: 2025-08-19

Posterior tree distribution

Last update: 2025-08-19
Started: 2025-08-19

Prior-Posterior comparisons

Last update: 2025-08-19
Started: 2025-08-19

Specification of the Truncated Cauchy calibration density in MCMCTree

Last update: 2025-08-19
Started: 2025-08-19

Starting trees and how to specify them

Last update: 2025-08-19
Started: 2025-08-19

Stratigraphic intervals

Last update: 2025-08-19
Started: 2025-08-19

Introduction to tbea
Priors | The findParams function | The lognormalBeast function | Density similarity | The measureSimil function | Geochronology

Last update: 2025-08-19
Started: 2021-07-12

Why to use the mean of the quantiles as initial values in optim?

Last update: 2021-07-12
Started: 2021-07-12

Readme and manuals

Help Manual

Help pageTopics
Divergence-time estimation data for cis-trans-Andean pairsandes
c_truncauchy: Estimate the c parameter for the truncated cauchy L distribution to be used in MCMCTreec_truncauchy
concatNexus: Function for concatenation of nexus matrices both morphological and molecularconcatNexus
conflate: Calculate the conflation of multiple distributions pdfs, plot = TRUE, from, to, n, add = FALSEconflate
crossplot: Plot the mean/median and HPD interval bars for pairs of distributionscrossplot
Posterior samples for the family Cynodontidaecynodontidae.posterior
Prior samples for the family Cynodontidaecynodontidae.prior
density_fun: A way to represent distributions to be conflateddensity_fun
fasta2nexus (deprecated): Function for converting molecular alignments from fasta to nexus formatfasta2nexus
Function for estimation of probability density function parameters through quadratic optimizationfindParams
Geochronology samples from the Honda Group in Colombialaventa
Constructing a curve for the user-specified lognormal prior using Beast2 parameterslognormalBeast
Calculate the Intersection Between Two DensitiesmeasureSimil
Reduced chi-square test or mean square weighted deviation (mswd) testmswd.test
quantile_conflation: Calculate the quantile for a given probabiliy under a conflated distributionquantile_conflation
stratCI: Estimate the confidence intervals of endpoints in stratigraphic intervalsstratCI
summaryBrlen: Summarise branch lengths on trees with identical topologysummaryBrlen
table2nexus: Read a data matrix in delimited format and convert into a data matrix in nexus formattable2nexus
tnt2newick: Function for converting from TNT tree format to newick parenthetical formattnt2newick
Frequency of topologies in a tree sampletopoFreq
xintercept: Estimate the x-intercept of an empirical cdfxintercept