From 166049928a56e4d126254e9c1f42271f0e48a2d5 Mon Sep 17 00:00:00 2001 From: Walter Date: Tue, 4 Jun 2024 13:31:49 +1200 Subject: [PATCH] rename previous example to avoid confusion #497 --- ...atedBirthDeath.lphy => simpleRootCalibratedBirthDeath.lphy} | 3 ++- ...simpleCalibratedYule.lphy => simpleRootCalibratedYule.lphy} | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) rename examples/birth-death/{simpleCalibratedBirthDeath.lphy => simpleRootCalibratedBirthDeath.lphy} (62%) rename examples/birth-death/{simpleCalibratedYule.lphy => simpleRootCalibratedYule.lphy} (59%) diff --git a/examples/birth-death/simpleCalibratedBirthDeath.lphy b/examples/birth-death/simpleRootCalibratedBirthDeath.lphy similarity index 62% rename from examples/birth-death/simpleCalibratedBirthDeath.lphy rename to examples/birth-death/simpleRootCalibratedBirthDeath.lphy index 9641419e6..a1c6c842d 100644 --- a/examples/birth-death/simpleCalibratedBirthDeath.lphy +++ b/examples/birth-death/simpleRootCalibratedBirthDeath.lphy @@ -1,5 +1,6 @@ λ = 10.0; -tmrca = 0.1; +tmrca ~ LogNormal(meanlog=-2.3, sdlog=0.1); +// root node calibration ψ ~ BirthDeath(lambda=λ, mu=0.0, n=16, rootAge=tmrca); TL = ψ.treeLength(); rootAge = ψ.rootAge(); diff --git a/examples/birth-death/simpleCalibratedYule.lphy b/examples/birth-death/simpleRootCalibratedYule.lphy similarity index 59% rename from examples/birth-death/simpleCalibratedYule.lphy rename to examples/birth-death/simpleRootCalibratedYule.lphy index 963f3cbdd..bc1ce6fb5 100644 --- a/examples/birth-death/simpleCalibratedYule.lphy +++ b/examples/birth-death/simpleRootCalibratedYule.lphy @@ -1,5 +1,6 @@ λ = 10.0; -tmrca = 0.1; +tmrca ~ LogNormal(meanlog=-2.3, sdlog=0.1); +// root node calibration ψ ~ Yule(lambda=λ, n=16, rootAge=tmrca); TL = ψ.treeLength(); rootAge = ψ.rootAge();