| 1 |
****************************** |
| 2 |
Coalescent class documentation |
| 3 |
****************************** |
| 4 |
|
| 5 |
.. Note:: |
| 6 |
Using the coalescent model is optional. When running via the command line this class will only be initialized when |
| 7 |
the flag |
| 8 |
|
| 9 |
.. code-block:: bash |
| 10 |
|
| 11 |
--coalescent <arg> |
| 12 |
|
| 13 |
is used. |
| 14 |
The argument is either ``‘const’`` (have TreeTime estimate a constant coalescence rate), or ``‘skyline’`` (estimate a piece-wise linear merger rate trajectory) |
| 15 |
or a floating point number giving the time scale of coalescence in units of divergence (``Tc``). This is also |
| 16 |
called the effective population size. |
| 17 |
|
| 18 |
.. autoclass:: treetime.Coalescent |
| 19 |
:members: __init__ |
| 20 |
|
| 21 |
Parameters of the Kingsman coalescence model |
| 22 |
-------------------------------------------- |
| 23 |
|
| 24 |
.. automethod:: treetime.Coalescent.branch_merger_rate |
| 25 |
.. automethod:: treetime.Coalescent.total_merger_rate |
| 26 |
.. automethod:: treetime.Coalescent.cost |
| 27 |
|
| 28 |
Skyline Methods |
| 29 |
--------------------- |
| 30 |
|
| 31 |
.. automethod:: treetime.Coalescent.optimize_skyline |
| 32 |
.. automethod:: treetime.Coalescent.skyline_empirical |
| 33 |
.. automethod:: treetime.Coalescent.skyline_inferred |