beast2 icon indicating copy to clipboard operation
beast2 copied to clipboard

Generalization of root and tip distributions as RootDistribution and TipDistribution

Open kche309 opened this issue 2 years ago • 0 comments

Allow as optional inputs for TreeLikelihood and GenericTreeLikelihood:

  • RootDistribution for specifying root frequencies or a root sequence (for usage with rootfreqs package https://github.com/rbouckaert/rootfreqs)
  • TipDistribution for specifying error models on tips (for usage with phylonco package https://github.com/bioDS/beast-phylonco)

RootDistribution and TipDistribution should be abstract classes or interfaces, and packages such as rootfreqs and phylonco should provide the specific models.

These optional inputs should also be handled in TreeLikelihood, BeagleTreeLikelihood and ThreadedTreeLikelihood classes.

In Beauti, when compatible packages are available, it should display additional panels "Root Distribution" and "Tip Distribution", and allow rootfreqs models or error models to be selected from a dropdown.

kche309 avatar Jun 01 '23 04:06 kche309