joshwlambert / DAISIEmainland

Simulate phylogenetic data on islands with a evolving mainland pool

Home Page:https://joshwlambert.github.io/DAISIEmainland/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Plot branches connected correctly by `plot_daisie_data`

richelbilderbeek opened this issue · comments

When I plot islands, I get pictures like this:

Screenshot from 2022-01-26 19-46-35

It could be that the Pull Requests that are pending (#67 and #69) are causing this.

After both are accepted, maybe I should fix this, maybe this Issue can closed...

plot_daisie_data is definitely invalid, as the vertical lines branches are in their pre-reverse state:

Screenshot from 2022-02-20 15-35-34

It seems that daisie_data$branching_times now holds the time in 'time before present' (instead of: time after island coming into existence). This means that all results of min and max are now under suspicion 🧐

The only change needed to make the vertical lines be correct:

Screenshot from 2022-02-20 16-10-36

Fix colonisation times, highlighting the only change:

Screenshot from 2022-02-20 16-11-54