bpp-phyl3
3.0.0
|
Tools to deal with Rates Across Sites (RAS) models. More...
#include <Bpp/Phyl/Legacy/Likelihood/RASTools.h>
Static Public Member Functions | |
static std::unique_ptr< DiscreteDistributionInterface > | getPosteriorRateDistribution (const DiscreteRatesAcrossSitesTreeLikelihoodInterface &treeLikelihood) |
Get the rate distribution estimated from a dataset. More... | |
Tools to deal with Rates Across Sites (RAS) models.
Definition at line 17 of file RASTools.h.
|
static |
Get the rate distribution estimated from a dataset.
This methods takes an object implementing the DiscreteRatesAcroossSites interface as input and use the posterior probabilities of rates for each site to generate the corresponding distribution.
treeLikelihood | A Likelihood calculation implementing the RAS model interface. |
Definition at line 16 of file RASTools.cpp.
References bpp::DiscreteRatesAcrossSitesTreeLikelihoodInterface::getRateClassWithMaxPostProbPerSite(), and bpp::DiscreteRatesAcrossSitesTreeLikelihoodInterface::getRateDistribution().