|
bpp-phyl
2.1.0
|
The Yang et al (2000) M8 substitution model for codons. More...
#include <Bpp/Phyl/Model/Codon/YNGKP_M8.h>
Inheritance diagram for bpp::YNGKP_M8:
Collaboration diagram for bpp::YNGKP_M8:Public Member Functions | |
| YNGKP_M8 (const GeneticCode *gc, FrequenciesSet *codonFreqs, unsigned int nbclass) | |
| ~YNGKP_M8 () | |
| YNGKP_M8 * | clone () const |
| YNGKP_M8 (const YNGKP_M8 &) | |
| YNGKP_M8 & | operator= (const YNGKP_M8 &) |
| const SubstitutionModel & | getModel () const |
| const MixedSubstitutionModel & | getMixedModel () const |
| std::string | getName () const |
| Get the name of the model. More... | |
| const SubstitutionModel * | getNModel (size_t i) const |
| Returns a specific model from the mixture. More... | |
| SubstitutionModel * | getNModel (size_t i) |
| double | getNProbability (size_t i) const |
| Returns the probability of a specific model from the mixture. More... | |
| const std::vector< double > & | getProbabilities () const |
| Returns the vector of the probabilities of the submodels of the mixture. More... | |
| void | setNProbability (size_t i, double prob) |
| Sets the probabilities of the submodels of the mixture. More... | |
| size_t | getNumberOfModels () const |
| Returns the number of submodels. More... | |
| void | setVRates (const Vdouble &vd) |
| sets the rates of the submodels. More... | |
| void | normalizeVRates () |
| normalizes the rates of the submodels. More... | |
| const std::vector< double > & | getVRates () const |
| Returns the vector of all the rates of the mixture. More... | |
| double | getNRate (size_t i) const |
| Returns the rate of a specific model from the mixture. More... | |
| Vint | getSubmodelNumbers (std::string &desc) const |
| virtual const std::vector< int > & | getAlphabetChars () const =0 |
| const std::vector< int > & | getAlphabetChars () const |
| virtual int | getAlphabetChar (size_t i) const =0 |
| Get the char in the alphabet corresponding to a given state in the model. More... | |
| int | getAlphabetChar (size_t i) const |
| Get the char in the alphabet corresponding to a given state in the model. More... | |
| virtual std::vector< size_t > | getModelStates (int i) const =0 |
| Get the state in the model corresponding to a particular char in the alphabet. More... | |
| std::vector< size_t > | getModelStates (int i) const |
| Get the state in the model corresponding to a particular char in the alphabet. More... | |
| virtual double | freq (size_t i) const =0 |
| virtual double | freq (size_t i) const |
| virtual double | Qij (size_t i, size_t j) const =0 |
| virtual double | Qij (size_t i, size_t j) const |
| virtual double | Pij_t (size_t i, size_t j, double t) const =0 |
| virtual double | Pij_t (size_t i, size_t j, double t) const |
| virtual double | dPij_dt (size_t i, size_t j, double t) const =0 |
| virtual double | dPij_dt (size_t i, size_t j, double t) const |
| virtual double | d2Pij_dt2 (size_t i, size_t j, double t) const =0 |
| virtual double | d2Pij_dt2 (size_t i, size_t j, double t) const |
| virtual const Vdouble & | getFrequencies () const =0 |
| virtual const Vdouble & | getFrequencies () const |
| virtual const Matrix< double > & | getGenerator () const =0 |
| const Matrix< double > & | getGenerator () const |
| virtual const Matrix< double > & | getExchangeabilityMatrix () const =0 |
| const Matrix< double > & | getExchangeabilityMatrix () const |
| virtual double | Sij (size_t i, size_t j) const =0 |
| double | Sij (size_t i, size_t j) const |
| virtual const Matrix< double > & | getPij_t (double t) const =0 |
| const Matrix< double > & | getPij_t (double t) const |
| virtual const Matrix< double > & | getdPij_dt (double t) const =0 |
| const Matrix< double > & | getdPij_dt (double t) const |
| virtual const Matrix< double > & | getd2Pij_dt2 (double t) const =0 |
| const Matrix< double > & | getd2Pij_dt2 (double t) const |
| virtual void | enableEigenDecomposition (bool yn)=0 |
| Set if eigenValues and Vectors must be computed. More... | |
| virtual bool | enableEigenDecomposition ()=0 |
| Tell if eigenValues and Vectors must be computed. More... | |
| void | enableEigenDecomposition (bool yn) |
| Set if eigenValues and Vectors must be computed. More... | |
| bool | enableEigenDecomposition () |
| Tell if eigenValues and Vectors must be computed. More... | |
| virtual const Vdouble & | getEigenValues () const =0 |
| const Vdouble & | getEigenValues () const |
| virtual const Vdouble & | getIEigenValues () const =0 |
| const Vdouble & | getIEigenValues () const |
| virtual bool | isDiagonalizable () const =0 |
| bool | isDiagonalizable () const |
| virtual bool | isNonSingular () const =0 |
| bool | isNonSingular () const |
| virtual const Matrix< double > & | getRowLeftEigenVectors () const =0 |
| const Matrix< double > & | getRowLeftEigenVectors () const |
| virtual const Matrix< double > & | getColumnRightEigenVectors () const =0 |
| const Matrix< double > & | getColumnRightEigenVectors () const |
| virtual const Alphabet * | getAlphabet () const =0 |
| const Alphabet * | getAlphabet () const |
| virtual size_t | getNumberOfStates () const =0 |
| Get the number of states. More... | |
| size_t | getNumberOfStates () const |
| Get the number of states. More... | |
| virtual double | getInitValue (size_t i, int state) const =0 throw (IndexOutOfBoundsException, BadIntException) |
| double | getInitValue (size_t i, int state) const throw (BadIntException) |
| virtual double | getScale () const =0 |
| Get the scalar product of diagonal elements of the generator and the frequencies vector. If the generator is normalized, then scale=1. Otherwise each element must be multiplied by 1/scale. More... | |
| double | getScale () const |
| Get the scalar product of diagonal elements of the generator and the frequencies vector. If the generator is normalized, then scale=1. Otherwise each element must be multiplied by 1/scale. More... | |
| virtual void | setScale (double scale)=0 |
| Set the rate of the generator, defined as the scalar product of diagonal elements of the generator and the frequencies vector. More... | |
| void | setScale (double scale) |
| Set the rate of the generator, defined as the scalar product of diagonal elements of the generator and the frequencies vector. More... | |
| virtual double | getRate () const =0 |
| Get the rate. More... | |
| double | getRate () const |
| Get the rate. More... | |
| virtual void | setRate (double rate)=0 |
| Set the rate of the model (must be positive). More... | |
| void | setRate (double rate) |
| Set the rate of the model (must be positive). More... | |
| virtual void | addRateParameter ()=0 |
| void | addRateParameter () |
| virtual void | setFreqFromData (const SequenceContainer &data, double pseudoCount=0)=0 |
| Set equilibrium frequencies equal to the frequencies estimated from the data. More... | |
| void | setFreqFromData (const SequenceContainer &data, double pseudoCount=0) |
| Set equilibrium frequencies equal to the frequencies estimated from the data. More... | |
| virtual void | setFreq (std::map< int, double > &frequencies) |
| Set equilibrium frequencies. More... | |
| void | setFreq (std::map< int, double > &frequ) |
| Set equilibrium frequencies. More... | |
| virtual const FrequenciesSet * | getFrequenciesSet () const |
| If the model owns a FrequenciesSet, returns a pointer to it, otherwise return 0. More... | |
| const FrequenciesSet * | getFrequenciesSet () const |
| If the model owns a FrequenciesSet, returns a pointer to it, otherwise return 0. More... | |
| virtual size_t | getNumberOfIndependentParameters () const =0 |
| size_t | getNumberOfIndependentParameters () const |
| virtual void | aliasParameters (const std::string &p1, const std::string &p2)=0 |
| void | aliasParameters (const std::string &p1, const std::string &p2) |
| virtual void | unaliasParameters (const std::string &p1, const std::string &p2)=0 |
| void | unaliasParameters (const std::string &p1, const std::string &p2) |
| virtual const ParameterList & | getIndependentParameters () const =0 |
| const ParameterList & | getIndependentParameters () const |
| virtual std::vector< std::string > | getAlias (const std::string &name) const =0 |
| std::vector< std::string > | getAlias (const std::string &name) const |
| virtual void | fireParameterChanged (const ParameterList ¶meters) |
| Tells the model that a parameter value has changed. More... | |
| void | setNamespace (const std::string &prefix) |
| bool | hasParameter (const std::string &name) const |
| const ParameterList & | getParameters () const |
| const Parameter & | getParameter (const std::string &name) const |
| double | getParameterValue (const std::string &name) const |
| void | setAllParametersValues (const ParameterList ¶meters) |
| void | setParameterValue (const std::string &name, double value) |
| void | setParametersValues (const ParameterList ¶meters) |
| bool | matchParametersValues (const ParameterList ¶meters) |
| size_t | getNumberOfParameters () const |
| std::string | getNamespace () const |
| std::string | getParameterNameWithoutNamespace (const std::string &name) const |
Protected Member Functions | |
| void | updateMatrices () |
| void | addParameter_ (Parameter *parameter) |
| void | addParameters_ (const ParameterList ¶meters) |
| void | deleteParameter_ (size_t index) |
| void | resetParameters_ () |
| Parameter & | getParameter_ (const std::string &name) |
| Parameter & | getParameter_ (size_t index) |
| const Parameter & | getParameter_ (size_t index) const |
| Parameter & | getParameterWithNamespace_ (const std::string &name) |
| const Parameter & | getParameterWithNamespace_ (const std::string &name) const |
| ParameterList & | getParameters_ () |
Protected Attributes | |
| std::map< std::string, std::string > | mapParNamesFromPmodel_ |
| Tools to make the link between the Parameters of the object and those of pmixmodel_. More... | |
| ParameterList | lParPmodel_ |
Private Member Functions | |
| SubstitutionModel & | getModel () |
| MixedSubstitutionModel & | getMixedModel () |
Private Attributes | |
| std::auto_ptr < MixtureOfASubstitutionModel > | pmixmodel_ |
| int | synfrom_ |
| int | synto_ |
The Yang et al (2000) M8 substitution model for codons.
This model is a mixture of models as described in YN98 class, the mixture being defined on the selection parameter oomega to allow it to vary among sites, following a mixture of a Beta distribution and of another value above 1.
This model includes 5 parameters (
,
and
) of the Beta distribution,
the weight of the Beta distribution and
the selection parameter above 1 (with weight
). The codon frequencies
are either observed or infered.
References:
Yang, Z., R. Nielsen, N. Goldman, and A.-M. K. Pedersen (2000) Genetics 155:431-449.
Definition at line 73 of file YNGKP_M8.h.
| YNGKP_M8::YNGKP_M8 | ( | const GeneticCode * | gc, |
| FrequenciesSet * | codonFreqs, | ||
| unsigned int | nbclass | ||
| ) |
Definition at line 53 of file YNGKP_M8.cpp.
References bpp::AbstractParameterAliasable::addParameter_(), bpp::AbstractParameterAliasable::addParameter_(), bpp::AbstractBiblioSubstitutionModel::getFrequenciesSet(), bpp::AbstractParameterAliasable::getParameterNameWithoutNamespace(), bpp::Transliterator::getSourceAlphabet(), bpp::Transliterator::getSourceAlphabet(), bpp::Transliterator::getSourceAlphabet(), bpp::AbstractBiblioSubstitutionModel::lParPmodel_, bpp::AbstractBiblioSubstitutionModel::mapParNamesFromPmodel_, bpp::AbstractBiblioSubstitutionModel::mapParNamesFromPmodel_, bpp::AbstractBiblioSubstitutionModel::mapParNamesFromPmodel_, bpp::AbstractBiblioSubstitutionModel::mapParNamesFromPmodel_, bpp::AbstractBiblioSubstitutionModel::mapParNamesFromPmodel_, bpp::AbstractBiblioSubstitutionModel::mapParNamesFromPmodel_, bpp::AbstractBiblioSubstitutionModel::mapParNamesFromPmodel_, bpp::AbstractBiblioSubstitutionModel::mapParNamesFromPmodel_, pmixmodel_, pmixmodel_, pmixmodel_, pmixmodel_, pmixmodel_, pmixmodel_, pmixmodel_, pmixmodel_, pmixmodel_, bpp::ParameterList::size(), synfrom_, synfrom_, synfrom_, synfrom_, synto_, synto_, synto_, synto_, synto_, synto_, synto_, synto_, bpp::TextTools::toString(), and updateMatrices().
Referenced by clone().
| YNGKP_M8::~YNGKP_M8 | ( | ) |
Definition at line 154 of file YNGKP_M8.cpp.
| YNGKP_M8::YNGKP_M8 | ( | const YNGKP_M8 & | mod2 | ) |
Definition at line 137 of file YNGKP_M8.cpp.
|
virtualinherited |
Implements bpp::SubstitutionModel.
Definition at line 84 of file AbstractBiblioSubstitutionModel.cpp.
References bpp::AbstractParameterAliasable::addParameter_(), bpp::AbstractBiblioSubstitutionModel::getModel(), bpp::AbstractBiblioSubstitutionModel::getModel(), bpp::AbstractParameterAliasable::getNamespace(), bpp::AbstractParameterAliasable::getParameters(), bpp::AbstractBiblioSubstitutionModel::getRate(), bpp::AbstractBiblioSubstitutionModel::lParPmodel_, bpp::AbstractBiblioSubstitutionModel::lParPmodel_, and bpp::AbstractBiblioSubstitutionModel::mapParNamesFromPmodel_.
|
pure virtualinherited |
Implemented in bpp::AbstractSubstitutionModel, bpp::G2001, bpp::AbstractBiblioSubstitutionModel, and bpp::TS98.
Referenced by bpp::AbstractBiblioSubstitutionModel::addRateParameter().
|
inlinevirtual |
Implements bpp::AbstractBiblioMixedSubstitutionModel.
Definition at line 99 of file YNGKP_M8.h.
References YNGKP_M8().
|
inlinevirtualinherited |
Implements bpp::SubstitutionModel.
Definition at line 106 of file AbstractBiblioSubstitutionModel.h.
References bpp::AbstractBiblioSubstitutionModel::getModel().
|
pure virtualinherited |
Implemented in bpp::AbstractSubstitutionModel, bpp::MarkovModulatedSubstitutionModel, bpp::RE08, bpp::JCnuc, bpp::BinarySubstitutionModel, and bpp::AbstractBiblioSubstitutionModel.
Referenced by bpp::AbstractBiblioSubstitutionModel::d2Pij_dt2(), and bpp::RE08::d2Pij_dt2().
|
inlinevirtualinherited |
Implements bpp::SubstitutionModel.
Definition at line 105 of file AbstractBiblioSubstitutionModel.h.
References bpp::AbstractBiblioSubstitutionModel::getModel().
|
pure virtualinherited |
Implemented in bpp::AbstractSubstitutionModel, bpp::MarkovModulatedSubstitutionModel, bpp::RE08, bpp::JCnuc, bpp::BinarySubstitutionModel, and bpp::AbstractBiblioSubstitutionModel.
Referenced by bpp::RE08::d2Pij_dt2(), bpp::AbstractBiblioSubstitutionModel::dPij_dt(), and bpp::RE08::dPij_dt().
|
inlinevirtualinherited |
Set if eigenValues and Vectors must be computed.
Implements bpp::SubstitutionModel.
Definition at line 122 of file AbstractBiblioSubstitutionModel.h.
References bpp::AbstractBiblioSubstitutionModel::getModel().
|
inlinevirtualinherited |
Tell if eigenValues and Vectors must be computed.
Implements bpp::SubstitutionModel.
Definition at line 124 of file AbstractBiblioSubstitutionModel.h.
References bpp::AbstractBiblioSubstitutionModel::getModel().
|
pure virtualinherited |
Set if eigenValues and Vectors must be computed.
Implemented in bpp::AbstractSubstitutionModel, bpp::MarkovModulatedSubstitutionModel, and bpp::AbstractBiblioSubstitutionModel.
Referenced by bpp::AbstractCodonSubstitutionModel::AbstractCodonSubstitutionModel(), bpp::AbstractCodonSubstitutionModel::AbstractCodonSubstitutionModel(), bpp::AbstractBiblioSubstitutionModel::enableEigenDecomposition(), bpp::AbstractBiblioSubstitutionModel::enableEigenDecomposition(), bpp::gBGC::gBGC(), and bpp::YpR::YpR().
|
pure virtualinherited |
Tell if eigenValues and Vectors must be computed.
Implemented in bpp::AbstractSubstitutionModel, bpp::MarkovModulatedSubstitutionModel, and bpp::AbstractBiblioSubstitutionModel.
|
inlinevirtualinherited |
Tells the model that a parameter value has changed.
This updates the matrices consequently.
Reimplemented from bpp::AbstractParameterAliasable.
Definition at line 171 of file AbstractBiblioSubstitutionModel.h.
References bpp::AbstractParameterAliasable::fireParameterChanged(), bpp::AbstractParameterAliasable::getNamespace(), bpp::ParameterList::size(), bpp::ParameterList::size(), and bpp::AbstractBiblioSubstitutionModel::updateMatrices().
|
inlinevirtualinherited |
Implements bpp::SubstitutionModel.
Definition at line 100 of file AbstractBiblioSubstitutionModel.h.
References bpp::AbstractBiblioSubstitutionModel::getModel().
|
pure virtualinherited |
Implemented in bpp::AbstractSubstitutionModel, bpp::MarkovModulatedSubstitutionModel, and bpp::AbstractBiblioSubstitutionModel.
Referenced by bpp::TwoTreeLikelihood::computeTreeD2Likelihood(), bpp::TwoTreeLikelihood::computeTreeDLikelihood(), bpp::RE08::d2Pij_dt2(), bpp::RE08::d2Pij_dt2(), bpp::RE08::dPij_dt(), bpp::RE08::dPij_dt(), bpp::AbstractBiblioSubstitutionModel::freq(), bpp::RE08::getd2Pij_dt2(), bpp::RE08::getd2Pij_dt2(), bpp::RE08::getdPij_dt(), bpp::RE08::getdPij_dt(), bpp::RE08::getPij_t(), bpp::RE08::getPij_t(), bpp::RE08::Pij_t(), bpp::RE08::Pij_t(), bpp::RE08::updateMatrices(), bpp::RE08::updateMatrices(), and bpp::RE08::updateMatrices().
|
inlinevirtualinherited |
Implements bpp::SubstitutionModel.
Definition at line 147 of file AbstractBiblioSubstitutionModel.h.
References bpp::AbstractBiblioSubstitutionModel::getModel().
|
pure virtualinherited |
Implemented in bpp::AbstractSubstitutionModel, bpp::MarkovModulatedSubstitutionModel, and bpp::AbstractBiblioSubstitutionModel.
Referenced by bpp::DecompositionSubstitutionCount::DecompositionSubstitutionCount(), bpp::AbstractMutationProcess::detailedEvolve(), bpp::LaplaceSubstitutionCount::getAllNumbersOfSubstitutions(), bpp::AbstractBiblioSubstitutionModel::getAlphabet(), bpp::MarkovModulatedSubstitutionModel::getAlphabet(), bpp::NonHomogeneousSequenceSimulator::NonHomogeneousSequenceSimulator(), bpp::LaplaceSubstitutionCount::setSubstitutionModel(), bpp::UniformizationSubstitutionCount::setSubstitutionModel(), bpp::UniformizationSubstitutionCount::setSubstitutionModel(), bpp::DecompositionSubstitutionCount::setSubstitutionModel(), bpp::DecompositionSubstitutionCount::setSubstitutionModel(), bpp::UniformizationSubstitutionCount::substitutionRegisterHasChanged(), bpp::DecompositionSubstitutionCount::substitutionRegisterHasChanged(), bpp::UniformizationSubstitutionCount::UniformizationSubstitutionCount(), bpp::YpR::updateMatrices(), bpp::BppOSubstitutionModelFormat::writeMixed_(), and bpp::BppOSubstitutionModelFormat::writeMixed_().
|
inlinevirtualinherited |
Get the char in the alphabet corresponding to a given state in the model.
In most cases, this method will return i.
| i | The index of the state. |
Implements bpp::SubstitutionModel.
Definition at line 96 of file AbstractBiblioSubstitutionModel.h.
References bpp::AbstractBiblioSubstitutionModel::getModel().
|
pure virtualinherited |
Get the char in the alphabet corresponding to a given state in the model.
In most cases, this method will return i.
| i | The index of the state. |
Implemented in bpp::AbstractSubstitutionModel, bpp::MarkovModulatedSubstitutionModel, and bpp::AbstractBiblioSubstitutionModel.
Referenced by bpp::AbstractBiblioSubstitutionModel::getAlphabetChar(), bpp::MarginalAncestralStateReconstruction::getAncestralSequenceForNode(), bpp::MarginalAncestralStateReconstruction::getAncestralSequenceForNode(), and bpp::NonHomogeneousSequenceSimulator::multipleEvolve().
|
inlinevirtualinherited |
Implements bpp::SubstitutionModel.
Definition at line 94 of file AbstractBiblioSubstitutionModel.h.
References bpp::AbstractBiblioSubstitutionModel::getModel().
|
pure virtualinherited |
Implemented in bpp::AbstractSubstitutionModel, bpp::MarkovModulatedSubstitutionModel, and bpp::AbstractBiblioSubstitutionModel.
Referenced by bpp::AbstractBiblioSubstitutionModel::getAlphabetChars(), and bpp::MarkovModulatedSubstitutionModel::updateMatrices().
|
inlinevirtualinherited |
Implements bpp::SubstitutionModel.
Definition at line 135 of file AbstractBiblioSubstitutionModel.h.
References bpp::AbstractBiblioSubstitutionModel::getModel().
|
pure virtualinherited |
Implemented in bpp::AbstractSubstitutionModel, bpp::MarkovModulatedSubstitutionModel, and bpp::AbstractBiblioSubstitutionModel.
Referenced by bpp::DecompositionSubstitutionCount::computeEigen_(), bpp::AbstractBiblioSubstitutionModel::getColumnRightEigenVectors(), and bpp::MarkovModulatedSubstitutionModel::updateMatrices().
|
inlinevirtualinherited |
Implements bpp::SubstitutionModel.
Definition at line 120 of file AbstractBiblioSubstitutionModel.h.
References bpp::AbstractBiblioSubstitutionModel::getModel().
|
pure virtualinherited |
Implemented in bpp::AbstractSubstitutionModel, bpp::AbstractMixedSubstitutionModel, bpp::F84, bpp::HKY85, bpp::MarkovModulatedSubstitutionModel, bpp::JCprot, bpp::T92, bpp::K80, bpp::RN95, bpp::TN93, bpp::RE08, bpp::JCnuc, bpp::RN95s, bpp::BinarySubstitutionModel, bpp::WordSubstitutionModel, and bpp::AbstractBiblioSubstitutionModel.
Referenced by bpp::AbstractHomogeneousTreeLikelihood::computeTransitionProbabilitiesForNode(), bpp::AbstractNonHomogeneousTreeLikelihood::computeTransitionProbabilitiesForNode(), bpp::TwoTreeLikelihood::fireParameterChanged(), bpp::AbstractBiblioSubstitutionModel::getd2Pij_dt2(), and bpp::RE08::getd2Pij_dt2().
|
inlinevirtualinherited |
Implements bpp::SubstitutionModel.
Definition at line 118 of file AbstractBiblioSubstitutionModel.h.
References bpp::AbstractBiblioSubstitutionModel::getModel().
|
pure virtualinherited |
Implemented in bpp::AbstractSubstitutionModel, bpp::AbstractMixedSubstitutionModel, bpp::F84, bpp::HKY85, bpp::MarkovModulatedSubstitutionModel, bpp::JCprot, bpp::T92, bpp::K80, bpp::RN95, bpp::TN93, bpp::RE08, bpp::JCnuc, bpp::RN95s, bpp::BinarySubstitutionModel, bpp::WordSubstitutionModel, and bpp::AbstractBiblioSubstitutionModel.
Referenced by bpp::AbstractHomogeneousTreeLikelihood::computeTransitionProbabilitiesForNode(), bpp::AbstractNonHomogeneousTreeLikelihood::computeTransitionProbabilitiesForNode(), bpp::TwoTreeLikelihood::fireParameterChanged(), bpp::RE08::getd2Pij_dt2(), bpp::AbstractBiblioSubstitutionModel::getdPij_dt(), and bpp::RE08::getdPij_dt().
|
inlinevirtualinherited |
Implements bpp::SubstitutionModel.
Definition at line 130 of file AbstractBiblioSubstitutionModel.h.
References bpp::AbstractBiblioSubstitutionModel::getModel().
|
pure virtualinherited |
Implemented in bpp::AbstractSubstitutionModel, bpp::MarkovModulatedSubstitutionModel, and bpp::AbstractBiblioSubstitutionModel.
Referenced by bpp::DecompositionSubstitutionCount::computeEigen_(), bpp::AbstractBiblioSubstitutionModel::getEigenValues(), and bpp::MarkovModulatedSubstitutionModel::updateMatrices().
|
inlinevirtualinherited |
. Implements bpp::SubstitutionModel.
Definition at line 112 of file AbstractBiblioSubstitutionModel.h.
References bpp::AbstractBiblioSubstitutionModel::getModel().
|
pure virtualinherited |
. Implemented in bpp::AbstractSubstitutionModel, bpp::MarkovModulatedSubstitutionModel, and bpp::AbstractBiblioSubstitutionModel.
Referenced by bpp::AbstractBiblioSubstitutionModel::getExchangeabilityMatrix(), bpp::RE08::updateMatrices(), and bpp::MarkovModulatedSubstitutionModel::updateMatrices().
|
inlinevirtualinherited |
Implements bpp::SubstitutionModel.
Definition at line 108 of file AbstractBiblioSubstitutionModel.h.
References bpp::AbstractBiblioSubstitutionModel::getModel().
|
pure virtualinherited |
Implemented in bpp::AbstractSubstitutionModel, bpp::MarkovModulatedSubstitutionModel, and bpp::AbstractBiblioSubstitutionModel.
Referenced by bpp::AbstractHomogeneousTreeLikelihood::applyParameters(), bpp::AbstractHomogeneousTreeLikelihood::computeAllTransitionProbabilities(), bpp::TwoTreeLikelihood::computeTreeLikelihood(), bpp::RHomogeneousTreeLikelihood::fireParameterChanged(), bpp::AbstractBiblioSubstitutionModel::getFrequencies(), bpp::TwoTreeLikelihood::getRootFrequencies(), bpp::AbstractHomogeneousTreeLikelihood::getRootFrequencies(), bpp::NonHomogeneousSequenceSimulator::NonHomogeneousSequenceSimulator(), bpp::MarkovModulatedSubstitutionModel::updateMatrices(), and bpp::MarkovModulatedSubstitutionModel::updateMatrices().
|
inlinevirtualinherited |
If the model owns a FrequenciesSet, returns a pointer to it, otherwise return 0.
Reimplemented from bpp::SubstitutionModel.
Definition at line 153 of file AbstractBiblioSubstitutionModel.h.
References bpp::AbstractBiblioSubstitutionModel::getModel().
Referenced by bpp::YNGKP_M1::YNGKP_M1(), bpp::YNGKP_M2::YNGKP_M2(), bpp::YNGKP_M3::YNGKP_M3(), bpp::YNGKP_M7::YNGKP_M7(), and YNGKP_M8().
|
inlinevirtualinherited |
If the model owns a FrequenciesSet, returns a pointer to it, otherwise return 0.
Reimplemented in bpp::JCprot, bpp::AbstractBiblioSubstitutionModel, bpp::UserProteinSubstitutionModel, bpp::WAG01, bpp::DSO78, bpp::JTT92, bpp::LG08, bpp::AbstractCodonPhaseFrequenciesSubstitutionModel, and bpp::AbstractCodonFrequenciesSubstitutionModel.
Definition at line 463 of file SubstitutionModel.h.
Referenced by bpp::AbstractBiblioSubstitutionModel::getFrequenciesSet(), and bpp::BppOSubstitutionModelFormat::write().
|
inlinevirtualinherited |
, meaning that $
, and (ii)
. This means that, under normalization, the mean rate of replacement at equilibrium is 1 and that time
are measured in units of expected number of changes per site. Additionnaly, the rate_ attibute provides the possibility to increase or decrease this mean rate.See Kosiol and Goldman (2005), Molecular Biology And Evolution 22(2) 193-9.
Implements bpp::SubstitutionModel.
Definition at line 110 of file AbstractBiblioSubstitutionModel.h.
References bpp::AbstractBiblioSubstitutionModel::getModel().
|
pure virtualinherited |
, meaning that $
, and (ii)
. This means that, under normalization, the mean rate of replacement at equilibrium is 1 and that time
are measured in units of expected number of changes per site. Additionnaly, the rate_ attibute provides the possibility to increase or decrease this mean rate.See Kosiol and Goldman (2005), Molecular Biology And Evolution 22(2) 193-9.
Implemented in bpp::AbstractSubstitutionModel, bpp::MarkovModulatedSubstitutionModel, and bpp::AbstractBiblioSubstitutionModel.
Referenced by bpp::LaplaceSubstitutionCount::computeCounts(), bpp::UniformizationSubstitutionCount::computeCounts_(), bpp::AbstractBiblioSubstitutionModel::getGenerator(), bpp::SimpleMutationProcess::SimpleMutationProcess(), bpp::RE08::updateMatrices(), and bpp::MarkovModulatedSubstitutionModel::updateMatrices().
|
inlinevirtualinherited |
Implements bpp::SubstitutionModel.
Definition at line 132 of file AbstractBiblioSubstitutionModel.h.
References bpp::AbstractBiblioSubstitutionModel::getModel().
|
pure virtualinherited |
Implemented in bpp::AbstractSubstitutionModel, bpp::MarkovModulatedSubstitutionModel, and bpp::AbstractBiblioSubstitutionModel.
Referenced by bpp::AbstractBiblioSubstitutionModel::getIEigenValues().
|
inlinevirtualinherited |
This method is used to initialize likelihoods in reccursions. It typically sends 1 if i = state, 0 otherwise, where i is one of the possible states of the alphabet allowed in the model and state is the observed state in the considered sequence/site.
| i | the index of the state in the model. |
| state | An observed state in the sequence/site. |
| IndexOutOfBoundsException | if array position is out of range. |
| BadIntException | if states are not allowed in the associated alphabet. |
Implements bpp::SubstitutionModel.
Definition at line 151 of file AbstractBiblioSubstitutionModel.h.
References bpp::AbstractBiblioSubstitutionModel::getModel().
|
pure virtualinherited |
This method is used to initialize likelihoods in reccursions. It typically sends 1 if i = state, 0 otherwise, where i is one of the possible states of the alphabet allowed in the model and state is the observed state in the considered sequence/site.
| i | the index of the state in the model. |
| state | An observed state in the sequence/site. |
| IndexOutOfBoundsException | if array position is out of range. |
| BadIntException | if states are not allowed in the associated alphabet. |
Implemented in bpp::AbstractSubstitutionModel, bpp::MarkovModulatedSubstitutionModel, bpp::RE08, and bpp::AbstractBiblioSubstitutionModel.
Referenced by bpp::AbstractBiblioSubstitutionModel::getInitValue().
|
inlinevirtual |
Implements bpp::AbstractBiblioMixedSubstitutionModel.
Definition at line 111 of file YNGKP_M8.h.
References pmixmodel_.
|
inlineprivatevirtual |
Implements bpp::AbstractBiblioMixedSubstitutionModel.
Definition at line 118 of file YNGKP_M8.h.
References pmixmodel_.
|
inlinevirtual |
Implements bpp::AbstractBiblioSubstitutionModel.
Definition at line 109 of file YNGKP_M8.h.
References pmixmodel_.
|
inlineprivatevirtual |
Implements bpp::AbstractBiblioSubstitutionModel.
Definition at line 116 of file YNGKP_M8.h.
References pmixmodel_.
|
inlinevirtualinherited |
Get the state in the model corresponding to a particular char in the alphabet.
| i | The alphabet char to check. |
Implements bpp::SubstitutionModel.
Definition at line 98 of file AbstractBiblioSubstitutionModel.h.
References bpp::AbstractBiblioSubstitutionModel::getModel().
|
pure virtualinherited |
Get the state in the model corresponding to a particular char in the alphabet.
| i | The alphabet char to check. |
Implemented in bpp::AbstractSubstitutionModel, bpp::MarkovModulatedSubstitutionModel, and bpp::AbstractBiblioSubstitutionModel.
Referenced by bpp::AbstractBiblioSubstitutionModel::getModelStates(), bpp::MarkovModulatedSubstitutionModel::getModelStates(), and bpp::MarginalAncestralStateReconstruction::recursiveMarginalAncestralStates().
|
inlinevirtual |
Get the name of the model.
Implements bpp::SubstitutionModel.
Definition at line 113 of file YNGKP_M8.h.
|
inlinevirtualinherited |
Returns a specific model from the mixture.
Implements bpp::MixedSubstitutionModel.
Definition at line 77 of file AbstractBiblioMixedSubstitutionModel.h.
References bpp::AbstractBiblioMixedSubstitutionModel::getMixedModel().
|
inlinevirtualinherited |
Implements bpp::MixedSubstitutionModel.
Definition at line 82 of file AbstractBiblioMixedSubstitutionModel.h.
References bpp::AbstractBiblioMixedSubstitutionModel::getMixedModel().
|
inlinevirtualinherited |
Returns the probability of a specific model from the mixture.
Implements bpp::MixedSubstitutionModel.
Definition at line 90 of file AbstractBiblioMixedSubstitutionModel.h.
References bpp::AbstractBiblioMixedSubstitutionModel::getMixedModel().
|
inlinevirtualinherited |
Returns the rate of a specific model from the mixture.
Implements bpp::MixedSubstitutionModel.
Definition at line 154 of file AbstractBiblioMixedSubstitutionModel.h.
References bpp::AbstractBiblioMixedSubstitutionModel::getMixedModel().
|
inlinevirtualinherited |
Returns the number of submodels.
Implements bpp::MixedSubstitutionModel.
Definition at line 119 of file AbstractBiblioMixedSubstitutionModel.h.
References bpp::AbstractBiblioMixedSubstitutionModel::getMixedModel().
|
inlinevirtualinherited |
Get the number of states.
For most models, this equals the size of the alphabet.
Implements bpp::SubstitutionModel.
Definition at line 149 of file AbstractBiblioSubstitutionModel.h.
References bpp::AbstractBiblioSubstitutionModel::getModel().
|
pure virtualinherited |
Get the number of states.
For most models, this equals the size of the alphabet.
Implemented in bpp::AbstractMixedSubstitutionModel, bpp::MarkovModulatedSubstitutionModel, bpp::RE08, bpp::YpR, bpp::AbstractBiblioSubstitutionModel, bpp::AbstractWordSubstitutionModel, bpp::BinarySubstitutionModel, bpp::gBGC, bpp::NucleotideSubstitutionModel, and bpp::ProteinSubstitutionModel.
Referenced by bpp::OneJumpSubstitutionCount::getAllNumbersOfSubstitutions(), bpp::AbstractBiblioSubstitutionModel::getNumberOfStates(), bpp::BranchLikelihood::initModel(), bpp::RE08::RE08(), bpp::SimpleMutationProcess::SimpleMutationProcess(), and bpp::MarkovModulatedSubstitutionModel::updateMatrices().
|
inlinevirtualinherited |
Implements bpp::SubstitutionModel.
Definition at line 116 of file AbstractBiblioSubstitutionModel.h.
References bpp::AbstractBiblioSubstitutionModel::getModel().
|
pure virtualinherited |
Implemented in bpp::AbstractSubstitutionModel, bpp::AbstractMixedSubstitutionModel, bpp::F84, bpp::HKY85, bpp::MarkovModulatedSubstitutionModel, bpp::JCprot, bpp::T92, bpp::K80, bpp::RN95, bpp::TN93, bpp::RE08, bpp::JCnuc, bpp::RN95s, bpp::BinarySubstitutionModel, bpp::WordSubstitutionModel, and bpp::AbstractBiblioSubstitutionModel.
Referenced by bpp::LaplaceSubstitutionCount::computeCounts(), bpp::UniformizationSubstitutionCount::computeCounts_(), bpp::DecompositionSubstitutionCount::computeCounts_(), bpp::AbstractHomogeneousTreeLikelihood::computeTransitionProbabilitiesForNode(), bpp::AbstractNonHomogeneousTreeLikelihood::computeTransitionProbabilitiesForNode(), bpp::NonHomogeneousSequenceSimulator::evolve(), bpp::TwoTreeLikelihood::fireParameterChanged(), bpp::OneJumpSubstitutionCount::getAllNumbersOfSubstitutions(), bpp::RE08::getd2Pij_dt2(), bpp::RE08::getdPij_dt(), bpp::AbstractBiblioSubstitutionModel::getPij_t(), and bpp::RE08::getPij_t().
|
inlinevirtualinherited |
Returns the vector of the probabilities of the submodels of the mixture.
Implements bpp::MixedSubstitutionModel.
Definition at line 101 of file AbstractBiblioMixedSubstitutionModel.h.
References bpp::AbstractBiblioMixedSubstitutionModel::getMixedModel().
|
inlinevirtualinherited |
Get the rate.
Implements bpp::SubstitutionModel.
Definition at line 137 of file AbstractBiblioSubstitutionModel.h.
References bpp::AbstractBiblioSubstitutionModel::getModel().
Referenced by bpp::AbstractBiblioSubstitutionModel::addRateParameter(), bpp::LGL08_CAT::LGL08_CAT(), bpp::LLG08_EHO::LLG08_EHO(), bpp::LLG08_EX2::LLG08_EX2(), bpp::LLG08_EX3::LLG08_EX3(), bpp::LLG08_UL2::LLG08_UL2(), and bpp::LLG08_UL3::LLG08_UL3().
|
pure virtualinherited |
Get the rate.
Implemented in bpp::AbstractSubstitutionModel, bpp::MarkovModulatedSubstitutionModel, bpp::G2001, bpp::AbstractBiblioSubstitutionModel, and bpp::TS98.
Referenced by bpp::AbstractBiblioSubstitutionModel::getRate(), and bpp::MarkovModulatedSubstitutionModel::getRate().
|
inlinevirtualinherited |
Implements bpp::SubstitutionModel.
Definition at line 134 of file AbstractBiblioSubstitutionModel.h.
References bpp::AbstractBiblioSubstitutionModel::getModel().
|
pure virtualinherited |
Implemented in bpp::AbstractSubstitutionModel, bpp::MarkovModulatedSubstitutionModel, and bpp::AbstractBiblioSubstitutionModel.
Referenced by bpp::DecompositionSubstitutionCount::computeEigen_(), and bpp::AbstractBiblioSubstitutionModel::getRowLeftEigenVectors().
|
inlinevirtualinherited |
Get the scalar product of diagonal elements of the generator and the frequencies vector. If the generator is normalized, then scale=1. Otherwise each element must be multiplied by 1/scale.
Implements bpp::SubstitutionModel.
Definition at line 184 of file AbstractBiblioSubstitutionModel.h.
References bpp::AbstractBiblioSubstitutionModel::getModel().
|
pure virtualinherited |
Get the scalar product of diagonal elements of the generator and the frequencies vector. If the generator is normalized, then scale=1. Otherwise each element must be multiplied by 1/scale.
Implemented in bpp::AbstractSubstitutionModel, bpp::MarkovModulatedSubstitutionModel, and bpp::AbstractBiblioSubstitutionModel.
Referenced by bpp::AbstractBiblioSubstitutionModel::getScale().
|
virtualinherited |
Implements bpp::MixedSubstitutionModel.
Definition at line 62 of file AbstractBiblioMixedSubstitutionModel.cpp.
References bpp::AbstractBiblioMixedSubstitutionModel::getMixedModel(), bpp::AbstractParameterAliasable::getParameterNameWithoutNamespace(), and bpp::StringTokenizer::nextToken().
|
inlinevirtualinherited |
Returns the vector of all the rates of the mixture.
Implements bpp::MixedSubstitutionModel.
Definition at line 146 of file AbstractBiblioMixedSubstitutionModel.h.
References bpp::AbstractBiblioMixedSubstitutionModel::getMixedModel().
|
inlinevirtualinherited |
Implements bpp::SubstitutionModel.
Definition at line 126 of file AbstractBiblioSubstitutionModel.h.
References bpp::AbstractBiblioSubstitutionModel::getModel().
|
pure virtualinherited |
Implemented in bpp::AbstractSubstitutionModel, bpp::MarkovModulatedSubstitutionModel, and bpp::AbstractBiblioSubstitutionModel.
Referenced by bpp::AbstractBiblioSubstitutionModel::isDiagonalizable().
|
inlinevirtualinherited |
Implements bpp::SubstitutionModel.
Definition at line 128 of file AbstractBiblioSubstitutionModel.h.
References bpp::AbstractBiblioSubstitutionModel::getModel().
|
pure virtualinherited |
Implemented in bpp::AbstractSubstitutionModel, bpp::MarkovModulatedSubstitutionModel, and bpp::AbstractBiblioSubstitutionModel.
Referenced by bpp::AbstractBiblioSubstitutionModel::isNonSingular().
|
inlinevirtualinherited |
normalizes the rates of the submodels.
Implements bpp::MixedSubstitutionModel.
Definition at line 137 of file AbstractBiblioMixedSubstitutionModel.h.
References bpp::AbstractBiblioMixedSubstitutionModel::getMixedModel().
Definition at line 143 of file YNGKP_M8.cpp.
References bpp::AbstractBiblioMixedSubstitutionModel::operator=(), pmixmodel_, pmixmodel_, synfrom_, synfrom_, synto_, and synto_.
|
inlinevirtualinherited |
Implements bpp::SubstitutionModel.
Definition at line 104 of file AbstractBiblioSubstitutionModel.h.
References bpp::AbstractBiblioSubstitutionModel::getModel().
|
pure virtualinherited |
Implemented in bpp::AbstractSubstitutionModel, bpp::MarkovModulatedSubstitutionModel, bpp::RE08, bpp::JCnuc, bpp::BinarySubstitutionModel, and bpp::AbstractBiblioSubstitutionModel.
Referenced by bpp::RE08::d2Pij_dt2(), bpp::RE08::dPij_dt(), bpp::NonHomogeneousSequenceSimulator::evolve(), bpp::SimpleMutationProcess::evolve(), bpp::SimpleMutationProcess::evolve(), bpp::OneJumpSubstitutionCount::getNumberOfSubstitutions(), bpp::AbstractBiblioSubstitutionModel::Pij_t(), and bpp::RE08::Pij_t().
|
inlinevirtualinherited |
Implements bpp::SubstitutionModel.
Definition at line 102 of file AbstractBiblioSubstitutionModel.h.
References bpp::AbstractBiblioSubstitutionModel::getModel().
|
pure virtualinherited |
Implemented in bpp::AbstractSubstitutionModel, bpp::AbstractMixedSubstitutionModel, bpp::MarkovModulatedSubstitutionModel, and bpp::AbstractBiblioSubstitutionModel.
Referenced by bpp::UniformizationSubstitutionCount::fillBMatrices_(), bpp::DecompositionSubstitutionCount::fillBMatrices_(), bpp::AbstractMutationProcess::getTimeBeforeNextMutationEvent(), bpp::AbstractBiblioSubstitutionModel::Qij(), bpp::UniformizationSubstitutionCount::setSubstitutionModel(), bpp::SimpleMutationProcess::SimpleMutationProcess(), bpp::UniformizationSubstitutionCount::UniformizationSubstitutionCount(), bpp::gBGC::updateMatrices(), bpp::YpR::updateMatrices(), bpp::YpR::updateMatrices(), bpp::YpR::updateMatrices(), and bpp::YpR::updateMatrices().
|
virtualinherited |
Set equilibrium frequencies.
| frequencies | The map of the frequencies to use. |
Reimplemented from bpp::SubstitutionModel.
Definition at line 95 of file AbstractBiblioSubstitutionModel.cpp.
References bpp::ParameterList::addParameter(), bpp::AbstractBiblioSubstitutionModel::getModel(), bpp::AbstractBiblioSubstitutionModel::getModel(), bpp::AbstractParameterAliasable::getParameterNameWithoutNamespace(), bpp::AbstractParameterAliasable::getParameterValue(), bpp::AbstractBiblioSubstitutionModel::mapParNamesFromPmodel_, bpp::AbstractBiblioSubstitutionModel::mapParNamesFromPmodel_, and bpp::AbstractParameterAliasable::matchParametersValues().
|
inlinevirtualinherited |
Set equilibrium frequencies.
| frequencies | The map of the frequencies to use. |
Reimplemented in bpp::AbstractSubstitutionModel, bpp::F84, bpp::HKY85, bpp::MixtureOfSubstitutionModels, bpp::T92, bpp::AbstractWordSubstitutionModel, bpp::GTR, bpp::CodonDistanceFrequenciesSubstitutionModel, bpp::RN95, bpp::TN93, bpp::CodonDistancePhaseFrequenciesSubstitutionModel, bpp::RN95s, bpp::CodonDistanceFitnessPhaseFrequenciesSubstitutionModel, bpp::MixtureOfASubstitutionModel, bpp::AbstractBiblioSubstitutionModel, bpp::BinarySubstitutionModel, bpp::SSR, bpp::L95, bpp::CodonRateFrequenciesSubstitutionModel, bpp::AbstractCodonPhaseFrequenciesSubstitutionModel, bpp::AbstractCodonFrequenciesSubstitutionModel, and bpp::AbstractCodonFitnessSubstitutionModel.
Definition at line 455 of file SubstitutionModel.h.
Referenced by bpp::AbstractBiblioSubstitutionModel::setFreq().
|
virtualinherited |
Set equilibrium frequencies equal to the frequencies estimated from the data.
| data | The sequences to use. |
| pseudoCount | A quantity to add to adjust the observed values in order to prevent issues due to missing states on small data set. The corrected frequencies shall be computed as
|
Implements bpp::SubstitutionModel.
Definition at line 110 of file AbstractBiblioSubstitutionModel.cpp.
References bpp::ParameterList::addParameter(), bpp::AbstractBiblioSubstitutionModel::getModel(), bpp::AbstractBiblioSubstitutionModel::getModel(), bpp::AbstractParameterAliasable::getParameterNameWithoutNamespace(), bpp::AbstractParameterAliasable::getParameterValue(), bpp::AbstractBiblioSubstitutionModel::mapParNamesFromPmodel_, bpp::AbstractBiblioSubstitutionModel::mapParNamesFromPmodel_, and bpp::AbstractParameterAliasable::matchParametersValues().
|
pure virtualinherited |
Set equilibrium frequencies equal to the frequencies estimated from the data.
| data | The sequences to use. |
| pseudoCount | A quantity to add to adjust the observed values in order to prevent issues due to missing states on small data set. The corrected frequencies shall be computed as
|
Implemented in bpp::AbstractSubstitutionModel, bpp::MarkovModulatedSubstitutionModel, and bpp::AbstractBiblioSubstitutionModel.
Referenced by bpp::AbstractBiblioSubstitutionModel::setFreqFromData(), and bpp::MarkovModulatedSubstitutionModel::setFreqFromData().
|
inlinevirtualinherited |
Sets the probabilities of the submodels of the mixture.
Implements bpp::MixedSubstitutionModel.
Definition at line 110 of file AbstractBiblioMixedSubstitutionModel.h.
References bpp::AbstractBiblioMixedSubstitutionModel::getMixedModel().
|
inlinevirtualinherited |
Set the rate of the model (must be positive).
| rate | must be positive. |
Implements bpp::SubstitutionModel.
Definition at line 139 of file AbstractBiblioSubstitutionModel.h.
References bpp::AbstractBiblioSubstitutionModel::getModel().
|
pure virtualinherited |
Set the rate of the model (must be positive).
| rate | must be positive. |
Implemented in bpp::AbstractSubstitutionModel, bpp::MarkovModulatedSubstitutionModel, bpp::AbstractMixedSubstitutionModel, bpp::G2001, bpp::AbstractBiblioSubstitutionModel, and bpp::TS98.
Referenced by bpp::AbstractBiblioSubstitutionModel::setRate(), and bpp::MarkovModulatedSubstitutionModel::setRate().
|
inlinevirtualinherited |
Set the rate of the generator, defined as the scalar product of diagonal elements of the generator and the frequencies vector.
When the generator is normalized, scale=1. Otherwise each element is multiplied such that the correct scale is set.
Implements bpp::SubstitutionModel.
Definition at line 186 of file AbstractBiblioSubstitutionModel.h.
References bpp::AbstractBiblioSubstitutionModel::getModel().
|
pure virtualinherited |
Set the rate of the generator, defined as the scalar product of diagonal elements of the generator and the frequencies vector.
When the generator is normalized, scale=1. Otherwise each element is multiplied such that the correct scale is set.
Implemented in bpp::AbstractSubstitutionModel, bpp::MarkovModulatedSubstitutionModel, and bpp::AbstractBiblioSubstitutionModel.
Referenced by bpp::AbstractBiblioSubstitutionModel::setScale(), and bpp::MarkovModulatedSubstitutionModel::setScale().
|
inlinevirtualinherited |
sets the rates of the submodels.
Implements bpp::MixedSubstitutionModel.
Definition at line 128 of file AbstractBiblioMixedSubstitutionModel.h.
References bpp::AbstractBiblioMixedSubstitutionModel::getMixedModel().
|
inlinevirtualinherited |
By definition Sij(i,j) = Sij(j,i).
Implements bpp::SubstitutionModel.
Definition at line 114 of file AbstractBiblioSubstitutionModel.h.
References bpp::AbstractBiblioSubstitutionModel::getModel().
|
pure virtualinherited |
By definition Sij(i,j) = Sij(j,i).
Implemented in bpp::AbstractSubstitutionModel, bpp::MarkovModulatedSubstitutionModel, and bpp::AbstractBiblioSubstitutionModel.
Referenced by bpp::AbstractBiblioSubstitutionModel::Sij().
|
protectedvirtual |
Reimplemented from bpp::AbstractBiblioSubstitutionModel.
Definition at line 156 of file YNGKP_M8.cpp.
References pmixmodel_, pmixmodel_, pmixmodel_, synfrom_, synto_, and bpp::AbstractBiblioSubstitutionModel::updateMatrices().
Referenced by YNGKP_M8().
|
protectedinherited |
Definition at line 70 of file AbstractBiblioSubstitutionModel.h.
Referenced by bpp::AbstractBiblioSubstitutionModel::addRateParameter(), bpp::AbstractBiblioSubstitutionModel::addRateParameter(), bpp::GY94::GY94(), bpp::LGL08_CAT::LGL08_CAT(), bpp::LLG08_EHO::LLG08_EHO(), bpp::LLG08_EX2::LLG08_EX2(), bpp::LLG08_EX3::LLG08_EX3(), bpp::LLG08_UL2::LLG08_UL2(), bpp::LLG08_UL3::LLG08_UL3(), bpp::MG94::MG94(), bpp::AbstractBiblioSubstitutionModel::operator=(), bpp::AbstractBiblioSubstitutionModel::operator=(), bpp::YNGKP_M3::updateMatrices(), bpp::YNGKP_M3::updateMatrices(), bpp::YNGKP_M3::updateMatrices(), bpp::YNGKP_M3::updateMatrices(), bpp::YNGKP_M3::updateMatrices(), bpp::YNGKP_M3::updateMatrices(), bpp::YNGKP_M3::updateMatrices(), bpp::YNGKP_M3::updateMatrices(), bpp::AbstractBiblioSubstitutionModel::updateMatrices(), bpp::AbstractBiblioSubstitutionModel::updateMatrices(), bpp::AbstractBiblioSubstitutionModel::updateMatrices(), bpp::AbstractBiblioSubstitutionModel::updateMatrices(), bpp::AbstractBiblioSubstitutionModel::updateMatrices(), bpp::YN98::YN98(), bpp::YNGKP_M1::YNGKP_M1(), bpp::YNGKP_M2::YNGKP_M2(), bpp::YNGKP_M3::YNGKP_M3(), bpp::YNGKP_M7::YNGKP_M7(), and YNGKP_M8().
|
protectedinherited |
Tools to make the link between the Parameters of the object and those of pmixmodel_.
Definition at line 68 of file AbstractBiblioSubstitutionModel.h.
Referenced by bpp::AbstractBiblioSubstitutionModel::addRateParameter(), bpp::GY94::GY94(), bpp::GY94::GY94(), bpp::GY94::GY94(), bpp::LGL08_CAT::LGL08_CAT(), bpp::LLG08_EHO::LLG08_EHO(), bpp::LLG08_EX2::LLG08_EX2(), bpp::LLG08_EX3::LLG08_EX3(), bpp::LLG08_UL2::LLG08_UL2(), bpp::LLG08_UL3::LLG08_UL3(), bpp::MG94::MG94(), bpp::MG94::MG94(), bpp::AbstractBiblioSubstitutionModel::operator=(), bpp::AbstractBiblioSubstitutionModel::operator=(), bpp::AbstractBiblioSubstitutionModel::setFreq(), bpp::AbstractBiblioSubstitutionModel::setFreq(), bpp::AbstractBiblioSubstitutionModel::setFreqFromData(), bpp::AbstractBiblioSubstitutionModel::setFreqFromData(), bpp::YNGKP_M3::updateMatrices(), bpp::YNGKP_M3::updateMatrices(), bpp::YNGKP_M3::updateMatrices(), bpp::AbstractBiblioSubstitutionModel::updateMatrices(), bpp::AbstractBiblioSubstitutionModel::updateMatrices(), bpp::AbstractBiblioSubstitutionModel::updateMatrices(), bpp::YN98::YN98(), bpp::YN98::YN98(), bpp::YN98::YN98(), bpp::YNGKP_M1::YNGKP_M1(), bpp::YNGKP_M1::YNGKP_M1(), bpp::YNGKP_M1::YNGKP_M1(), bpp::YNGKP_M1::YNGKP_M1(), bpp::YNGKP_M1::YNGKP_M1(), bpp::YNGKP_M1::YNGKP_M1(), bpp::YNGKP_M2::YNGKP_M2(), bpp::YNGKP_M2::YNGKP_M2(), bpp::YNGKP_M2::YNGKP_M2(), bpp::YNGKP_M2::YNGKP_M2(), bpp::YNGKP_M2::YNGKP_M2(), bpp::YNGKP_M2::YNGKP_M2(), bpp::YNGKP_M2::YNGKP_M2(), bpp::YNGKP_M2::YNGKP_M2(), bpp::YNGKP_M3::YNGKP_M3(), bpp::YNGKP_M3::YNGKP_M3(), bpp::YNGKP_M3::YNGKP_M3(), bpp::YNGKP_M3::YNGKP_M3(), bpp::YNGKP_M3::YNGKP_M3(), bpp::YNGKP_M3::YNGKP_M3(), bpp::YNGKP_M3::YNGKP_M3(), bpp::YNGKP_M7::YNGKP_M7(), bpp::YNGKP_M7::YNGKP_M7(), bpp::YNGKP_M7::YNGKP_M7(), bpp::YNGKP_M7::YNGKP_M7(), bpp::YNGKP_M7::YNGKP_M7(), bpp::YNGKP_M7::YNGKP_M7(), YNGKP_M8(), YNGKP_M8(), YNGKP_M8(), YNGKP_M8(), YNGKP_M8(), YNGKP_M8(), YNGKP_M8(), and YNGKP_M8().
|
private |
Definition at line 78 of file YNGKP_M8.h.
Referenced by getMixedModel(), getMixedModel(), getModel(), getModel(), operator=(), operator=(), updateMatrices(), updateMatrices(), updateMatrices(), YNGKP_M8(), YNGKP_M8(), YNGKP_M8(), YNGKP_M8(), YNGKP_M8(), YNGKP_M8(), YNGKP_M8(), YNGKP_M8(), and YNGKP_M8().
|
private |
Definition at line 86 of file YNGKP_M8.h.
Referenced by operator=(), operator=(), updateMatrices(), YNGKP_M8(), YNGKP_M8(), YNGKP_M8(), and YNGKP_M8().
|
private |
Definition at line 86 of file YNGKP_M8.h.
Referenced by operator=(), operator=(), updateMatrices(), YNGKP_M8(), YNGKP_M8(), YNGKP_M8(), YNGKP_M8(), YNGKP_M8(), YNGKP_M8(), YNGKP_M8(), and YNGKP_M8().