simOverTrees This function will simulate the expected change over a vector of named trees. It calls cladeChangeSim a bunch of times.
1 2 | simOverTrees(tree, reftrees, nsim, node, sigsq, direction = "non",
increment = NULL, lead = FALSE)
|
tree |
The original tree. |
reftrees |
A vector of trees that differ to the original tree on which to simulate the change. |
nsim |
The number of simulations per tree. |
node |
A node from which to conduct the simulation. |
sigsq |
A single sigma squared for the simulation, or a vector of them in the order of the trees. |
direction |
Positive selection ("pos"), negative selection ("neg"), or non directional ("non")? |
increment |
The size of the time interval each branch is broken down into, if NULL is calculated automatically, but may not be comparable between runs. |
lead |
Include the leading branch to the node in the simulations? |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.