Open davidchampredon opened 4 years ago
Sorry for the confusion. I've been reworking that function so the documentation no longer fits. I'll try to get to this today.
The decision we reached in #107 was to use YAML to specify an outer tree generated by another program, so eventlog.from.tree
is deprecated code. (I've also renamed it to attach.tree
.)
You should be able to load your transmission tree as as YAML file with load.outer.tree
@ArtPoon, could you please add an example in the documentation of
load.outer.tree()
when the outer tree has not been simulated bytwt
but is instead imported from another source (like my ABM)?I used to do somthing like the code below in a recent
twt
version but some functions have disappeared and everything I try fails. Thanks!