The function simulates sequences from a species tree.
1 2 3 4 |
sptree |
A species tree which must be a rooted tree. |
spname |
species names |
ntaxasp |
a vector of the number of individuals in each species |
ngene |
number of genes |
theta |
population size |
noclock |
0: clocklike species tree 1: nonclocklike species tree |
simsequence |
1: simulate sequences and gene trees, 0: simulate gene trees |
murate |
distribution of mutation rates |
alpha |
the shape parameter of dirichlet distribution |
seqlength |
the number of nucleotides along the sequences |
model |
substitution model |
kappa |
transition/transversion ratio |
rate |
rates |
frequency |
nucleotide frequency |
outfile |
the full path of the output file |
format |
either "phylip" or "nexus" |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.