exampleUltraTrees | R Documentation |
Set of 100 time-based ultrametric trees reconstructed from the distribution
of a sample of n=100 tips.
All trees have a net growth rate of 1 with birth rates between 1 and 2
(sampled from a uniform distribution). Death rates are equal to the chosen
birth rate minus 1. Tree reconstruction uses the exact distribution of
coalescence times described in "The coalescent of a sample from a binary
branching process", Lambert A., Theor. Pop. Bio. 2018. Tree construction and
formatting uses ape
R package ape::rcoal()
.
data(exampleUltraTrees)
A list
of objects of class phylo
A matrix of edge connections which reconstruct the tree.
A numeric vector of the branch lengths of the connections
in edge
matrix. Units are years.
A character vector containing the (arbitrary in this case) labels for the 100 tips/samples of the tree.
Integer number of internal nodes of the tree
data.frame
containing info on the params used to generate
the tree
See ape package for details on class phylo
objects.
This data set was created for the cloneRate package using coalescent theory approaches described in "The coalescent of a sample from a binary branching process", Lambert A., Theor. Pop. Bio. 2018.
# Plot first of 100 trees
ape::plot.phylo(cloneRate::exampleUltraTrees[[1]],
direction = "downwards", show.tip.label = FALSE
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.