|
bpp-phyl
2.1.0
|
Partial implementation of the SubstitutionModel interface. More...
#include <Bpp/Phyl/Model/AbstractSubstitutionModel.h>
Inheritance diagram for bpp::AbstractSubstitutionModel:
Collaboration diagram for bpp::AbstractSubstitutionModel:Public Member Functions | |
| AbstractSubstitutionModel (const Alphabet *alpha, const std::string &prefix) | |
| AbstractSubstitutionModel (const AbstractSubstitutionModel &model) | |
| AbstractSubstitutionModel & | operator= (const AbstractSubstitutionModel &model) |
| virtual | ~AbstractSubstitutionModel () |
| virtual AbstractSubstitutionModel * | clone () const =0 |
| const Alphabet * | getAlphabet () const |
| const std::vector< int > & | getAlphabetChars () const |
| int | getAlphabetChar (size_t i) const |
| Get the char in the alphabet corresponding to a given state in the model. 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 const Vdouble & | getFrequencies () const |
| const Matrix< double > & | getGenerator () const |
| const Matrix< double > & | getExchangeabilityMatrix () const |
| double | Sij (size_t i, size_t j) const |
| virtual const Matrix< double > & | getPij_t (double t) const |
| virtual const Matrix< double > & | getdPij_dt (double t) const |
| virtual const Matrix< double > & | getd2Pij_dt2 (double t) const |
| const Vdouble & | getEigenValues () const |
| const Vdouble & | getIEigenValues () const |
| bool | isDiagonalizable () const |
| bool | isNonSingular () const |
| const Matrix< double > & | getRowLeftEigenVectors () const |
| const Matrix< double > & | getColumnRightEigenVectors () const |
| virtual double | freq (size_t i) const |
| virtual double | Qij (size_t i, size_t j) const |
| 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 |
| virtual double | d2Pij_dt2 (size_t i, size_t j, double t) const |
| double | getInitValue (size_t i, int state) const throw (IndexOutOfBoundsException, BadIntException) |
| 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 > &) |
| Set equilibrium frequencies. 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 void | fireParameterChanged (const ParameterList ¶meters) |
| Tells the model that a parameter value has changed. More... | |
| void | addRateParameter () |
| 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... | |
| 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 |
| Get the rate. More... | |
| virtual void | setRate (double rate) |
| Set the rate of the model (must be positive). More... | |
| virtual std::string | getName () const =0 |
| Get the name of the model. More... | |
| virtual size_t | getNumberOfStates () const =0 |
| Get the number of states. More... | |
| virtual 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 |
| virtual void | aliasParameters (const std::string &p1, const std::string &p2)=0 |
| virtual void | unaliasParameters (const std::string &p1, const std::string &p2)=0 |
| virtual const ParameterList & | getIndependentParameters () const =0 |
| virtual std::vector< std::string > | getAlias (const std::string &name) const =0 |
| void | setNamespace (const std::string &prefix) |
| const ParameterList & | getIndependentParameters () const |
| size_t | getNumberOfIndependentParameters () const |
| void | aliasParameters (const std::string &p1, const std::string &p2) |
| void | unaliasParameters (const std::string &p1, const std::string &p2) |
| std::vector< std::string > | getAlias (const std::string &name) const |
| 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 | |
| virtual void | updateMatrices () |
Diagonalize the matrix, and fill the eigenValues_, iEigenValues_, leftEigenVectors_ and rightEigenVectors_ matrices. More... | |
| 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 | |
| const Alphabet * | alphabet_ |
| The alphabet relevant to this model. More... | |
| size_t | size_ |
| The size of the generator, i.e. the number of states. More... | |
| double | rate_ |
| The rate of the model (default: 1). The generator (and all its vectorial components) is independent of the rate, since it should be normalized. More... | |
| std::vector< int > | chars_ |
| The list of supported chars. More... | |
| RowMatrix< double > | generator_ |
The generator matrix of the model. More... | |
| Vdouble | freq_ |
The vector of equilibrium frequencies. More... | |
| RowMatrix< double > | exchangeability_ |
The exchangeability matrix of the model, defined as . When the model is reversible, this matrix is symetric. More... | |
| RowMatrix< double > | pijt_ |
| These ones are for bookkeeping: More... | |
| RowMatrix< double > | dpijt_ |
| RowMatrix< double > | d2pijt_ |
| bool | eigenDecompose_ |
| Tell if the eigen decomposition should be performed. More... | |
| Vdouble | eigenValues_ |
| The vector of eigen values. More... | |
| Vdouble | iEigenValues_ |
| The vector of the imaginary part of the eigen values. More... | |
| bool | isDiagonalizable_ |
| boolean value for diagonalizability in R of the generator_ More... | |
| RowMatrix< double > | rightEigenVectors_ |
The matrix made of right eigen vectors (by column). More... | |
| bool | isNonSingular_ |
| boolean value for non-singularity of rightEigenVectors_ More... | |
| RowMatrix< double > | leftEigenVectors_ |
The matrix made of left eigen vectors (by row) if rightEigenVectors_ is non-singular. More... | |
| std::vector< RowMatrix< double > > | vPowGen_ |
| vector of the powers of generator_ for Taylor development (if rightEigenVectors_ is singular). More... | |
| RowMatrix< double > | tmpMat_ |
| For computational issues. More... | |
Friends | |
| class | AbstractBiblioSubstitutionModel |
Partial implementation of the SubstitutionModel interface.
This abstract class provides some fields, namely:
Access methods for these fields are implemented.
This class also provides the updateMatrices() method, which computes eigen values and vectors and fills the corresponding vector (eigenValues_) and matrices (leftEigenVectors_ and rightEigenVectors_) from the generator.
The freq_ vector and generator_ matrices are hence the only things to provide to create a substitution model. It is also possible to redefine one of these methods for better efficiency. The Pij_t, dPij_dt and d2Pij_dt2 are particularly inefficient since the matrix formula is used to compute all probabilities, and then the result for the initial and final state of interest is retrieved.
Definition at line 76 of file AbstractSubstitutionModel.h.
| AbstractSubstitutionModel::AbstractSubstitutionModel | ( | const Alphabet * | alpha, |
| const std::string & | prefix | ||
| ) |
|
inline |
Definition at line 187 of file AbstractSubstitutionModel.h.
|
inlinevirtual |
Definition at line 235 of file AbstractSubstitutionModel.h.
|
virtual |
Implements bpp::SubstitutionModel.
Definition at line 434 of file AbstractSubstitutionModel.cpp.
References bpp::AbstractParameterAliasable::addParameter_(), bpp::AbstractParameterAliasable::getNamespace(), and rate_.
|
pure virtual |
Implements bpp::SubstitutionModel.
Implemented in bpp::AbstractReversibleSubstitutionModel, bpp::YpR_Gen, bpp::YpR_Sym, bpp::HKY85, bpp::F84, bpp::JCprot, bpp::T92, bpp::K80, bpp::GTR, bpp::RN95, bpp::CodonDistanceFrequenciesSubstitutionModel, bpp::MixtureOfSubstitutionModels, bpp::TN93, bpp::RE08, bpp::JCnuc, bpp::AbstractCodonSubstitutionModel, bpp::CodonDistancePhaseFrequenciesSubstitutionModel, bpp::CodonDistanceFitnessPhaseFrequenciesSubstitutionModel, bpp::RN95s, bpp::BinarySubstitutionModel, bpp::CodonDistanceSubstitutionModel, bpp::UserProteinSubstitutionModel, bpp::MixtureOfASubstitutionModel, bpp::WAG01, bpp::SSR, bpp::L95, bpp::AbstractMixedSubstitutionModel, bpp::DSO78, bpp::JTT92, bpp::LG08, bpp::CodonRateFrequenciesSubstitutionModel, bpp::gBGC, bpp::WordSubstitutionModel, bpp::TripletSubstitutionModel, bpp::CodonRateSubstitutionModel, bpp::Coala, bpp::LLG08_EX3::EmbeddedModel, bpp::LLG08_EHO::EmbeddedModel, bpp::LLG08_UL3::EmbeddedModel, bpp::LGL08_CAT::EmbeddedModel, bpp::LLG08_EX2::EmbeddedModel, and bpp::LLG08_UL2::EmbeddedModel.
|
inlinevirtual |
Implements bpp::SubstitutionModel.
Reimplemented in bpp::RE08, bpp::JCnuc, and bpp::BinarySubstitutionModel.
Definition at line 280 of file AbstractSubstitutionModel.h.
References getd2Pij_dt2().
|
inlinevirtual |
Implements bpp::SubstitutionModel.
Reimplemented in bpp::RE08, bpp::JCnuc, and bpp::BinarySubstitutionModel.
Definition at line 279 of file AbstractSubstitutionModel.h.
References getdPij_dt().
|
inlinevirtual |
Set if eigenValues and Vectors must be computed.
Implements bpp::SubstitutionModel.
Definition at line 288 of file AbstractSubstitutionModel.h.
References eigenDecompose_.
|
inlinevirtual |
Tell if eigenValues and Vectors must be computed.
Implements bpp::SubstitutionModel.
Definition at line 290 of file AbstractSubstitutionModel.h.
References eigenDecompose_.
Referenced by bpp::AbstractCodonSubstitutionModel::AbstractCodonSubstitutionModel(), bpp::AbstractCodonSubstitutionModel::AbstractCodonSubstitutionModel(), bpp::AbstractWordSubstitutionModel::AbstractWordSubstitutionModel(), bpp::AbstractWordSubstitutionModel::AbstractWordSubstitutionModel(), bpp::AbstractWordSubstitutionModel::AbstractWordSubstitutionModel(), bpp::AbstractWordSubstitutionModel::updateMatrices(), bpp::AbstractWordSubstitutionModel::updateMatrices(), and updateMatrices().
|
inlinevirtual |
Tells the model that a parameter value has changed.
This updates the matrices consequently.
Reimplemented from bpp::AbstractParameterAliasable.
Reimplemented in bpp::JCprot, bpp::YpR, bpp::RE08, bpp::CodonDistanceFrequenciesSubstitutionModel, bpp::CodonDistancePhaseFrequenciesSubstitutionModel, bpp::CodonDistanceFitnessPhaseFrequenciesSubstitutionModel, bpp::CodonDistanceSubstitutionModel, bpp::UserProteinSubstitutionModel, bpp::WAG01, bpp::DSO78, bpp::JTT92, bpp::LG08, bpp::gBGC, bpp::CodonRateFrequenciesSubstitutionModel, and bpp::CodonRateSubstitutionModel.
Definition at line 297 of file AbstractSubstitutionModel.h.
References bpp::AbstractParameterAliasable::fireParameterChanged(), bpp::SubstitutionModel::getName(), bpp::ParameterList::size(), and updateMatrices().
Referenced by bpp::CodonRateSubstitutionModel::fireParameterChanged(), bpp::CodonRateFrequenciesSubstitutionModel::fireParameterChanged(), bpp::LG08::fireParameterChanged(), bpp::JTT92::fireParameterChanged(), bpp::DSO78::fireParameterChanged(), bpp::WAG01::fireParameterChanged(), bpp::UserProteinSubstitutionModel::fireParameterChanged(), bpp::CodonDistanceSubstitutionModel::fireParameterChanged(), bpp::CodonDistanceFitnessPhaseFrequenciesSubstitutionModel::fireParameterChanged(), bpp::CodonDistancePhaseFrequenciesSubstitutionModel::fireParameterChanged(), bpp::CodonDistanceFrequenciesSubstitutionModel::fireParameterChanged(), and bpp::JCprot::fireParameterChanged().
|
inlinevirtual |
Implements bpp::SubstitutionModel.
Definition at line 274 of file AbstractSubstitutionModel.h.
References freq_.
|
inlinevirtual |
Implements bpp::SubstitutionModel.
Definition at line 242 of file AbstractSubstitutionModel.h.
References alphabet_.
Referenced by bpp::AbstractWordSubstitutionModel::AbstractWordSubstitutionModel(), bpp::WordSubstitutionModel::completeMatrices(), bpp::AbstractWordSubstitutionModel::extractAlph(), bpp::AbstractWordSubstitutionModel::getNumberOfStates(), and bpp::AbstractWordSubstitutionModel::operator=().
|
inlinevirtual |
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 246 of file AbstractSubstitutionModel.h.
References chars_.
|
inlinevirtual |
Implements bpp::SubstitutionModel.
Definition at line 244 of file AbstractSubstitutionModel.h.
References chars_.
|
inlinevirtual |
Implements bpp::SubstitutionModel.
Definition at line 272 of file AbstractSubstitutionModel.h.
References rightEigenVectors_.
|
virtual |
Implements bpp::SubstitutionModel.
Reimplemented in bpp::AbstractMixedSubstitutionModel, bpp::F84, bpp::HKY85, bpp::JCprot, bpp::T92, bpp::K80, bpp::RN95, bpp::TN93, bpp::RE08, bpp::JCnuc, bpp::RN95s, bpp::BinarySubstitutionModel, and bpp::WordSubstitutionModel.
Definition at line 275 of file AbstractSubstitutionModel.cpp.
References bpp::MatrixTools::add(), bpp::MatrixTools::copy(), bpp::MatrixTools::copy(), d2pijt_, d2pijt_, d2pijt_, d2pijt_, d2pijt_, d2pijt_, d2pijt_, d2pijt_, eigenValues_, eigenValues_, eigenValues_, eigenValues_, bpp::VectorTools::exp(), bpp::MatrixTools::getId(), iEigenValues_, iEigenValues_, iEigenValues_, iEigenValues_, iEigenValues_, isDiagonalizable_, isNonSingular_, leftEigenVectors_, leftEigenVectors_, bpp::MatrixTools::mult(), bpp::MatrixTools::mult(), bpp::MatrixTools::mult(), rate_, rate_, rate_, rate_, rate_, rightEigenVectors_, bpp::MatrixTools::scale(), size_, size_, size_, size_, bpp::NumTools::sqr(), bpp::NumTools::sqr(), bpp::NumTools::sqr(), bpp::NumTools::sqr(), bpp::NumTools::sqr(), bpp::NumTools::sqr(), bpp::NumTools::sqr(), tmpMat_, tmpMat_, vPowGen_, and vPowGen_.
Referenced by d2Pij_dt2().
|
virtual |
Implements bpp::SubstitutionModel.
Reimplemented in bpp::AbstractMixedSubstitutionModel, bpp::F84, bpp::HKY85, bpp::JCprot, bpp::T92, bpp::K80, bpp::RN95, bpp::TN93, bpp::RE08, bpp::JCnuc, bpp::RN95s, bpp::BinarySubstitutionModel, and bpp::WordSubstitutionModel.
Definition at line 206 of file AbstractSubstitutionModel.cpp.
References bpp::MatrixTools::add(), bpp::MatrixTools::copy(), bpp::MatrixTools::copy(), dpijt_, dpijt_, dpijt_, dpijt_, dpijt_, dpijt_, dpijt_, dpijt_, eigenValues_, eigenValues_, eigenValues_, eigenValues_, bpp::VectorTools::exp(), bpp::MatrixTools::getId(), iEigenValues_, iEigenValues_, iEigenValues_, iEigenValues_, iEigenValues_, isDiagonalizable_, isNonSingular_, leftEigenVectors_, leftEigenVectors_, bpp::MatrixTools::mult(), bpp::MatrixTools::mult(), bpp::MatrixTools::mult(), rate_, rate_, rate_, rate_, rate_, rate_, rate_, rightEigenVectors_, bpp::MatrixTools::scale(), size_, size_, size_, size_, tmpMat_, tmpMat_, vPowGen_, and vPowGen_.
Referenced by dPij_dt().
|
inlinevirtual |
Implements bpp::SubstitutionModel.
Definition at line 262 of file AbstractSubstitutionModel.h.
References eigenValues_.
|
inlinevirtual |
. Implements bpp::SubstitutionModel.
Definition at line 254 of file AbstractSubstitutionModel.h.
References exchangeability_.
|
inlinevirtual |
Implements bpp::SubstitutionModel.
Definition at line 250 of file AbstractSubstitutionModel.h.
References freq_.
|
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().
|
inlinevirtual |
, 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 252 of file AbstractSubstitutionModel.h.
References generator_.
|
inlinevirtual |
Implements bpp::SubstitutionModel.
Definition at line 264 of file AbstractSubstitutionModel.h.
References iEigenValues_.
|
virtual |
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.
Reimplemented in bpp::RE08.
Definition at line 350 of file AbstractSubstitutionModel.cpp.
|
inlinevirtual |
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 248 of file AbstractSubstitutionModel.h.
References bpp::VectorTools::whichAll().
|
pure virtualinherited |
Get the name of the model.
Implemented in bpp::YpR_Gen, bpp::YpR_Sym, bpp::F84, bpp::HKY85, bpp::JCprot, bpp::T92, bpp::K80, bpp::RN95, bpp::CodonDistanceFrequenciesSubstitutionModel, bpp::GTR, bpp::TN93, bpp::RE08, bpp::MixtureOfSubstitutionModels, bpp::JCnuc, bpp::CodonDistancePhaseFrequenciesSubstitutionModel, bpp::CodonDistanceFitnessPhaseFrequenciesSubstitutionModel, bpp::RN95s, bpp::BinarySubstitutionModel, bpp::CodonDistanceSubstitutionModel, bpp::UserProteinSubstitutionModel, bpp::MixtureOfASubstitutionModel, bpp::LLG08_EX3, bpp::WordSubstitutionModel, bpp::LLG08_EHO, bpp::LLG08_UL3, bpp::WAG01, bpp::SSR, bpp::L95, bpp::LGL08_CAT, bpp::LLG08_EX2, bpp::LLG08_UL2, bpp::DSO78, bpp::JTT92, bpp::gBGC, bpp::CodonRateFrequenciesSubstitutionModel, bpp::G2001, bpp::LG08, bpp::YNGKP_M1, bpp::YNGKP_M8, bpp::TS98, bpp::YNGKP_M7, bpp::GY94, bpp::YNGKP_M2, bpp::YNGKP_M3, bpp::TripletSubstitutionModel, bpp::YN98, bpp::CodonRateSubstitutionModel, bpp::MG94, bpp::Coala, bpp::LLG08_EX3::EmbeddedModel, bpp::LLG08_EHO::EmbeddedModel, bpp::LLG08_UL3::EmbeddedModel, bpp::LGL08_CAT::EmbeddedModel, bpp::LLG08_EX2::EmbeddedModel, and bpp::LLG08_UL2::EmbeddedModel.
Referenced by bpp::AbstractCodonFitnessSubstitutionModel::AbstractCodonFitnessSubstitutionModel(), fireParameterChanged(), bpp::gBGC::getName(), bpp::MixtureOfSubstitutionModels::getSubmodelNumbers(), bpp::BppOSubstitutionModelFormat::readMixed_(), bpp::AbstractWordSubstitutionModel::updateMatrices(), bpp::AbstractBiblioSubstitutionModel::updateMatrices(), and bpp::BppOSubstitutionModelFormat::write().
|
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().
|
virtual |
Implements bpp::SubstitutionModel.
Reimplemented in bpp::AbstractMixedSubstitutionModel, bpp::F84, bpp::HKY85, bpp::JCprot, bpp::T92, bpp::K80, bpp::RN95, bpp::TN93, bpp::RE08, bpp::JCnuc, bpp::RN95s, bpp::BinarySubstitutionModel, and bpp::WordSubstitutionModel.
Definition at line 135 of file AbstractSubstitutionModel.cpp.
References bpp::MatrixTools::add(), bpp::MatrixTools::copy(), eigenValues_, bpp::VectorTools::exp(), bpp::MatrixTools::getId(), bpp::MatrixTools::getId(), iEigenValues_, iEigenValues_, iEigenValues_, isDiagonalizable_, isNonSingular_, leftEigenVectors_, leftEigenVectors_, bpp::MatrixTools::mult(), pijt_, pijt_, pijt_, pijt_, pijt_, pijt_, pijt_, rate_, rate_, rate_, rightEigenVectors_, rightEigenVectors_, size_, size_, size_, size_, tmpMat_, vPowGen_, and vPowGen_.
Referenced by Pij_t().
|
virtual |
Get the rate.
Implements bpp::SubstitutionModel.
Definition at line 416 of file AbstractSubstitutionModel.cpp.
References rate_.
|
inlinevirtual |
Implements bpp::SubstitutionModel.
Definition at line 270 of file AbstractSubstitutionModel.h.
References leftEigenVectors_.
|
virtual |
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 401 of file AbstractSubstitutionModel.cpp.
References bpp::MatrixTools::diag(), and freq_.
Referenced by bpp::AbstractReversibleSubstitutionModel::updateMatrices().
|
inlinevirtual |
Implements bpp::SubstitutionModel.
Definition at line 266 of file AbstractSubstitutionModel.h.
References isDiagonalizable_.
|
inlinevirtual |
Implements bpp::SubstitutionModel.
Definition at line 268 of file AbstractSubstitutionModel.h.
References isNonSingular_.
|
inline |
Definition at line 210 of file AbstractSubstitutionModel.h.
References alphabet_, alphabet_, chars_, chars_, d2pijt_, d2pijt_, dpijt_, dpijt_, eigenDecompose_, eigenDecompose_, eigenValues_, eigenValues_, exchangeability_, exchangeability_, freq_, freq_, generator_, generator_, iEigenValues_, iEigenValues_, isDiagonalizable_, isDiagonalizable_, isNonSingular_, isNonSingular_, leftEigenVectors_, leftEigenVectors_, bpp::AbstractParameterAliasable::operator=(), pijt_, pijt_, rate_, rate_, rightEigenVectors_, rightEigenVectors_, size_, size_, tmpMat_, tmpMat_, vPowGen_, and vPowGen_.
Referenced by bpp::LG08::operator=(), bpp::LG08::operator=(), bpp::DSO78::operator=(), bpp::DSO78::operator=(), bpp::JTT92::operator=(), bpp::JTT92::operator=(), bpp::gBGC::operator=(), bpp::WAG01::operator=(), bpp::WAG01::operator=(), bpp::UserProteinSubstitutionModel::operator=(), bpp::AbstractMixedSubstitutionModel::operator=(), bpp::UserProteinSubstitutionModel::operator=(), bpp::CodonDistanceSubstitutionModel::operator=(), bpp::CodonDistanceFitnessPhaseFrequenciesSubstitutionModel::operator=(), bpp::CodonDistancePhaseFrequenciesSubstitutionModel::operator=(), bpp::AbstractCodonSubstitutionModel::operator=(), bpp::AbstractWordSubstitutionModel::operator=(), bpp::RE08::operator=(), bpp::RE08::operator=(), bpp::CodonDistanceFrequenciesSubstitutionModel::operator=(), bpp::JCprot::operator=(), and bpp::JCprot::operator=().
|
inlinevirtual |
Implements bpp::SubstitutionModel.
Reimplemented in bpp::RE08, bpp::JCnuc, and bpp::BinarySubstitutionModel.
Definition at line 278 of file AbstractSubstitutionModel.h.
References getPij_t().
|
inlinevirtual |
Implements bpp::SubstitutionModel.
Reimplemented in bpp::AbstractMixedSubstitutionModel.
Definition at line 276 of file AbstractSubstitutionModel.h.
References generator_.
|
virtual |
Set equilibrium frequencies.
| frequencies | The map of the frequencies to use. |
Reimplemented from bpp::SubstitutionModel.
Reimplemented in 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::BinarySubstitutionModel, bpp::SSR, bpp::L95, and bpp::CodonRateFrequenciesSubstitutionModel.
Definition at line 389 of file AbstractSubstitutionModel.cpp.
References freq_, size_, and updateMatrices().
Referenced by setFreqFromData().
|
virtual |
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 367 of file AbstractSubstitutionModel.cpp.
References bpp::SequenceContainerTools::getCounts(), setFreq(), size_, and size_.
|
virtual |
Set the rate of the model (must be positive).
| rate | must be positive. |
Implements bpp::SubstitutionModel.
Reimplemented in bpp::AbstractMixedSubstitutionModel.
Definition at line 423 of file AbstractSubstitutionModel.cpp.
References bpp::AbstractParameterAliasable::hasParameter(), rate_, rate_, bpp::AbstractParameterAliasable::setParameterValue(), and bpp::TextTools::toString().
Referenced by bpp::AbstractMixedSubstitutionModel::setRate().
|
virtual |
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 410 of file AbstractSubstitutionModel.cpp.
References bpp::MatrixTools::scale().
|
inlinevirtual |
By definition Sij(i,j) = Sij(j,i).
Implements bpp::SubstitutionModel.
Definition at line 256 of file AbstractSubstitutionModel.h.
References exchangeability_.
|
protectedvirtual |
Diagonalize the
matrix, and fill the eigenValues_, iEigenValues_, leftEigenVectors_ and rightEigenVectors_ matrices.
The generator_ matrix and freq_ vector must be initialized.
Eigen values and vectors are computed from the generator and assigned to the eigenValues_ for the real part, iEigenValues_ for the imaginary part, rightEigenVectors_ and leftEigenVectors_ variables. isDiagonalizable_ checks if the generator_ is diagonalizable in R.
The optional rate parameter is not taken into account in this method to prevent unnecessary computation.
Reimplemented in bpp::AbstractReversibleSubstitutionModel, bpp::YpR_Gen, bpp::YpR_Sym, bpp::JCprot, bpp::F84, bpp::HKY85, bpp::T92, bpp::RE08, bpp::K80, bpp::YpR, bpp::JCnuc, bpp::RN95, bpp::TN93, bpp::GTR, bpp::MixtureOfSubstitutionModels, bpp::AbstractCodonSubstitutionModel, bpp::RN95s, bpp::BinarySubstitutionModel, bpp::MixtureOfASubstitutionModel, bpp::SSR, bpp::gBGC, bpp::L95, bpp::WordSubstitutionModel, bpp::Coala, and bpp::AbstractWordSubstitutionModel.
Definition at line 87 of file AbstractSubstitutionModel.cpp.
References bpp::ApplicationTools::displayMessage(), eigenValues_, enableEigenDecomposition(), exchangeability_, freq_, generator_, generator_, bpp::EigenValue< Real >::getImagEigenValues(), bpp::EigenValue< Real >::getRealEigenValues(), bpp::EigenValue< Real >::getV(), iEigenValues_, iEigenValues_, bpp::MatrixTools::inv(), isDiagonalizable_, isDiagonalizable_, isDiagonalizable_, isNonSingular_, isNonSingular_, leftEigenVectors_, rightEigenVectors_, size_, size_, size_, bpp::MatrixTools::Taylor(), bpp::NumConstants::TINY(), and vPowGen_.
Referenced by fireParameterChanged(), setFreq(), bpp::L95::updateMatrices(), bpp::RE08::updateMatrices(), and bpp::AbstractReversibleSubstitutionModel::updateMatrices().
|
friend |
Definition at line 335 of file AbstractSubstitutionModel.h.
|
protected |
The alphabet relevant to this model.
Definition at line 84 of file AbstractSubstitutionModel.h.
Referenced by bpp::AbstractWordSubstitutionModel::AbstractWordSubstitutionModel(), bpp::AbstractCodonSubstitutionModel::completeMatrices(), getAlphabet(), bpp::AbstractWordSubstitutionModel::operator=(), operator=(), operator=(), and bpp::AbstractWordSubstitutionModel::~AbstractWordSubstitutionModel().
|
protected |
The list of supported chars.
Definition at line 102 of file AbstractSubstitutionModel.h.
Referenced by AbstractSubstitutionModel(), getAlphabetChar(), getAlphabetChars(), getModelStates(), operator=(), operator=(), and bpp::RE08::RE08().
|
mutableprotected |
Definition at line 129 of file AbstractSubstitutionModel.h.
Referenced by bpp::WordSubstitutionModel::getd2Pij_dt2(), bpp::WordSubstitutionModel::getd2Pij_dt2(), bpp::AbstractMixedSubstitutionModel::getd2Pij_dt2(), bpp::AbstractMixedSubstitutionModel::getd2Pij_dt2(), getd2Pij_dt2(), getd2Pij_dt2(), getd2Pij_dt2(), getd2Pij_dt2(), getd2Pij_dt2(), getd2Pij_dt2(), getd2Pij_dt2(), getd2Pij_dt2(), getd2Pij_dt2(), getd2Pij_dt2(), getd2Pij_dt2(), operator=(), and operator=().
|
mutableprotected |
Definition at line 128 of file AbstractSubstitutionModel.h.
Referenced by bpp::WordSubstitutionModel::getdPij_dt(), bpp::WordSubstitutionModel::getdPij_dt(), bpp::AbstractMixedSubstitutionModel::getdPij_dt(), bpp::AbstractMixedSubstitutionModel::getdPij_dt(), getdPij_dt(), getdPij_dt(), getdPij_dt(), getdPij_dt(), getdPij_dt(), getdPij_dt(), getdPij_dt(), getdPij_dt(), getdPij_dt(), getdPij_dt(), getdPij_dt(), operator=(), and operator=().
|
protected |
Tell if the eigen decomposition should be performed.
Definition at line 134 of file AbstractSubstitutionModel.h.
Referenced by bpp::AbstractMixedSubstitutionModel::AbstractMixedSubstitutionModel(), enableEigenDecomposition(), enableEigenDecomposition(), operator=(), and operator=().
|
protected |
The vector of eigen values.
Definition at line 139 of file AbstractSubstitutionModel.h.
Referenced by bpp::AbstractMixedSubstitutionModel::AbstractMixedSubstitutionModel(), getd2Pij_dt2(), getd2Pij_dt2(), getd2Pij_dt2(), getd2Pij_dt2(), getd2Pij_dt2(), getd2Pij_dt2(), getdPij_dt(), getdPij_dt(), getdPij_dt(), getdPij_dt(), getdPij_dt(), getEigenValues(), getPij_t(), getPij_t(), operator=(), operator=(), bpp::RE08::RE08(), bpp::AbstractWordSubstitutionModel::updateMatrices(), bpp::AbstractWordSubstitutionModel::updateMatrices(), bpp::AbstractWordSubstitutionModel::updateMatrices(), bpp::AbstractWordSubstitutionModel::updateMatrices(), bpp::AbstractWordSubstitutionModel::updateMatrices(), bpp::AbstractWordSubstitutionModel::updateMatrices(), bpp::gBGC::updateMatrices(), bpp::gBGC::updateMatrices(), bpp::gBGC::updateMatrices(), bpp::gBGC::updateMatrices(), bpp::BinarySubstitutionModel::updateMatrices(), bpp::BinarySubstitutionModel::updateMatrices(), bpp::RN95s::updateMatrices(), bpp::RN95s::updateMatrices(), bpp::RN95s::updateMatrices(), bpp::RN95s::updateMatrices(), bpp::YpR::updateMatrices(), bpp::YpR::updateMatrices(), bpp::YpR::updateMatrices(), bpp::YpR::updateMatrices(), bpp::RN95::updateMatrices(), bpp::JCnuc::updateMatrices(), bpp::RN95::updateMatrices(), bpp::JCnuc::updateMatrices(), bpp::JCnuc::updateMatrices(), bpp::RN95::updateMatrices(), bpp::RN95::updateMatrices(), bpp::JCnuc::updateMatrices(), bpp::TN93::updateMatrices(), bpp::K80::updateMatrices(), bpp::K80::updateMatrices(), bpp::K80::updateMatrices(), bpp::T92::updateMatrices(), bpp::T92::updateMatrices(), bpp::T92::updateMatrices(), bpp::T92::updateMatrices(), bpp::HKY85::updateMatrices(), bpp::HKY85::updateMatrices(), bpp::HKY85::updateMatrices(), bpp::F84::updateMatrices(), bpp::F84::updateMatrices(), bpp::F84::updateMatrices(), bpp::JCprot::updateMatrices(), bpp::JCprot::updateMatrices(), and updateMatrices().
|
protected |
The exchangeability matrix
of the model, defined as
. When the model is reversible, this matrix is symetric.
Definition at line 122 of file AbstractSubstitutionModel.h.
Referenced by bpp::AbstractMixedSubstitutionModel::AbstractMixedSubstitutionModel(), bpp::Coala::Coala(), bpp::LGL08_CAT::EmbeddedModel::EmbeddedModel(), bpp::LGL08_CAT::EmbeddedModel::EmbeddedModel(), getExchangeabilityMatrix(), operator=(), operator=(), bpp::RE08::RE08(), bpp::Coala::readFromFile(), bpp::Coala::readFromFile(), bpp::Coala::readFromFile(), bpp::Coala::readFromFile(), bpp::UserProteinSubstitutionModel::readFromFile(), bpp::UserProteinSubstitutionModel::readFromFile(), bpp::UserProteinSubstitutionModel::readFromFile(), bpp::UserProteinSubstitutionModel::readFromFile(), Sij(), bpp::AbstractWordSubstitutionModel::updateMatrices(), bpp::gBGC::updateMatrices(), bpp::SSR::updateMatrices(), bpp::SSR::updateMatrices(), bpp::SSR::updateMatrices(), bpp::SSR::updateMatrices(), bpp::SSR::updateMatrices(), bpp::SSR::updateMatrices(), bpp::SSR::updateMatrices(), bpp::SSR::updateMatrices(), bpp::SSR::updateMatrices(), bpp::SSR::updateMatrices(), bpp::SSR::updateMatrices(), bpp::SSR::updateMatrices(), bpp::SSR::updateMatrices(), bpp::SSR::updateMatrices(), bpp::SSR::updateMatrices(), bpp::SSR::updateMatrices(), bpp::RN95s::updateMatrices(), bpp::YpR::updateMatrices(), bpp::GTR::updateMatrices(), bpp::GTR::updateMatrices(), bpp::GTR::updateMatrices(), bpp::GTR::updateMatrices(), bpp::GTR::updateMatrices(), bpp::GTR::updateMatrices(), bpp::GTR::updateMatrices(), bpp::GTR::updateMatrices(), bpp::GTR::updateMatrices(), bpp::GTR::updateMatrices(), bpp::GTR::updateMatrices(), bpp::GTR::updateMatrices(), bpp::GTR::updateMatrices(), bpp::GTR::updateMatrices(), bpp::GTR::updateMatrices(), bpp::GTR::updateMatrices(), bpp::TN93::updateMatrices(), bpp::TN93::updateMatrices(), bpp::TN93::updateMatrices(), bpp::TN93::updateMatrices(), bpp::TN93::updateMatrices(), bpp::TN93::updateMatrices(), bpp::RN95::updateMatrices(), bpp::JCnuc::updateMatrices(), bpp::TN93::updateMatrices(), bpp::TN93::updateMatrices(), bpp::TN93::updateMatrices(), bpp::TN93::updateMatrices(), bpp::TN93::updateMatrices(), bpp::TN93::updateMatrices(), bpp::TN93::updateMatrices(), bpp::TN93::updateMatrices(), bpp::TN93::updateMatrices(), bpp::TN93::updateMatrices(), bpp::K80::updateMatrices(), bpp::K80::updateMatrices(), bpp::RE08::updateMatrices(), bpp::RE08::updateMatrices(), bpp::RE08::updateMatrices(), bpp::RE08::updateMatrices(), bpp::RE08::updateMatrices(), bpp::T92::updateMatrices(), bpp::T92::updateMatrices(), bpp::T92::updateMatrices(), bpp::T92::updateMatrices(), bpp::T92::updateMatrices(), bpp::T92::updateMatrices(), bpp::T92::updateMatrices(), bpp::T92::updateMatrices(), bpp::T92::updateMatrices(), bpp::T92::updateMatrices(), bpp::T92::updateMatrices(), bpp::T92::updateMatrices(), bpp::T92::updateMatrices(), bpp::T92::updateMatrices(), bpp::T92::updateMatrices(), bpp::T92::updateMatrices(), bpp::HKY85::updateMatrices(), bpp::HKY85::updateMatrices(), bpp::HKY85::updateMatrices(), bpp::HKY85::updateMatrices(), bpp::HKY85::updateMatrices(), bpp::HKY85::updateMatrices(), bpp::HKY85::updateMatrices(), bpp::HKY85::updateMatrices(), bpp::HKY85::updateMatrices(), bpp::HKY85::updateMatrices(), bpp::HKY85::updateMatrices(), bpp::HKY85::updateMatrices(), bpp::HKY85::updateMatrices(), bpp::HKY85::updateMatrices(), bpp::HKY85::updateMatrices(), bpp::HKY85::updateMatrices(), bpp::F84::updateMatrices(), bpp::F84::updateMatrices(), bpp::F84::updateMatrices(), bpp::F84::updateMatrices(), bpp::F84::updateMatrices(), bpp::F84::updateMatrices(), bpp::F84::updateMatrices(), bpp::F84::updateMatrices(), bpp::F84::updateMatrices(), bpp::F84::updateMatrices(), bpp::F84::updateMatrices(), bpp::F84::updateMatrices(), bpp::F84::updateMatrices(), bpp::F84::updateMatrices(), bpp::F84::updateMatrices(), bpp::F84::updateMatrices(), bpp::JCprot::updateMatrices(), updateMatrices(), bpp::AbstractReversibleSubstitutionModel::updateMatrices(), bpp::AbstractReversibleSubstitutionModel::updateMatrices(), and bpp::AbstractReversibleSubstitutionModel::updateMatrices().
|
protected |
The vector
of equilibrium frequencies.
Definition at line 113 of file AbstractSubstitutionModel.h.
Referenced by AbstractSubstitutionModel(), bpp::WordSubstitutionModel::completeMatrices(), bpp::WordSubstitutionModel::completeMatrices(), bpp::Coala::computeEquilibriumFrequencies(), bpp::Coala::computeEquilibriumFrequencies(), bpp::Coala::computeEquilibriumFrequencies(), bpp::Coala::computeEquilibriumFrequencies(), bpp::Coala::computeEquilibriumFrequencies(), bpp::Coala::computeEquilibriumFrequencies(), bpp::Coala::computeEquilibriumFrequencies(), bpp::Coala::computeEquilibriumFrequencies(), bpp::RE08::d2Pij_dt2(), bpp::RE08::d2Pij_dt2(), bpp::RE08::d2Pij_dt2(), bpp::RE08::dPij_dt(), bpp::RE08::dPij_dt(), bpp::RE08::dPij_dt(), bpp::DSO78::DSO78(), bpp::DSO78::DSO78(), bpp::DSO78::DSO78(), bpp::LG08::fireParameterChanged(), bpp::DSO78::fireParameterChanged(), bpp::JTT92::fireParameterChanged(), bpp::WAG01::fireParameterChanged(), bpp::UserProteinSubstitutionModel::fireParameterChanged(), bpp::JCprot::fireParameterChanged(), freq(), bpp::RE08::getd2Pij_dt2(), bpp::RE08::getd2Pij_dt2(), bpp::RE08::getd2Pij_dt2(), bpp::RE08::getdPij_dt(), bpp::RE08::getdPij_dt(), bpp::RE08::getdPij_dt(), getFrequencies(), bpp::RN95s::getPij_t(), bpp::RN95s::getPij_t(), bpp::RN95s::getPij_t(), bpp::RN95s::getPij_t(), bpp::RN95s::getPij_t(), bpp::RN95s::getPij_t(), bpp::RN95s::getPij_t(), bpp::RN95s::getPij_t(), bpp::RN95s::getPij_t(), bpp::RN95s::getPij_t(), bpp::RN95s::getPij_t(), bpp::RN95s::getPij_t(), bpp::RN95s::getPij_t(), bpp::RN95s::getPij_t(), bpp::RN95s::getPij_t(), bpp::RN95s::getPij_t(), bpp::RE08::getPij_t(), bpp::RE08::getPij_t(), bpp::RE08::getPij_t(), bpp::RE08::getPij_t(), bpp::RN95::getPij_t(), bpp::RN95::getPij_t(), bpp::RN95::getPij_t(), bpp::RN95::getPij_t(), bpp::RN95::getPij_t(), bpp::RN95::getPij_t(), bpp::RN95::getPij_t(), bpp::RN95::getPij_t(), bpp::RN95::getPij_t(), bpp::RN95::getPij_t(), bpp::RN95::getPij_t(), bpp::RN95::getPij_t(), bpp::RN95::getPij_t(), bpp::RN95::getPij_t(), bpp::RN95::getPij_t(), bpp::RN95::getPij_t(), getScale(), bpp::JCprot::JCprot(), bpp::JCprot::JCprot(), bpp::JCprot::JCprot(), bpp::JTT92::JTT92(), bpp::JTT92::JTT92(), bpp::JTT92::JTT92(), bpp::LG08::LG08(), bpp::LG08::LG08(), bpp::LG08::LG08(), operator=(), operator=(), bpp::RN95s::Pij_t(), bpp::RN95s::Pij_t(), bpp::RN95s::Pij_t(), bpp::RN95s::Pij_t(), bpp::RN95s::Pij_t(), bpp::RN95s::Pij_t(), bpp::RN95s::Pij_t(), bpp::RN95s::Pij_t(), bpp::RN95s::Pij_t(), bpp::RN95s::Pij_t(), bpp::RN95s::Pij_t(), bpp::RN95s::Pij_t(), bpp::RN95s::Pij_t(), bpp::RN95s::Pij_t(), bpp::RN95s::Pij_t(), bpp::RN95s::Pij_t(), bpp::RE08::Pij_t(), bpp::RE08::Pij_t(), bpp::RE08::Pij_t(), bpp::RE08::Pij_t(), bpp::RN95::Pij_t(), bpp::RN95::Pij_t(), bpp::RN95::Pij_t(), bpp::RN95::Pij_t(), bpp::RN95::Pij_t(), bpp::RN95::Pij_t(), bpp::RN95::Pij_t(), bpp::RN95::Pij_t(), bpp::RN95::Pij_t(), bpp::RN95::Pij_t(), bpp::RN95::Pij_t(), bpp::RN95::Pij_t(), bpp::RN95::Pij_t(), bpp::RN95::Pij_t(), bpp::RN95::Pij_t(), bpp::RN95::Pij_t(), bpp::RE08::RE08(), bpp::UserProteinSubstitutionModel::readFromFile(), bpp::UserProteinSubstitutionModel::readFromFile(), setFreq(), bpp::LG08::setFreqFromData(), bpp::LG08::setFreqFromData(), bpp::JTT92::setFreqFromData(), bpp::DSO78::setFreqFromData(), bpp::JTT92::setFreqFromData(), bpp::WAG01::setFreqFromData(), bpp::UserProteinSubstitutionModel::setFreqFromData(), bpp::UserProteinSubstitutionModel::setFreqFromData(), bpp::JCprot::setFreqFromData(), bpp::JCprot::setFreqFromData(), bpp::AbstractWordSubstitutionModel::updateMatrices(), bpp::AbstractWordSubstitutionModel::updateMatrices(), bpp::AbstractWordSubstitutionModel::updateMatrices(), bpp::AbstractWordSubstitutionModel::updateMatrices(), bpp::AbstractWordSubstitutionModel::updateMatrices(), bpp::AbstractWordSubstitutionModel::updateMatrices(), bpp::L95::updateMatrices(), bpp::L95::updateMatrices(), bpp::L95::updateMatrices(), bpp::L95::updateMatrices(), bpp::gBGC::updateMatrices(), bpp::gBGC::updateMatrices(), bpp::gBGC::updateMatrices(), bpp::gBGC::updateMatrices(), bpp::gBGC::updateMatrices(), bpp::SSR::updateMatrices(), bpp::SSR::updateMatrices(), bpp::SSR::updateMatrices(), bpp::SSR::updateMatrices(), bpp::MixtureOfASubstitutionModel::updateMatrices(), bpp::MixtureOfASubstitutionModel::updateMatrices(), bpp::BinarySubstitutionModel::updateMatrices(), bpp::BinarySubstitutionModel::updateMatrices(), bpp::RN95s::updateMatrices(), bpp::RN95s::updateMatrices(), bpp::RN95s::updateMatrices(), bpp::RN95s::updateMatrices(), bpp::RN95s::updateMatrices(), bpp::RN95s::updateMatrices(), bpp::RN95s::updateMatrices(), bpp::RN95s::updateMatrices(), bpp::RN95s::updateMatrices(), bpp::RN95s::updateMatrices(), bpp::RN95s::updateMatrices(), bpp::RN95s::updateMatrices(), bpp::RN95s::updateMatrices(), bpp::RN95s::updateMatrices(), bpp::RN95s::updateMatrices(), bpp::MixtureOfSubstitutionModels::updateMatrices(), bpp::MixtureOfSubstitutionModels::updateMatrices(), bpp::YpR::updateMatrices(), bpp::YpR::updateMatrices(), bpp::YpR::updateMatrices(), bpp::YpR::updateMatrices(), bpp::YpR::updateMatrices(), bpp::YpR::updateMatrices(), bpp::GTR::updateMatrices(), bpp::GTR::updateMatrices(), bpp::GTR::updateMatrices(), bpp::GTR::updateMatrices(), bpp::RN95::updateMatrices(), bpp::JCnuc::updateMatrices(), bpp::TN93::updateMatrices(), bpp::JCnuc::updateMatrices(), bpp::TN93::updateMatrices(), bpp::JCnuc::updateMatrices(), bpp::RN95::updateMatrices(), bpp::JCnuc::updateMatrices(), bpp::TN93::updateMatrices(), bpp::RN95::updateMatrices(), bpp::TN93::updateMatrices(), bpp::K80::updateMatrices(), bpp::K80::updateMatrices(), bpp::K80::updateMatrices(), bpp::K80::updateMatrices(), bpp::RE08::updateMatrices(), bpp::RE08::updateMatrices(), bpp::T92::updateMatrices(), bpp::T92::updateMatrices(), bpp::T92::updateMatrices(), bpp::T92::updateMatrices(), bpp::HKY85::updateMatrices(), bpp::HKY85::updateMatrices(), bpp::HKY85::updateMatrices(), bpp::HKY85::updateMatrices(), bpp::F84::updateMatrices(), bpp::F84::updateMatrices(), bpp::F84::updateMatrices(), bpp::F84::updateMatrices(), bpp::JCprot::updateMatrices(), updateMatrices(), bpp::AbstractReversibleSubstitutionModel::updateMatrices(), bpp::AbstractReversibleSubstitutionModel::updateMatrices(), bpp::UserProteinSubstitutionModel::UserProteinSubstitutionModel(), bpp::UserProteinSubstitutionModel::UserProteinSubstitutionModel(), bpp::UserProteinSubstitutionModel::UserProteinSubstitutionModel(), bpp::WAG01::WAG01(), bpp::WAG01::WAG01(), and bpp::WAG01::WAG01().
|
protected |
The generator matrix
of the model.
Definition at line 107 of file AbstractSubstitutionModel.h.
Referenced by bpp::AbstractMixedSubstitutionModel::AbstractMixedSubstitutionModel(), bpp::Coala::Coala(), bpp::Coala::Coala(), bpp::AbstractCodonSubstitutionModel::completeMatrices(), bpp::AbstractCodonSubstitutionModel::completeMatrices(), getGenerator(), getScale(), operator=(), operator=(), Qij(), bpp::RE08::RE08(), setScale(), bpp::AbstractWordSubstitutionModel::updateMatrices(), bpp::AbstractWordSubstitutionModel::updateMatrices(), bpp::AbstractWordSubstitutionModel::updateMatrices(), bpp::AbstractWordSubstitutionModel::updateMatrices(), bpp::AbstractWordSubstitutionModel::updateMatrices(), bpp::AbstractWordSubstitutionModel::updateMatrices(), bpp::AbstractWordSubstitutionModel::updateMatrices(), bpp::AbstractWordSubstitutionModel::updateMatrices(), bpp::AbstractWordSubstitutionModel::updateMatrices(), bpp::AbstractWordSubstitutionModel::updateMatrices(), bpp::AbstractWordSubstitutionModel::updateMatrices(), bpp::AbstractWordSubstitutionModel::updateMatrices(), bpp::AbstractWordSubstitutionModel::updateMatrices(), bpp::AbstractWordSubstitutionModel::updateMatrices(), bpp::AbstractWordSubstitutionModel::updateMatrices(), bpp::L95::updateMatrices(), bpp::L95::updateMatrices(), bpp::L95::updateMatrices(), bpp::L95::updateMatrices(), bpp::L95::updateMatrices(), bpp::L95::updateMatrices(), bpp::L95::updateMatrices(), bpp::L95::updateMatrices(), bpp::L95::updateMatrices(), bpp::L95::updateMatrices(), bpp::L95::updateMatrices(), bpp::L95::updateMatrices(), bpp::L95::updateMatrices(), bpp::L95::updateMatrices(), bpp::L95::updateMatrices(), bpp::L95::updateMatrices(), bpp::L95::updateMatrices(), bpp::gBGC::updateMatrices(), bpp::gBGC::updateMatrices(), bpp::gBGC::updateMatrices(), bpp::gBGC::updateMatrices(), bpp::gBGC::updateMatrices(), bpp::gBGC::updateMatrices(), bpp::gBGC::updateMatrices(), bpp::gBGC::updateMatrices(), bpp::gBGC::updateMatrices(), bpp::gBGC::updateMatrices(), bpp::gBGC::updateMatrices(), bpp::gBGC::updateMatrices(), bpp::gBGC::updateMatrices(), bpp::gBGC::updateMatrices(), bpp::gBGC::updateMatrices(), bpp::BinarySubstitutionModel::updateMatrices(), bpp::BinarySubstitutionModel::updateMatrices(), bpp::BinarySubstitutionModel::updateMatrices(), bpp::BinarySubstitutionModel::updateMatrices(), bpp::RN95s::updateMatrices(), bpp::RN95s::updateMatrices(), bpp::RN95s::updateMatrices(), bpp::RN95s::updateMatrices(), bpp::RN95s::updateMatrices(), bpp::RN95s::updateMatrices(), bpp::RN95s::updateMatrices(), bpp::RN95s::updateMatrices(), bpp::RN95s::updateMatrices(), bpp::RN95s::updateMatrices(), bpp::RN95s::updateMatrices(), bpp::RN95s::updateMatrices(), bpp::RN95s::updateMatrices(), bpp::RN95s::updateMatrices(), bpp::RN95s::updateMatrices(), bpp::RN95s::updateMatrices(), bpp::RN95s::updateMatrices(), bpp::RN95s::updateMatrices(), bpp::RN95s::updateMatrices(), bpp::RN95s::updateMatrices(), bpp::YpR::updateMatrices(), bpp::YpR::updateMatrices(), bpp::YpR::updateMatrices(), bpp::YpR::updateMatrices(), bpp::YpR::updateMatrices(), bpp::YpR::updateMatrices(), bpp::YpR::updateMatrices(), bpp::YpR::updateMatrices(), bpp::YpR::updateMatrices(), bpp::YpR::updateMatrices(), bpp::YpR::updateMatrices(), bpp::YpR::updateMatrices(), bpp::YpR::updateMatrices(), bpp::YpR::updateMatrices(), bpp::YpR::updateMatrices(), bpp::YpR::updateMatrices(), bpp::YpR::updateMatrices(), bpp::YpR::updateMatrices(), bpp::YpR::updateMatrices(), bpp::YpR::updateMatrices(), bpp::YpR::updateMatrices(), bpp::YpR::updateMatrices(), bpp::YpR::updateMatrices(), bpp::YpR::updateMatrices(), bpp::YpR::updateMatrices(), bpp::YpR::updateMatrices(), bpp::YpR::updateMatrices(), bpp::YpR::updateMatrices(), bpp::YpR::updateMatrices(), bpp::YpR::updateMatrices(), bpp::YpR::updateMatrices(), bpp::YpR::updateMatrices(), bpp::RN95::updateMatrices(), bpp::RN95::updateMatrices(), bpp::RN95::updateMatrices(), bpp::RN95::updateMatrices(), bpp::RN95::updateMatrices(), bpp::TN93::updateMatrices(), bpp::RN95::updateMatrices(), bpp::RN95::updateMatrices(), bpp::RN95::updateMatrices(), bpp::TN93::updateMatrices(), bpp::RN95::updateMatrices(), bpp::RN95::updateMatrices(), bpp::RN95::updateMatrices(), bpp::RN95::updateMatrices(), bpp::RN95::updateMatrices(), bpp::RN95::updateMatrices(), bpp::RN95::updateMatrices(), bpp::TN93::updateMatrices(), bpp::TN93::updateMatrices(), bpp::TN93::updateMatrices(), bpp::TN93::updateMatrices(), bpp::TN93::updateMatrices(), bpp::TN93::updateMatrices(), bpp::TN93::updateMatrices(), bpp::TN93::updateMatrices(), bpp::TN93::updateMatrices(), bpp::TN93::updateMatrices(), bpp::TN93::updateMatrices(), bpp::TN93::updateMatrices(), bpp::TN93::updateMatrices(), bpp::TN93::updateMatrices(), bpp::JCnuc::updateMatrices(), bpp::TN93::updateMatrices(), bpp::JCnuc::updateMatrices(), bpp::TN93::updateMatrices(), bpp::TN93::updateMatrices(), bpp::TN93::updateMatrices(), bpp::TN93::updateMatrices(), bpp::TN93::updateMatrices(), bpp::TN93::updateMatrices(), bpp::TN93::updateMatrices(), bpp::TN93::updateMatrices(), bpp::TN93::updateMatrices(), bpp::TN93::updateMatrices(), bpp::TN93::updateMatrices(), bpp::TN93::updateMatrices(), bpp::TN93::updateMatrices(), bpp::TN93::updateMatrices(), bpp::TN93::updateMatrices(), bpp::TN93::updateMatrices(), bpp::RN95::updateMatrices(), bpp::TN93::updateMatrices(), bpp::RN95::updateMatrices(), bpp::RN95::updateMatrices(), bpp::RN95::updateMatrices(), bpp::RN95::updateMatrices(), bpp::K80::updateMatrices(), bpp::K80::updateMatrices(), bpp::K80::updateMatrices(), bpp::K80::updateMatrices(), bpp::K80::updateMatrices(), bpp::K80::updateMatrices(), bpp::K80::updateMatrices(), bpp::K80::updateMatrices(), bpp::K80::updateMatrices(), bpp::K80::updateMatrices(), bpp::K80::updateMatrices(), bpp::K80::updateMatrices(), bpp::K80::updateMatrices(), bpp::K80::updateMatrices(), bpp::K80::updateMatrices(), bpp::K80::updateMatrices(), bpp::K80::updateMatrices(), bpp::K80::updateMatrices(), bpp::RE08::updateMatrices(), bpp::RE08::updateMatrices(), bpp::RE08::updateMatrices(), bpp::RE08::updateMatrices(), bpp::RE08::updateMatrices(), bpp::T92::updateMatrices(), bpp::T92::updateMatrices(), bpp::T92::updateMatrices(), bpp::T92::updateMatrices(), bpp::T92::updateMatrices(), bpp::T92::updateMatrices(), bpp::T92::updateMatrices(), bpp::T92::updateMatrices(), bpp::T92::updateMatrices(), bpp::T92::updateMatrices(), bpp::T92::updateMatrices(), bpp::T92::updateMatrices(), bpp::T92::updateMatrices(), bpp::T92::updateMatrices(), bpp::T92::updateMatrices(), bpp::T92::updateMatrices(), bpp::T92::updateMatrices(), bpp::T92::updateMatrices(), bpp::T92::updateMatrices(), bpp::T92::updateMatrices(), bpp::T92::updateMatrices(), bpp::T92::updateMatrices(), bpp::T92::updateMatrices(), bpp::T92::updateMatrices(), bpp::T92::updateMatrices(), bpp::T92::updateMatrices(), bpp::T92::updateMatrices(), bpp::T92::updateMatrices(), bpp::T92::updateMatrices(), bpp::T92::updateMatrices(), bpp::T92::updateMatrices(), bpp::T92::updateMatrices(), bpp::T92::updateMatrices(), bpp::HKY85::updateMatrices(), bpp::HKY85::updateMatrices(), bpp::HKY85::updateMatrices(), bpp::HKY85::updateMatrices(), bpp::HKY85::updateMatrices(), bpp::HKY85::updateMatrices(), bpp::HKY85::updateMatrices(), bpp::HKY85::updateMatrices(), bpp::HKY85::updateMatrices(), bpp::HKY85::updateMatrices(), bpp::HKY85::updateMatrices(), bpp::HKY85::updateMatrices(), bpp::HKY85::updateMatrices(), bpp::HKY85::updateMatrices(), bpp::HKY85::updateMatrices(), bpp::HKY85::updateMatrices(), bpp::HKY85::updateMatrices(), bpp::HKY85::updateMatrices(), bpp::HKY85::updateMatrices(), bpp::HKY85::updateMatrices(), bpp::HKY85::updateMatrices(), bpp::HKY85::updateMatrices(), bpp::HKY85::updateMatrices(), bpp::HKY85::updateMatrices(), bpp::HKY85::updateMatrices(), bpp::HKY85::updateMatrices(), bpp::HKY85::updateMatrices(), bpp::HKY85::updateMatrices(), bpp::HKY85::updateMatrices(), bpp::HKY85::updateMatrices(), bpp::HKY85::updateMatrices(), bpp::HKY85::updateMatrices(), bpp::HKY85::updateMatrices(), bpp::F84::updateMatrices(), bpp::F84::updateMatrices(), bpp::F84::updateMatrices(), bpp::F84::updateMatrices(), bpp::F84::updateMatrices(), bpp::F84::updateMatrices(), bpp::F84::updateMatrices(), bpp::F84::updateMatrices(), bpp::F84::updateMatrices(), bpp::F84::updateMatrices(), bpp::F84::updateMatrices(), bpp::F84::updateMatrices(), bpp::F84::updateMatrices(), bpp::F84::updateMatrices(), bpp::F84::updateMatrices(), bpp::F84::updateMatrices(), bpp::F84::updateMatrices(), bpp::F84::updateMatrices(), bpp::F84::updateMatrices(), bpp::F84::updateMatrices(), bpp::F84::updateMatrices(), bpp::F84::updateMatrices(), bpp::F84::updateMatrices(), bpp::F84::updateMatrices(), bpp::F84::updateMatrices(), bpp::F84::updateMatrices(), bpp::F84::updateMatrices(), bpp::F84::updateMatrices(), bpp::F84::updateMatrices(), bpp::F84::updateMatrices(), bpp::F84::updateMatrices(), bpp::F84::updateMatrices(), bpp::F84::updateMatrices(), bpp::JCprot::updateMatrices(), bpp::JCprot::updateMatrices(), updateMatrices(), updateMatrices(), updateMatrices(), bpp::AbstractReversibleSubstitutionModel::updateMatrices(), bpp::AbstractReversibleSubstitutionModel::updateMatrices(), bpp::AbstractReversibleSubstitutionModel::updateMatrices(), bpp::AbstractReversibleSubstitutionModel::updateMatrices(), and bpp::AbstractReversibleSubstitutionModel::updateMatrices().
|
protected |
The vector of the imaginary part of the eigen values.
Definition at line 144 of file AbstractSubstitutionModel.h.
Referenced by getd2Pij_dt2(), getd2Pij_dt2(), getd2Pij_dt2(), getd2Pij_dt2(), getd2Pij_dt2(), getd2Pij_dt2(), getd2Pij_dt2(), getdPij_dt(), getdPij_dt(), getdPij_dt(), getdPij_dt(), getdPij_dt(), getIEigenValues(), getPij_t(), getPij_t(), getPij_t(), operator=(), operator=(), bpp::AbstractWordSubstitutionModel::updateMatrices(), bpp::AbstractWordSubstitutionModel::updateMatrices(), bpp::AbstractWordSubstitutionModel::updateMatrices(), bpp::AbstractWordSubstitutionModel::updateMatrices(), bpp::AbstractWordSubstitutionModel::updateMatrices(), bpp::AbstractWordSubstitutionModel::updateMatrices(), bpp::AbstractWordSubstitutionModel::updateMatrices(), bpp::gBGC::updateMatrices(), bpp::gBGC::updateMatrices(), bpp::gBGC::updateMatrices(), bpp::gBGC::updateMatrices(), bpp::RN95s::updateMatrices(), bpp::YpR::updateMatrices(), bpp::YpR::updateMatrices(), bpp::YpR::updateMatrices(), bpp::YpR::updateMatrices(), bpp::RN95::updateMatrices(), updateMatrices(), and updateMatrices().
|
protected |
boolean value for diagonalizability in R of the generator_
Definition at line 150 of file AbstractSubstitutionModel.h.
Referenced by bpp::AbstractReversibleSubstitutionModel::AbstractReversibleSubstitutionModel(), getd2Pij_dt2(), getdPij_dt(), getPij_t(), isDiagonalizable(), operator=(), operator=(), bpp::AbstractWordSubstitutionModel::updateMatrices(), bpp::AbstractWordSubstitutionModel::updateMatrices(), bpp::AbstractWordSubstitutionModel::updateMatrices(), bpp::gBGC::updateMatrices(), bpp::gBGC::updateMatrices(), bpp::RN95s::updateMatrices(), bpp::RN95s::updateMatrices(), bpp::RN95s::updateMatrices(), bpp::YpR::updateMatrices(), bpp::YpR::updateMatrices(), bpp::YpR::updateMatrices(), bpp::RN95::updateMatrices(), bpp::RN95::updateMatrices(), bpp::RN95::updateMatrices(), updateMatrices(), updateMatrices(), and updateMatrices().
|
protected |
boolean value for non-singularity of rightEigenVectors_
Definition at line 161 of file AbstractSubstitutionModel.h.
Referenced by bpp::AbstractReversibleSubstitutionModel::AbstractReversibleSubstitutionModel(), getd2Pij_dt2(), getdPij_dt(), getPij_t(), isNonSingular(), operator=(), operator=(), bpp::AbstractWordSubstitutionModel::updateMatrices(), bpp::AbstractWordSubstitutionModel::updateMatrices(), bpp::AbstractWordSubstitutionModel::updateMatrices(), bpp::AbstractWordSubstitutionModel::updateMatrices(), bpp::AbstractWordSubstitutionModel::updateMatrices(), bpp::AbstractWordSubstitutionModel::updateMatrices(), bpp::AbstractWordSubstitutionModel::updateMatrices(), bpp::RN95s::updateMatrices(), bpp::RN95s::updateMatrices(), bpp::YpR::updateMatrices(), bpp::YpR::updateMatrices(), bpp::YpR::updateMatrices(), bpp::RN95::updateMatrices(), bpp::RN95::updateMatrices(), updateMatrices(), and updateMatrices().
|
protected |
The
matrix made of left eigen vectors (by row) if rightEigenVectors_ is non-singular.
Definition at line 168 of file AbstractSubstitutionModel.h.
Referenced by bpp::AbstractMixedSubstitutionModel::AbstractMixedSubstitutionModel(), getd2Pij_dt2(), getd2Pij_dt2(), getdPij_dt(), getdPij_dt(), getPij_t(), getPij_t(), getRowLeftEigenVectors(), operator=(), operator=(), bpp::RE08::RE08(), bpp::AbstractWordSubstitutionModel::updateMatrices(), bpp::AbstractWordSubstitutionModel::updateMatrices(), bpp::gBGC::updateMatrices(), bpp::gBGC::updateMatrices(), bpp::BinarySubstitutionModel::updateMatrices(), bpp::BinarySubstitutionModel::updateMatrices(), bpp::BinarySubstitutionModel::updateMatrices(), bpp::BinarySubstitutionModel::updateMatrices(), bpp::BinarySubstitutionModel::updateMatrices(), bpp::BinarySubstitutionModel::updateMatrices(), bpp::RN95s::updateMatrices(), bpp::YpR::updateMatrices(), bpp::YpR::updateMatrices(), bpp::RN95::updateMatrices(), bpp::TN93::updateMatrices(), bpp::JCnuc::updateMatrices(), bpp::JCnuc::updateMatrices(), bpp::JCnuc::updateMatrices(), bpp::JCnuc::updateMatrices(), bpp::JCnuc::updateMatrices(), bpp::K80::updateMatrices(), bpp::K80::updateMatrices(), bpp::K80::updateMatrices(), bpp::K80::updateMatrices(), bpp::K80::updateMatrices(), bpp::K80::updateMatrices(), bpp::K80::updateMatrices(), bpp::K80::updateMatrices(), bpp::K80::updateMatrices(), bpp::K80::updateMatrices(), bpp::K80::updateMatrices(), bpp::K80::updateMatrices(), bpp::K80::updateMatrices(), bpp::K80::updateMatrices(), bpp::K80::updateMatrices(), bpp::K80::updateMatrices(), bpp::T92::updateMatrices(), bpp::T92::updateMatrices(), bpp::T92::updateMatrices(), bpp::T92::updateMatrices(), bpp::T92::updateMatrices(), bpp::T92::updateMatrices(), bpp::T92::updateMatrices(), bpp::T92::updateMatrices(), bpp::T92::updateMatrices(), bpp::T92::updateMatrices(), bpp::T92::updateMatrices(), bpp::T92::updateMatrices(), bpp::T92::updateMatrices(), bpp::T92::updateMatrices(), bpp::T92::updateMatrices(), bpp::T92::updateMatrices(), bpp::HKY85::updateMatrices(), bpp::HKY85::updateMatrices(), bpp::HKY85::updateMatrices(), bpp::HKY85::updateMatrices(), bpp::HKY85::updateMatrices(), bpp::HKY85::updateMatrices(), bpp::HKY85::updateMatrices(), bpp::HKY85::updateMatrices(), bpp::HKY85::updateMatrices(), bpp::HKY85::updateMatrices(), bpp::HKY85::updateMatrices(), bpp::HKY85::updateMatrices(), bpp::HKY85::updateMatrices(), bpp::HKY85::updateMatrices(), bpp::HKY85::updateMatrices(), bpp::HKY85::updateMatrices(), bpp::F84::updateMatrices(), bpp::F84::updateMatrices(), bpp::F84::updateMatrices(), bpp::F84::updateMatrices(), bpp::F84::updateMatrices(), bpp::F84::updateMatrices(), bpp::F84::updateMatrices(), bpp::F84::updateMatrices(), bpp::F84::updateMatrices(), bpp::F84::updateMatrices(), bpp::F84::updateMatrices(), bpp::F84::updateMatrices(), bpp::F84::updateMatrices(), bpp::F84::updateMatrices(), bpp::F84::updateMatrices(), bpp::F84::updateMatrices(), bpp::JCprot::updateMatrices(), bpp::JCprot::updateMatrices(), bpp::JCprot::updateMatrices(), and updateMatrices().
|
mutableprotected |
These ones are for bookkeeping:
Definition at line 127 of file AbstractSubstitutionModel.h.
Referenced by bpp::WordSubstitutionModel::getPij_t(), bpp::WordSubstitutionModel::getPij_t(), bpp::AbstractMixedSubstitutionModel::getPij_t(), bpp::AbstractMixedSubstitutionModel::getPij_t(), getPij_t(), getPij_t(), getPij_t(), getPij_t(), getPij_t(), getPij_t(), getPij_t(), getPij_t(), getPij_t(), operator=(), and operator=().
|
protected |
The rate of the model (default: 1). The generator (and all its vectorial components) is independent of the rate, since it should be normalized.
Definition at line 97 of file AbstractSubstitutionModel.h.
Referenced by addRateParameter(), bpp::RN95s::d2Pij_dt2(), bpp::RN95s::d2Pij_dt2(), bpp::RN95s::d2Pij_dt2(), bpp::RN95s::d2Pij_dt2(), bpp::RN95s::d2Pij_dt2(), bpp::JCnuc::d2Pij_dt2(), bpp::JCnuc::d2Pij_dt2(), bpp::JCnuc::d2Pij_dt2(), bpp::JCnuc::d2Pij_dt2(), bpp::TN93::d2Pij_dt2(), bpp::TN93::d2Pij_dt2(), bpp::TN93::d2Pij_dt2(), bpp::RN95::d2Pij_dt2(), bpp::RN95::d2Pij_dt2(), bpp::RN95::d2Pij_dt2(), bpp::RN95::d2Pij_dt2(), bpp::RN95::d2Pij_dt2(), bpp::RN95::d2Pij_dt2(), bpp::RN95::d2Pij_dt2(), bpp::K80::d2Pij_dt2(), bpp::K80::d2Pij_dt2(), bpp::K80::d2Pij_dt2(), bpp::T92::d2Pij_dt2(), bpp::T92::d2Pij_dt2(), bpp::T92::d2Pij_dt2(), bpp::JCprot::d2Pij_dt2(), bpp::JCprot::d2Pij_dt2(), bpp::JCprot::d2Pij_dt2(), bpp::JCprot::d2Pij_dt2(), bpp::JCprot::d2Pij_dt2(), bpp::JCprot::d2Pij_dt2(), bpp::HKY85::d2Pij_dt2(), bpp::HKY85::d2Pij_dt2(), bpp::HKY85::d2Pij_dt2(), bpp::F84::d2Pij_dt2(), bpp::F84::d2Pij_dt2(), bpp::F84::d2Pij_dt2(), bpp::RN95s::dPij_dt(), bpp::RN95s::dPij_dt(), bpp::RN95s::dPij_dt(), bpp::JCnuc::dPij_dt(), bpp::JCnuc::dPij_dt(), bpp::JCnuc::dPij_dt(), bpp::JCnuc::dPij_dt(), bpp::TN93::dPij_dt(), bpp::TN93::dPij_dt(), bpp::TN93::dPij_dt(), bpp::TN93::dPij_dt(), bpp::TN93::dPij_dt(), bpp::TN93::dPij_dt(), bpp::TN93::dPij_dt(), bpp::TN93::dPij_dt(), bpp::TN93::dPij_dt(), bpp::TN93::dPij_dt(), bpp::TN93::dPij_dt(), bpp::TN93::dPij_dt(), bpp::TN93::dPij_dt(), bpp::TN93::dPij_dt(), bpp::TN93::dPij_dt(), bpp::TN93::dPij_dt(), bpp::TN93::dPij_dt(), bpp::RN95::dPij_dt(), bpp::RN95::dPij_dt(), bpp::RN95::dPij_dt(), bpp::RN95::dPij_dt(), bpp::K80::dPij_dt(), bpp::K80::dPij_dt(), bpp::K80::dPij_dt(), bpp::K80::dPij_dt(), bpp::K80::dPij_dt(), bpp::K80::dPij_dt(), bpp::K80::dPij_dt(), bpp::K80::dPij_dt(), bpp::K80::dPij_dt(), bpp::K80::dPij_dt(), bpp::K80::dPij_dt(), bpp::K80::dPij_dt(), bpp::K80::dPij_dt(), bpp::K80::dPij_dt(), bpp::K80::dPij_dt(), bpp::K80::dPij_dt(), bpp::K80::dPij_dt(), bpp::T92::dPij_dt(), bpp::T92::dPij_dt(), bpp::T92::dPij_dt(), bpp::T92::dPij_dt(), bpp::T92::dPij_dt(), bpp::T92::dPij_dt(), bpp::T92::dPij_dt(), bpp::T92::dPij_dt(), bpp::T92::dPij_dt(), bpp::T92::dPij_dt(), bpp::T92::dPij_dt(), bpp::T92::dPij_dt(), bpp::T92::dPij_dt(), bpp::T92::dPij_dt(), bpp::T92::dPij_dt(), bpp::T92::dPij_dt(), bpp::T92::dPij_dt(), bpp::JCprot::dPij_dt(), bpp::JCprot::dPij_dt(), bpp::JCprot::dPij_dt(), bpp::JCprot::dPij_dt(), bpp::F84::dPij_dt(), bpp::HKY85::dPij_dt(), bpp::HKY85::dPij_dt(), bpp::F84::dPij_dt(), bpp::F84::dPij_dt(), bpp::F84::dPij_dt(), bpp::F84::dPij_dt(), bpp::F84::dPij_dt(), bpp::F84::dPij_dt(), bpp::F84::dPij_dt(), bpp::HKY85::dPij_dt(), bpp::F84::dPij_dt(), bpp::F84::dPij_dt(), bpp::F84::dPij_dt(), bpp::F84::dPij_dt(), bpp::HKY85::dPij_dt(), bpp::HKY85::dPij_dt(), bpp::F84::dPij_dt(), bpp::HKY85::dPij_dt(), bpp::HKY85::dPij_dt(), bpp::HKY85::dPij_dt(), bpp::HKY85::dPij_dt(), bpp::HKY85::dPij_dt(), bpp::HKY85::dPij_dt(), bpp::HKY85::dPij_dt(), bpp::HKY85::dPij_dt(), bpp::F84::dPij_dt(), bpp::HKY85::dPij_dt(), bpp::F84::dPij_dt(), bpp::HKY85::dPij_dt(), bpp::F84::dPij_dt(), bpp::F84::dPij_dt(), bpp::HKY85::dPij_dt(), bpp::HKY85::dPij_dt(), bpp::WordSubstitutionModel::getd2Pij_dt2(), bpp::WordSubstitutionModel::getd2Pij_dt2(), bpp::WordSubstitutionModel::getd2Pij_dt2(), bpp::WordSubstitutionModel::getd2Pij_dt2(), bpp::RN95s::getd2Pij_dt2(), bpp::RN95s::getd2Pij_dt2(), bpp::RN95s::getd2Pij_dt2(), bpp::RN95s::getd2Pij_dt2(), bpp::RN95s::getd2Pij_dt2(), bpp::JCnuc::getd2Pij_dt2(), bpp::TN93::getd2Pij_dt2(), bpp::TN93::getd2Pij_dt2(), bpp::TN93::getd2Pij_dt2(), bpp::RN95::getd2Pij_dt2(), bpp::RN95::getd2Pij_dt2(), bpp::RN95::getd2Pij_dt2(), bpp::RN95::getd2Pij_dt2(), bpp::RN95::getd2Pij_dt2(), bpp::RN95::getd2Pij_dt2(), bpp::RN95::getd2Pij_dt2(), bpp::K80::getd2Pij_dt2(), bpp::K80::getd2Pij_dt2(), bpp::K80::getd2Pij_dt2(), bpp::T92::getd2Pij_dt2(), bpp::T92::getd2Pij_dt2(), bpp::T92::getd2Pij_dt2(), bpp::JCprot::getd2Pij_dt2(), bpp::JCprot::getd2Pij_dt2(), bpp::JCprot::getd2Pij_dt2(), bpp::HKY85::getd2Pij_dt2(), bpp::F84::getd2Pij_dt2(), bpp::F84::getd2Pij_dt2(), bpp::F84::getd2Pij_dt2(), bpp::HKY85::getd2Pij_dt2(), bpp::HKY85::getd2Pij_dt2(), getd2Pij_dt2(), getd2Pij_dt2(), getd2Pij_dt2(), getd2Pij_dt2(), getd2Pij_dt2(), getd2Pij_dt2(), getd2Pij_dt2(), getd2Pij_dt2(), bpp::WordSubstitutionModel::getdPij_dt(), bpp::WordSubstitutionModel::getdPij_dt(), bpp::RN95s::getdPij_dt(), bpp::RN95s::getdPij_dt(), bpp::RN95s::getdPij_dt(), bpp::JCnuc::getdPij_dt(), bpp::TN93::getdPij_dt(), bpp::TN93::getdPij_dt(), bpp::TN93::getdPij_dt(), bpp::TN93::getdPij_dt(), bpp::TN93::getdPij_dt(), bpp::TN93::getdPij_dt(), bpp::TN93::getdPij_dt(), bpp::TN93::getdPij_dt(), bpp::TN93::getdPij_dt(), bpp::TN93::getdPij_dt(), bpp::TN93::getdPij_dt(), bpp::TN93::getdPij_dt(), bpp::TN93::getdPij_dt(), bpp::TN93::getdPij_dt(), bpp::TN93::getdPij_dt(), bpp::TN93::getdPij_dt(), bpp::TN93::getdPij_dt(), bpp::RN95::getdPij_dt(), bpp::RN95::getdPij_dt(), bpp::RN95::getdPij_dt(), bpp::RN95::getdPij_dt(), bpp::K80::getdPij_dt(), bpp::K80::getdPij_dt(), bpp::K80::getdPij_dt(), bpp::K80::getdPij_dt(), bpp::K80::getdPij_dt(), bpp::K80::getdPij_dt(), bpp::K80::getdPij_dt(), bpp::K80::getdPij_dt(), bpp::K80::getdPij_dt(), bpp::K80::getdPij_dt(), bpp::K80::getdPij_dt(), bpp::K80::getdPij_dt(), bpp::K80::getdPij_dt(), bpp::K80::getdPij_dt(), bpp::K80::getdPij_dt(), bpp::K80::getdPij_dt(), bpp::K80::getdPij_dt(), bpp::T92::getdPij_dt(), bpp::T92::getdPij_dt(), bpp::T92::getdPij_dt(), bpp::T92::getdPij_dt(), bpp::T92::getdPij_dt(), bpp::T92::getdPij_dt(), bpp::T92::getdPij_dt(), bpp::T92::getdPij_dt(), bpp::T92::getdPij_dt(), bpp::T92::getdPij_dt(), bpp::T92::getdPij_dt(), bpp::T92::getdPij_dt(), bpp::T92::getdPij_dt(), bpp::T92::getdPij_dt(), bpp::T92::getdPij_dt(), bpp::T92::getdPij_dt(), bpp::T92::getdPij_dt(), bpp::JCprot::getdPij_dt(), bpp::JCprot::getdPij_dt(), bpp::HKY85::getdPij_dt(), bpp::HKY85::getdPij_dt(), bpp::HKY85::getdPij_dt(), bpp::F84::getdPij_dt(), bpp::HKY85::getdPij_dt(), bpp::HKY85::getdPij_dt(), bpp::HKY85::getdPij_dt(), bpp::HKY85::getdPij_dt(), bpp::F84::getdPij_dt(), bpp::F84::getdPij_dt(), bpp::HKY85::getdPij_dt(), bpp::F84::getdPij_dt(), bpp::HKY85::getdPij_dt(), bpp::F84::getdPij_dt(), bpp::F84::getdPij_dt(), bpp::HKY85::getdPij_dt(), bpp::HKY85::getdPij_dt(), bpp::F84::getdPij_dt(), bpp::HKY85::getdPij_dt(), bpp::F84::getdPij_dt(), bpp::F84::getdPij_dt(), bpp::HKY85::getdPij_dt(), bpp::F84::getdPij_dt(), bpp::F84::getdPij_dt(), bpp::HKY85::getdPij_dt(), bpp::F84::getdPij_dt(), bpp::HKY85::getdPij_dt(), bpp::F84::getdPij_dt(), bpp::HKY85::getdPij_dt(), bpp::F84::getdPij_dt(), bpp::F84::getdPij_dt(), bpp::F84::getdPij_dt(), bpp::F84::getdPij_dt(), bpp::HKY85::getdPij_dt(), getdPij_dt(), getdPij_dt(), getdPij_dt(), getdPij_dt(), getdPij_dt(), getdPij_dt(), getdPij_dt(), bpp::WordSubstitutionModel::getPij_t(), bpp::RN95s::getPij_t(), bpp::JCnuc::getPij_t(), bpp::TN93::getPij_t(), bpp::RN95::getPij_t(), bpp::K80::getPij_t(), bpp::T92::getPij_t(), bpp::JCprot::getPij_t(), bpp::F84::getPij_t(), bpp::HKY85::getPij_t(), getPij_t(), getPij_t(), getPij_t(), getRate(), bpp::AbstractMixedSubstitutionModel::normalizeVRates(), operator=(), operator=(), bpp::RN95s::Pij_t(), bpp::JCnuc::Pij_t(), bpp::JCnuc::Pij_t(), bpp::TN93::Pij_t(), bpp::RN95::Pij_t(), bpp::K80::Pij_t(), bpp::T92::Pij_t(), bpp::JCprot::Pij_t(), bpp::JCprot::Pij_t(), bpp::HKY85::Pij_t(), bpp::F84::Pij_t(), bpp::AbstractMixedSubstitutionModel::setRate(), setRate(), setRate(), bpp::BinarySubstitutionModel::updateMatrices(), bpp::BinarySubstitutionModel::updateMatrices(), bpp::BinarySubstitutionModel::updateMatrices(), bpp::BinarySubstitutionModel::updateMatrices(), and bpp::BinarySubstitutionModel::updateMatrices().
|
protected |
The
matrix made of right eigen vectors (by column).
Definition at line 155 of file AbstractSubstitutionModel.h.
Referenced by bpp::AbstractMixedSubstitutionModel::AbstractMixedSubstitutionModel(), getColumnRightEigenVectors(), getd2Pij_dt2(), getd2Pij_dt2(), getdPij_dt(), getdPij_dt(), getPij_t(), getPij_t(), operator=(), operator=(), bpp::RE08::RE08(), bpp::AbstractWordSubstitutionModel::updateMatrices(), bpp::AbstractWordSubstitutionModel::updateMatrices(), bpp::AbstractWordSubstitutionModel::updateMatrices(), bpp::AbstractWordSubstitutionModel::updateMatrices(), bpp::AbstractWordSubstitutionModel::updateMatrices(), bpp::AbstractWordSubstitutionModel::updateMatrices(), bpp::AbstractWordSubstitutionModel::updateMatrices(), bpp::AbstractWordSubstitutionModel::updateMatrices(), bpp::AbstractWordSubstitutionModel::updateMatrices(), bpp::gBGC::updateMatrices(), bpp::gBGC::updateMatrices(), bpp::BinarySubstitutionModel::updateMatrices(), bpp::BinarySubstitutionModel::updateMatrices(), bpp::BinarySubstitutionModel::updateMatrices(), bpp::BinarySubstitutionModel::updateMatrices(), bpp::BinarySubstitutionModel::updateMatrices(), bpp::BinarySubstitutionModel::updateMatrices(), bpp::RN95s::updateMatrices(), bpp::RN95s::updateMatrices(), bpp::RN95s::updateMatrices(), bpp::RN95s::updateMatrices(), bpp::RN95s::updateMatrices(), bpp::RN95s::updateMatrices(), bpp::RN95s::updateMatrices(), bpp::RN95s::updateMatrices(), bpp::RN95s::updateMatrices(), bpp::RN95s::updateMatrices(), bpp::RN95s::updateMatrices(), bpp::RN95s::updateMatrices(), bpp::RN95s::updateMatrices(), bpp::RN95s::updateMatrices(), bpp::RN95s::updateMatrices(), bpp::RN95s::updateMatrices(), bpp::RN95s::updateMatrices(), bpp::YpR::updateMatrices(), bpp::YpR::updateMatrices(), bpp::RN95::updateMatrices(), bpp::RN95::updateMatrices(), bpp::RN95::updateMatrices(), bpp::RN95::updateMatrices(), bpp::RN95::updateMatrices(), bpp::RN95::updateMatrices(), bpp::RN95::updateMatrices(), bpp::JCnuc::updateMatrices(), bpp::JCnuc::updateMatrices(), bpp::JCnuc::updateMatrices(), bpp::RN95::updateMatrices(), bpp::JCnuc::updateMatrices(), bpp::JCnuc::updateMatrices(), bpp::JCnuc::updateMatrices(), bpp::RN95::updateMatrices(), bpp::TN93::updateMatrices(), bpp::TN93::updateMatrices(), bpp::RN95::updateMatrices(), bpp::RN95::updateMatrices(), bpp::RN95::updateMatrices(), bpp::RN95::updateMatrices(), bpp::RN95::updateMatrices(), bpp::RN95::updateMatrices(), bpp::RN95::updateMatrices(), bpp::RN95::updateMatrices(), bpp::K80::updateMatrices(), bpp::K80::updateMatrices(), bpp::K80::updateMatrices(), bpp::K80::updateMatrices(), bpp::K80::updateMatrices(), bpp::K80::updateMatrices(), bpp::K80::updateMatrices(), bpp::K80::updateMatrices(), bpp::K80::updateMatrices(), bpp::K80::updateMatrices(), bpp::K80::updateMatrices(), bpp::K80::updateMatrices(), bpp::K80::updateMatrices(), bpp::K80::updateMatrices(), bpp::K80::updateMatrices(), bpp::K80::updateMatrices(), bpp::T92::updateMatrices(), bpp::T92::updateMatrices(), bpp::T92::updateMatrices(), bpp::T92::updateMatrices(), bpp::T92::updateMatrices(), bpp::T92::updateMatrices(), bpp::T92::updateMatrices(), bpp::T92::updateMatrices(), bpp::T92::updateMatrices(), bpp::T92::updateMatrices(), bpp::T92::updateMatrices(), bpp::T92::updateMatrices(), bpp::T92::updateMatrices(), bpp::T92::updateMatrices(), bpp::T92::updateMatrices(), bpp::T92::updateMatrices(), bpp::HKY85::updateMatrices(), bpp::HKY85::updateMatrices(), bpp::HKY85::updateMatrices(), bpp::HKY85::updateMatrices(), bpp::HKY85::updateMatrices(), bpp::HKY85::updateMatrices(), bpp::HKY85::updateMatrices(), bpp::HKY85::updateMatrices(), bpp::HKY85::updateMatrices(), bpp::HKY85::updateMatrices(), bpp::HKY85::updateMatrices(), bpp::HKY85::updateMatrices(), bpp::HKY85::updateMatrices(), bpp::HKY85::updateMatrices(), bpp::HKY85::updateMatrices(), bpp::HKY85::updateMatrices(), bpp::F84::updateMatrices(), bpp::F84::updateMatrices(), bpp::F84::updateMatrices(), bpp::F84::updateMatrices(), bpp::F84::updateMatrices(), bpp::F84::updateMatrices(), bpp::F84::updateMatrices(), bpp::F84::updateMatrices(), bpp::F84::updateMatrices(), bpp::F84::updateMatrices(), bpp::F84::updateMatrices(), bpp::F84::updateMatrices(), bpp::F84::updateMatrices(), bpp::F84::updateMatrices(), bpp::F84::updateMatrices(), bpp::F84::updateMatrices(), bpp::JCprot::updateMatrices(), bpp::JCprot::updateMatrices(), bpp::JCprot::updateMatrices(), bpp::JCprot::updateMatrices(), updateMatrices(), and updateMatrices().
|
protected |
The size of the generator, i.e. the number of states.
Definition at line 89 of file AbstractSubstitutionModel.h.
Referenced by bpp::AbstractMixedSubstitutionModel::AbstractMixedSubstitutionModel(), bpp::AbstractMixedSubstitutionModel::AbstractMixedSubstitutionModel(), AbstractSubstitutionModel(), AbstractSubstitutionModel(), bpp::RE08::d2Pij_dt2(), bpp::RE08::d2Pij_dt2(), bpp::RE08::d2Pij_dt2(), bpp::RE08::d2Pij_dt2(), bpp::RE08::dPij_dt(), bpp::RE08::dPij_dt(), bpp::RE08::dPij_dt(), bpp::RE08::dPij_dt(), bpp::JCnuc::getd2Pij_dt2(), bpp::JCnuc::getd2Pij_dt2(), bpp::RE08::getd2Pij_dt2(), bpp::JCprot::getd2Pij_dt2(), bpp::JCprot::getd2Pij_dt2(), getd2Pij_dt2(), getd2Pij_dt2(), getd2Pij_dt2(), getd2Pij_dt2(), getd2Pij_dt2(), bpp::JCnuc::getdPij_dt(), bpp::JCnuc::getdPij_dt(), bpp::RE08::getdPij_dt(), bpp::JCprot::getdPij_dt(), bpp::JCprot::getdPij_dt(), getdPij_dt(), getdPij_dt(), getdPij_dt(), getdPij_dt(), getdPij_dt(), bpp::RE08::getNumberOfStates(), bpp::JCnuc::getPij_t(), bpp::JCnuc::getPij_t(), bpp::RE08::getPij_t(), bpp::JCprot::getPij_t(), bpp::JCprot::getPij_t(), getPij_t(), getPij_t(), getPij_t(), getPij_t(), getPij_t(), getPij_t(), operator=(), operator=(), bpp::RE08::Pij_t(), bpp::RE08::Pij_t(), bpp::RE08::Pij_t(), bpp::RE08::Pij_t(), bpp::RE08::RE08(), setFreq(), bpp::LG08::setFreqFromData(), bpp::LG08::setFreqFromData(), bpp::JTT92::setFreqFromData(), bpp::JTT92::setFreqFromData(), bpp::UserProteinSubstitutionModel::setFreqFromData(), bpp::UserProteinSubstitutionModel::setFreqFromData(), bpp::JCprot::setFreqFromData(), bpp::JCprot::setFreqFromData(), setFreqFromData(), setFreqFromData(), bpp::T92::T92(), bpp::T92::T92(), bpp::TN93::TN93(), bpp::TN93::TN93(), bpp::AbstractWordSubstitutionModel::updateMatrices(), bpp::AbstractWordSubstitutionModel::updateMatrices(), bpp::AbstractWordSubstitutionModel::updateMatrices(), bpp::gBGC::updateMatrices(), bpp::gBGC::updateMatrices(), bpp::gBGC::updateMatrices(), bpp::RN95s::updateMatrices(), bpp::RN95s::updateMatrices(), bpp::RN95s::updateMatrices(), bpp::YpR::updateMatrices(), bpp::YpR::updateMatrices(), bpp::YpR::updateMatrices(), bpp::RN95::updateMatrices(), bpp::RN95::updateMatrices(), bpp::RN95::updateMatrices(), bpp::RE08::updateMatrices(), updateMatrices(), updateMatrices(), updateMatrices(), bpp::AbstractReversibleSubstitutionModel::updateMatrices(), bpp::AbstractReversibleSubstitutionModel::updateMatrices(), and bpp::AbstractReversibleSubstitutionModel::updateMatrices().
|
mutableprotected |
For computational issues.
Definition at line 182 of file AbstractSubstitutionModel.h.
Referenced by getd2Pij_dt2(), getd2Pij_dt2(), getd2Pij_dt2(), getd2Pij_dt2(), getdPij_dt(), getdPij_dt(), getdPij_dt(), getdPij_dt(), getPij_t(), getPij_t(), operator=(), operator=(), bpp::AbstractWordSubstitutionModel::updateMatrices(), bpp::AbstractWordSubstitutionModel::updateMatrices(), bpp::AbstractWordSubstitutionModel::updateMatrices(), bpp::YpR::updateMatrices(), bpp::YpR::updateMatrices(), and bpp::YpR::updateMatrices().
|
protected |
vector of the powers of generator_ for Taylor development (if rightEigenVectors_ is singular).
Definition at line 175 of file AbstractSubstitutionModel.h.
Referenced by getd2Pij_dt2(), getd2Pij_dt2(), getd2Pij_dt2(), getdPij_dt(), getdPij_dt(), getdPij_dt(), getPij_t(), getPij_t(), operator=(), operator=(), bpp::AbstractWordSubstitutionModel::updateMatrices(), bpp::AbstractWordSubstitutionModel::updateMatrices(), bpp::AbstractWordSubstitutionModel::updateMatrices(), bpp::AbstractWordSubstitutionModel::updateMatrices(), bpp::AbstractWordSubstitutionModel::updateMatrices(), bpp::AbstractWordSubstitutionModel::updateMatrices(), bpp::RN95s::updateMatrices(), bpp::YpR::updateMatrices(), bpp::YpR::updateMatrices(), bpp::YpR::updateMatrices(), bpp::YpR::updateMatrices(), bpp::YpR::updateMatrices(), bpp::YpR::updateMatrices(), bpp::RN95::updateMatrices(), and updateMatrices().