Hi dear team,
I would like to use the simulation free mapping algorithm by Minin and Suchard (2008), which is, to my knowledge, implemented in Bio++.
For this purpose, I would like to:
(1) Estimate analytically the mean number of substitttution for each combination of site and branch.
(2) Receive the expected dwelling time under each state in my model, for each combination of site and branch.
If I understand correctly, the class I should be using is ProbabilisticSubstitutionMapping. I see
here that the default usage returns the expected number of substitution for each combination of site and branch (sounds like what I need in 1), while the extended usage returns the dwelling time per substitution type, and not state (I can derive from it what I need in 2):
"The probabilistic mapping can however be extended to contain a matrix will all types of substitutions, instead of their total number.".
I would be grateful for the following clarifications:
(1) Am I indeed looking at the right class? the paper by Minin and Suchard is specified in ProbabiliticRewardMapping, which returns a single reward per branch - and not one for each substitution type or state.
(2) How I should be using it. Specifically, the constructor requires as input an instance of type "SubstitutionCount". In the testers of bpp-phyl, I see examples in which this instance is created in either naive approach of with Laplace. I see in the paper by Minin and Suchard that there is also an option to analytically estimate the mean number of trait changes. I would like to create a mapping that corresponds to this estimate. Is it possible to create a fitting SubsitutionCount instance for this case? if yes, How can I do that?
Many thanks in advance!
Keren