Description Usage Arguments Author(s)
View source: R/simulate_trees.R
Simulates genealogies under the coalescent
1 2 3 4 |
n |
Number of samples |
N |
Number of genealogies or trees |
sampling |
It can take two values: iso or hetero. If the sampling scheme is (iso) it generates an isochronous genealogy (all samples at time 0). Otherwise, it assumes it is heterochronous sampling.If hetero, you need to specify samples |
args |
String of characters for ms |
Ne |
The standard is set to 1. It takes any function as input for the demographic model |
max |
(optional) for thinning simulator. It is an upper bound on 1/Ne |
simulator |
It can either be null, ms or thinning. If null, it uses ape rcoal. |
sample |
It takes a matrix of two columns. The first column inciates the number of samples and the second column the sampling times |
Julia Palacios julia.pal.r@gmail.com
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.