5 #ifndef BPP_PHYL_MODEL_PROTEIN_COALA_H
6 #define BPP_PHYL_MODEL_PROTEIN_COALA_H
9 #include "../AbstractSubstitutionModel.h"
66 Coala(std::shared_ptr<const ProteicAlphabet> alpha,
68 unsigned int nbAxes = 0,
76 std::string
getName()
const override {
return "Coala"; }
Specialisation abstract class for reversible protein substitution model.
This class is the core class inherited by the Coala class. COaLA is a branch-heterogeneous amino-acid...
The Coala branch-heterogeneous amino-acid substitution model.
std::string getExch() const
std::string getEmpiricalMatrixFile() const
void updateMatrices_() override
Compute and diagonalize the matrix, and fill the eigenValues_, leftEigenVectors_ and rightEigenVecto...
void readFromFile(std::string &file)
void setFreqFromData(const SequenceDataInterface &data, double pseudoCount=0) override
Set equilibrium frequencies equal to the frequencies estimated from the data.
std::string getName() const override
Get the name of the model.
Coala(std::shared_ptr< const ProteicAlphabet > alpha, const ProteinSubstitutionModelInterface &model, unsigned int nbAxes=0, bool param=true)
void computeEquilibriumFrequencies()
Coala * clone() const override
Specialized interface for protein substitution model.
Defines the basic types of data flow nodes.