All functions |
|
---|---|
BactDating: Bayesian inference of ancestral dates on bacterial phylogenetic trees |
|
Compute dates of leaves and internal nodes for a given tree |
|
Convert to coda mcmc format |
|
Convert to treedata format from ggtree package |
|
Main function of BactDating package to date the nodes of a phylogenetic tree |
|
Experimental clustered permutation test |
|
Coalescent prior function |
|
Modified collapse.singles() from package ape which deletes the single nodes (i.e., with a single descendant) in a tree, respecting the rec function. Internal, used by drop.tip.rec |
|
Modified drop.tip() from 'ape' package that also updates the recombination proportions added when loaded from CFML or Gubbins |
|
Rescaling function using dual scale |
|
Extract a sample of trees |
|
Initial tree rooting based on best root-to-tip correlation |
|
Compute dates of leaves for a given tree |
|
arc likelihood function |
|
carc likelihood function |
|
Gamma likelihood function |
|
Negative-binomial likelihood function |
|
Poisson likelihood function |
|
Relaxed gamma likelihood function |
|
Load output from ClonalFrameML |
|
Load output from Gubbins |
|
Perform Bayesian comparison between two models based on DIC values |
|
Compute dates of internal nodes for a given tree |
|
Plotting methods |
|
Plot tree rescaled using dual scale |
|
Print function for resBactDating objects |
|
Root to tip correlation |
|
Simulation of coalescent dated tree |
|
Simulation of dated tree using rtree and rexp branch lengths |
|
Simulation of observed phylogeny given a dated tree |
|
Data on Staphylococcus aureus ST239 from Harris et al (2010) |
|
Summary function for resBactDating objects |