tgvaughan / remaster

High-fidelity stochastic tree simulation for BEAST 2.
https://tgvaughan.github.io/remaster
GNU General Public License v3.0
7 stars 1 forks source link

Rate multipliers and functions #3

Closed ekankaka closed 1 year ago

ekankaka commented 1 year ago

Hi @tgvaughan , Is there a way to include a rate multiplier in a reaction, similar to rate multipliers master? Also, are functions applicable in remaster?

tgvaughan commented 1 year ago

Hi @ekankaka, the function and rate multiplier syntax from MASTER doesn't exist in remaster.

That said, rates in remaster are much more flexible. They take BEAST 2 Functions as inputs, which can be constructed in a large variety of ways. (The feast package provides some utilities for dealing with these.) Together with <plate/> elements, I think you can do most (maybe more?) of the things you could do in MASTER with functions and rate multipliers.

ekankaka commented 1 year ago

Thanks!

tgvaughan commented 1 year ago

No problem; let me know if you want some help constructing your reaction set.