bpp-phyl
2.2.0
|
Galtier's 2001 covarion model. More...
#include <Bpp/Phyl/Model/G2001.h>
Public Member Functions | |
G2001 (ReversibleSubstitutionModel *model, DiscreteDistribution *rDist, double nu=1., bool normalizeRateChanges=false) | |
Build a new G2001 substitution model. More... | |
G2001 (const G2001 &model) | |
G2001 & | operator= (const G2001 &model) |
virtual | ~G2001 () |
G2001 * | clone () const |
std::string | getName () const |
Get the name of the model. More... | |
void | fireParameterChanged (const ParameterList ¶meters) |
Re-definition of the super-class method to update the rate distribution too. More... | |
const DiscreteDistribution * | getRateDistribution () const |
void | setNamespace (const std::string &prefix) |
double | getRate () const |
Get the rate. More... | |
void | setRate (double rate) |
Set the rate of the model (must be positive). More... | |
void | addRateParameter () |
const Alphabet * | getAlphabet () const |
size_t | getNumberOfStates () const |
Get the number of states. More... | |
const StateMap & | getStateMap () const |
const std::vector< int > & | getAlphabetStates () const |
std::string | getAlphabetStateAsChar (size_t index) const |
int | getAlphabetStateAsInt (size_t index) const |
std::vector< size_t > | getModelStates (int code) const |
Get the state in the model corresponding to a particular state in the alphabet. More... | |
std::vector< size_t > | getModelStates (const std::string &code) const |
Get the state in the model corresponding to a particular state in the alphabet. More... | |
const Vdouble & | getFrequencies () const |
const Matrix< double > & | getExchangeabilityMatrix () const |
const Matrix< double > & | getGenerator () const |
const Matrix< double > & | getPij_t (double t) const |
const Matrix< double > & | getdPij_dt (double t) const |
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 |
double | freq (size_t i) const |
double | Sij (size_t i, size_t j) const |
double | Qij (size_t i, size_t j) const |
double | Pij_t (size_t i, size_t j, double t) const |
double | dPij_dt (size_t i, size_t j, double t) const |
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... | |
const ReversibleSubstitutionModel * | getNestedModel () const |
size_t | getRate (size_t i) const |
Get the rate category corresponding to a particular state in the compound model. 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... | |
void | setScale (double scale) |
Multiplies the current generator by the given scale. 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 | setFreq (std::map< int, double > &frequencies) |
Set equilibrium frequencies. More... | |
virtual const FrequenciesSet * | getFrequenciesSet () const |
If the model owns a FrequenciesSet, returns a pointer to it, otherwise return 0. More... | |
Protected Member Functions | |
void | updateRatesModel () |
Update the rates vector, generator and equilibrium frequencies. More... | |
virtual void | updateMatrices () |
Protected Attributes | |
ReversibleSubstitutionModel * | model_ |
MarkovModulatedStateMap | stateMap_ |
size_t | nbStates_ |
size_t | nbRates_ |
RowMatrix< double > | ratesGenerator_ |
RowMatrix< double > | generator_ |
The generator matrix ![]() | |
RowMatrix< double > | exchangeability_ |
The exchangeability matrix ![]() | |
RowMatrix< double > | leftEigenVectors_ |
The ![]() | |
RowMatrix< double > | rightEigenVectors_ |
The ![]() | |
Vdouble | eigenValues_ |
The vector of real parts of eigen values. More... | |
Vdouble | iEigenValues_ |
The vector of imaginary parts of the eigen values (zero in case of reversible pmodel). More... | |
bool | eigenDecompose_ |
Tell if the eigen decomposition should be performed. More... | |
RowMatrix< double > | pijt_ |
These ones are for bookkeeping: More... | |
RowMatrix< double > | dpijt_ |
RowMatrix< double > | d2pijt_ |
Vdouble | freq_ |
The vector of equilibrium frequencies. More... | |
bool | normalizeRateChanges_ |
std::string | nestedPrefix_ |
Rate generator. | |
These variables must be initialized in the constructor of the derived class. | |
RowMatrix< double > | rates_ |
RowMatrix< double > | ratesExchangeability_ |
Vdouble | ratesFreq_ |
Private Attributes | |
DiscreteDistribution * | rDist_ |
std::string | nestedRatePrefix_ |
Galtier's 2001 covarion model.
This model is a subclass of the so-called Markov-modulated substitution models, with a Jukes-Cantor rate matrix, of parameter . the original version uses a discrete
distribution for rates, but you can use it with virtually any rate distribution.
Galtier N., Maximum-likelihood phylogenetic analysis under a covarion-like model (2001). Molecular Biology and Evolution, 18:866-73.
|
inline |
Build a new G2001 substitution model.
model | The substitution model to use. May be of any alphabet type. |
rDist | The discrete distribution for rates. The class will own the DiscreteDistribution object, which will be deleted together with this instance. |
nu | The rate matrix parameter. |
normalizeRateChanges | Tell if the rate transition matrix should be normalized. |
Definition at line 81 of file G2001.h.
References bpp::MarkovModulatedSubstitutionModel::nbRates_, nestedRatePrefix_, bpp::MarkovModulatedSubstitutionModel::ratesFreq_, rDist_, bpp::MarkovModulatedSubstitutionModel::updateMatrices(), and updateRatesModel().
Referenced by clone().
|
inlinevirtual |
|
inlinevirtual |
Implements bpp::SubstitutionModel.
|
inlinevirtual |
Implements bpp::MarkovModulatedSubstitutionModel.
Definition at line 110 of file G2001.h.
References G2001().
|
inlinevirtualinherited |
Implements bpp::SubstitutionModel.
Definition at line 230 of file MarkovModulatedSubstitutionModel.h.
References bpp::MarkovModulatedSubstitutionModel::getd2Pij_dt2().
|
inlinevirtualinherited |
Implements bpp::SubstitutionModel.
Definition at line 229 of file MarkovModulatedSubstitutionModel.h.
References bpp::MarkovModulatedSubstitutionModel::getdPij_dt().
|
inlinevirtualinherited |
Set if eigenValues and Vectors must be computed.
Implements bpp::SubstitutionModel.
Definition at line 271 of file MarkovModulatedSubstitutionModel.h.
References bpp::MarkovModulatedSubstitutionModel::eigenDecompose_.
|
inlinevirtualinherited |
Tell if eigenValues and Vectors must be computed.
Implements bpp::SubstitutionModel.
Definition at line 273 of file MarkovModulatedSubstitutionModel.h.
References bpp::MarkovModulatedSubstitutionModel::eigenDecompose_.
|
inlinevirtual |
Re-definition of the super-class method to update the rate distribution too.
parameters | The parameters that have been modified. |
Reimplemented from bpp::MarkovModulatedSubstitutionModel.
Definition at line 120 of file G2001.h.
References bpp::MarkovModulatedSubstitutionModel::fireParameterChanged(), and rDist_.
|
inlinevirtualinherited |
Implements bpp::SubstitutionModel.
Definition at line 224 of file MarkovModulatedSubstitutionModel.h.
References bpp::MarkovModulatedSubstitutionModel::freq_.
|
inlinevirtualinherited |
Implements bpp::SubstitutionModel.
Definition at line 189 of file MarkovModulatedSubstitutionModel.h.
References bpp::SubstitutionModel::getAlphabet(), and bpp::MarkovModulatedSubstitutionModel::model_.
|
inlinevirtualinherited |
index | The model state. |
Implements bpp::SubstitutionModel.
Definition at line 197 of file MarkovModulatedSubstitutionModel.h.
References bpp::AbstractStateMap::getAlphabetStateAsChar(), and bpp::MarkovModulatedSubstitutionModel::stateMap_.
|
inlinevirtualinherited |
index | The model state. |
Implements bpp::SubstitutionModel.
Definition at line 199 of file MarkovModulatedSubstitutionModel.h.
References bpp::AbstractStateMap::getAlphabetStateAsInt(), and bpp::MarkovModulatedSubstitutionModel::stateMap_.
|
inlinevirtualinherited |
Implements bpp::SubstitutionModel.
Definition at line 195 of file MarkovModulatedSubstitutionModel.h.
References bpp::AbstractStateMap::getAlphabetStates(), and bpp::MarkovModulatedSubstitutionModel::stateMap_.
|
inlinevirtualinherited |
Implements bpp::SubstitutionModel.
Definition at line 222 of file MarkovModulatedSubstitutionModel.h.
References bpp::MarkovModulatedSubstitutionModel::rightEigenVectors_.
|
virtualinherited |
Implements bpp::SubstitutionModel.
Definition at line 195 of file MarkovModulatedSubstitutionModel.cpp.
References bpp::MarkovModulatedSubstitutionModel::d2pijt_, bpp::MarkovModulatedSubstitutionModel::eigenValues_, bpp::MarkovModulatedSubstitutionModel::leftEigenVectors_, and bpp::MarkovModulatedSubstitutionModel::rightEigenVectors_.
Referenced by bpp::MarkovModulatedSubstitutionModel::d2Pij_dt2().
|
virtualinherited |
Implements bpp::SubstitutionModel.
Definition at line 189 of file MarkovModulatedSubstitutionModel.cpp.
References bpp::MarkovModulatedSubstitutionModel::dpijt_, bpp::MarkovModulatedSubstitutionModel::eigenValues_, bpp::MarkovModulatedSubstitutionModel::leftEigenVectors_, and bpp::MarkovModulatedSubstitutionModel::rightEigenVectors_.
Referenced by bpp::MarkovModulatedSubstitutionModel::dPij_dt().
|
inlinevirtualinherited |
Implements bpp::SubstitutionModel.
Definition at line 215 of file MarkovModulatedSubstitutionModel.h.
References bpp::MarkovModulatedSubstitutionModel::eigenValues_.
|
inlinevirtualinherited |
Implements bpp::SubstitutionModel.
Definition at line 207 of file MarkovModulatedSubstitutionModel.h.
References bpp::MarkovModulatedSubstitutionModel::exchangeability_.
|
inlinevirtualinherited |
Implements bpp::SubstitutionModel.
Definition at line 205 of file MarkovModulatedSubstitutionModel.h.
References bpp::MarkovModulatedSubstitutionModel::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::YNGKP_M1, bpp::YNGKP_M8, bpp::YNGKP_M7, bpp::AbstractCodonPhaseFrequenciesSubstitutionModel, bpp::YNGKP_M3, bpp::YNGKP_M2, and bpp::AbstractCodonFrequenciesSubstitutionModel.
Definition at line 479 of file SubstitutionModel.h.
Referenced by bpp::AbstractBiblioSubstitutionModel::getFrequenciesSet(), and bpp::BppOSubstitutionModelFormat::write().
|
inlinevirtualinherited |
See Kosiol and Goldman (2005), Molecular Biology And Evolution 22(2) 193-9.
Implements bpp::SubstitutionModel.
Definition at line 209 of file MarkovModulatedSubstitutionModel.h.
References bpp::MarkovModulatedSubstitutionModel::generator_.
|
inlinevirtualinherited |
Implements bpp::SubstitutionModel.
Definition at line 216 of file MarkovModulatedSubstitutionModel.h.
References bpp::MarkovModulatedSubstitutionModel::iEigenValues_.
|
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. |
Implements bpp::SubstitutionModel.
Definition at line 203 of file MarkovModulatedSubstitutionModel.cpp.
|
inlinevirtualinherited |
Get the state in the model corresponding to a particular state in the alphabet.
code | The alphabet state to check. |
Implements bpp::SubstitutionModel.
Definition at line 201 of file MarkovModulatedSubstitutionModel.h.
References bpp::AbstractStateMap::getModelStates(), and bpp::MarkovModulatedSubstitutionModel::stateMap_.
|
inlinevirtualinherited |
Get the state in the model corresponding to a particular state in the alphabet.
code | The alphabet state to check. |
Implements bpp::SubstitutionModel.
Definition at line 203 of file MarkovModulatedSubstitutionModel.h.
References bpp::AbstractStateMap::getModelStates(), and bpp::MarkovModulatedSubstitutionModel::stateMap_.
|
inlinevirtual |
|
inlineinherited |
Definition at line 241 of file MarkovModulatedSubstitutionModel.h.
References bpp::MarkovModulatedSubstitutionModel::model_.
Referenced by bpp::BppOSubstitutionModelFormat::write().
|
inlinevirtualinherited |
Get the number of states.
For most models, this equals the size of the alphabet.
Implements bpp::SubstitutionModel.
Definition at line 191 of file MarkovModulatedSubstitutionModel.h.
References bpp::MarkovModulatedSubstitutionModel::nbRates_, and bpp::MarkovModulatedSubstitutionModel::nbStates_.
|
virtualinherited |
Implements bpp::SubstitutionModel.
Definition at line 180 of file MarkovModulatedSubstitutionModel.cpp.
References bpp::MarkovModulatedSubstitutionModel::eigenValues_, bpp::MarkovModulatedSubstitutionModel::leftEigenVectors_, bpp::MarkovModulatedSubstitutionModel::nbRates_, bpp::MarkovModulatedSubstitutionModel::nbStates_, bpp::MarkovModulatedSubstitutionModel::pijt_, and bpp::MarkovModulatedSubstitutionModel::rightEigenVectors_.
Referenced by bpp::MarkovModulatedSubstitutionModel::Pij_t().
|
inlinevirtual |
|
inlineinherited |
Get the rate category corresponding to a particular state in the compound model.
i | The state. |
Definition at line 250 of file MarkovModulatedSubstitutionModel.h.
References bpp::MarkovModulatedSubstitutionModel::nbStates_.
|
inline |
Definition at line 129 of file G2001.h.
References rDist_.
Referenced by bpp::BppOSubstitutionModelFormat::write().
|
inlinevirtualinherited |
Implements bpp::SubstitutionModel.
Definition at line 221 of file MarkovModulatedSubstitutionModel.h.
References bpp::MarkovModulatedSubstitutionModel::leftEigenVectors_.
|
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 259 of file MarkovModulatedSubstitutionModel.h.
References bpp::MarkovModulatedSubstitutionModel::freq_, and bpp::MarkovModulatedSubstitutionModel::generator_.
|
inlinevirtualinherited |
Implements bpp::SubstitutionModel.
Definition at line 193 of file MarkovModulatedSubstitutionModel.h.
References bpp::MarkovModulatedSubstitutionModel::stateMap_.
|
inlinevirtualinherited |
Implements bpp::SubstitutionModel.
Definition at line 218 of file MarkovModulatedSubstitutionModel.h.
|
inlinevirtualinherited |
Implements bpp::SubstitutionModel.
Definition at line 219 of file MarkovModulatedSubstitutionModel.h.
Definition at line 100 of file G2001.h.
References nestedRatePrefix_, bpp::MarkovModulatedSubstitutionModel::operator=(), and rDist_.
|
inlinevirtualinherited |
Implements bpp::SubstitutionModel.
Definition at line 228 of file MarkovModulatedSubstitutionModel.h.
References bpp::MarkovModulatedSubstitutionModel::getPij_t().
|
inlinevirtualinherited |
Implements bpp::SubstitutionModel.
Definition at line 226 of file MarkovModulatedSubstitutionModel.h.
References bpp::MarkovModulatedSubstitutionModel::generator_.
|
inlinevirtualinherited |
Set equilibrium frequencies.
frequencies | The map of the frequencies to use. |
Reimplemented in bpp::AbstractSubstitutionModel, bpp::F84, bpp::HKY85, bpp::T92, bpp::MixtureOfSubstitutionModels, bpp::AbstractWordSubstitutionModel, bpp::GTR, bpp::RN95, bpp::TN93, bpp::RN95s, bpp::CodonDistanceFrequenciesSubstitutionModel, bpp::AbstractBiblioSubstitutionModel, bpp::MixtureOfASubstitutionModel, bpp::CodonDistanceFitnessPhaseFrequenciesSubstitutionModel, bpp::BinarySubstitutionModel, bpp::CodonDistancePhaseFrequenciesSubstitutionModel, bpp::SSR, bpp::L95, bpp::CodonRateFrequenciesSubstitutionModel, bpp::AbstractCodonPhaseFrequenciesSubstitutionModel, bpp::AbstractCodonFrequenciesSubstitutionModel, and bpp::AbstractCodonFitnessSubstitutionModel.
Definition at line 473 of file SubstitutionModel.h.
Referenced by bpp::AbstractBiblioSubstitutionModel::setFreq().
|
inlinevirtualinherited |
Set equilibrium frequencies equal to the frequencies estimated from the data.
data | The sequences to use. |
pseudoCount | A quantity ![]()
|
Implements bpp::SubstitutionModel.
Definition at line 234 of file MarkovModulatedSubstitutionModel.h.
References bpp::MarkovModulatedSubstitutionModel::model_, bpp::SubstitutionModel::setFreqFromData(), and bpp::MarkovModulatedSubstitutionModel::updateMatrices().
|
inline |
Definition at line 131 of file G2001.h.
References nestedRatePrefix_, rDist_, and bpp::MarkovModulatedSubstitutionModel::setNamespace().
|
inlinevirtual |
Set the rate of the model (must be positive).
rate | must be positive. |
Implements bpp::SubstitutionModel.
|
inlinevirtualinherited |
Multiplies the current generator by the given scale.
scale | the scale by which the generator is multiplied. |
Implements bpp::SubstitutionModel.
Definition at line 266 of file MarkovModulatedSubstitutionModel.h.
References bpp::MarkovModulatedSubstitutionModel::model_, bpp::SubstitutionModel::setScale(), and bpp::MarkovModulatedSubstitutionModel::updateMatrices().
|
inlinevirtualinherited |
By definition Sij(i,j) = Sij(j,i).
Implements bpp::SubstitutionModel.
Definition at line 225 of file MarkovModulatedSubstitutionModel.h.
References bpp::MarkovModulatedSubstitutionModel::exchangeability_.
|
protectedvirtualinherited |
Definition at line 107 of file MarkovModulatedSubstitutionModel.cpp.
References bpp::MarkovModulatedSubstitutionModel::d2pijt_, bpp::MarkovModulatedSubstitutionModel::dpijt_, bpp::MarkovModulatedSubstitutionModel::eigenValues_, bpp::MarkovModulatedSubstitutionModel::exchangeability_, bpp::MarkovModulatedSubstitutionModel::freq_, bpp::MarkovModulatedSubstitutionModel::generator_, bpp::SubstitutionModel::getColumnRightEigenVectors(), bpp::SubstitutionModel::getEigenValues(), bpp::SubstitutionModel::getExchangeabilityMatrix(), bpp::SubstitutionModel::getFrequencies(), bpp::SubstitutionModel::getGenerator(), bpp::SubstitutionModel::getNumberOfStates(), bpp::MarkovModulatedSubstitutionModel::iEigenValues_, bpp::MarkovModulatedSubstitutionModel::leftEigenVectors_, bpp::MarkovModulatedSubstitutionModel::model_, bpp::MarkovModulatedSubstitutionModel::nbRates_, bpp::MarkovModulatedSubstitutionModel::nbStates_, bpp::MarkovModulatedSubstitutionModel::normalizeRateChanges_, bpp::MarkovModulatedSubstitutionModel::pijt_, bpp::MarkovModulatedSubstitutionModel::rates_, bpp::MarkovModulatedSubstitutionModel::ratesExchangeability_, bpp::MarkovModulatedSubstitutionModel::ratesFreq_, bpp::MarkovModulatedSubstitutionModel::ratesGenerator_, and bpp::MarkovModulatedSubstitutionModel::rightEigenVectors_.
Referenced by bpp::MarkovModulatedSubstitutionModel::fireParameterChanged(), G2001(), bpp::MarkovModulatedSubstitutionModel::setFreqFromData(), bpp::MarkovModulatedSubstitutionModel::setScale(), and bpp::TS98::TS98().
|
inlineprotectedvirtual |
Update the rates vector, generator and equilibrium frequencies.
This method must be implemented by the derived class. It is called by the fireParameterChanged() method.
Implements bpp::MarkovModulatedSubstitutionModel.
Definition at line 146 of file G2001.h.
References bpp::MarkovModulatedSubstitutionModel::nbRates_, bpp::MarkovModulatedSubstitutionModel::rates_, bpp::MarkovModulatedSubstitutionModel::ratesExchangeability_, and rDist_.
Referenced by G2001().
|
mutableprotectedinherited |
Definition at line 139 of file MarkovModulatedSubstitutionModel.h.
Referenced by bpp::MarkovModulatedSubstitutionModel::getd2Pij_dt2(), bpp::MarkovModulatedSubstitutionModel::operator=(), and bpp::MarkovModulatedSubstitutionModel::updateMatrices().
|
mutableprotectedinherited |
Definition at line 138 of file MarkovModulatedSubstitutionModel.h.
Referenced by bpp::MarkovModulatedSubstitutionModel::getdPij_dt(), bpp::MarkovModulatedSubstitutionModel::operator=(), and bpp::MarkovModulatedSubstitutionModel::updateMatrices().
|
protectedinherited |
Tell if the eigen decomposition should be performed.
Definition at line 132 of file MarkovModulatedSubstitutionModel.h.
Referenced by bpp::MarkovModulatedSubstitutionModel::enableEigenDecomposition(), and bpp::MarkovModulatedSubstitutionModel::operator=().
|
protectedinherited |
The vector of real parts of eigen values.
Definition at line 121 of file MarkovModulatedSubstitutionModel.h.
Referenced by bpp::MarkovModulatedSubstitutionModel::getd2Pij_dt2(), bpp::MarkovModulatedSubstitutionModel::getdPij_dt(), bpp::MarkovModulatedSubstitutionModel::getEigenValues(), bpp::MarkovModulatedSubstitutionModel::getPij_t(), bpp::MarkovModulatedSubstitutionModel::operator=(), and bpp::MarkovModulatedSubstitutionModel::updateMatrices().
|
protectedinherited |
The exchangeability matrix of the model.
Definition at line 106 of file MarkovModulatedSubstitutionModel.h.
Referenced by bpp::MarkovModulatedSubstitutionModel::getExchangeabilityMatrix(), bpp::MarkovModulatedSubstitutionModel::operator=(), bpp::MarkovModulatedSubstitutionModel::Sij(), and bpp::MarkovModulatedSubstitutionModel::updateMatrices().
|
protectedinherited |
The vector of equilibrium frequencies.
Definition at line 144 of file MarkovModulatedSubstitutionModel.h.
Referenced by bpp::MarkovModulatedSubstitutionModel::freq(), bpp::MarkovModulatedSubstitutionModel::getFrequencies(), bpp::MarkovModulatedSubstitutionModel::getScale(), bpp::MarkovModulatedSubstitutionModel::operator=(), and bpp::MarkovModulatedSubstitutionModel::updateMatrices().
|
protectedinherited |
The generator matrix of the model.
Definition at line 101 of file MarkovModulatedSubstitutionModel.h.
Referenced by bpp::MarkovModulatedSubstitutionModel::getGenerator(), bpp::MarkovModulatedSubstitutionModel::getScale(), bpp::MarkovModulatedSubstitutionModel::operator=(), bpp::MarkovModulatedSubstitutionModel::Qij(), and bpp::MarkovModulatedSubstitutionModel::updateMatrices().
|
protectedinherited |
The vector of imaginary parts of the eigen values (zero in case of reversible pmodel).
Definition at line 127 of file MarkovModulatedSubstitutionModel.h.
Referenced by bpp::MarkovModulatedSubstitutionModel::getIEigenValues(), bpp::MarkovModulatedSubstitutionModel::operator=(), and bpp::MarkovModulatedSubstitutionModel::updateMatrices().
|
protectedinherited |
The matrix made of left eigen vectors (by row).
Definition at line 111 of file MarkovModulatedSubstitutionModel.h.
Referenced by bpp::MarkovModulatedSubstitutionModel::getd2Pij_dt2(), bpp::MarkovModulatedSubstitutionModel::getdPij_dt(), bpp::MarkovModulatedSubstitutionModel::getPij_t(), bpp::MarkovModulatedSubstitutionModel::getRowLeftEigenVectors(), bpp::MarkovModulatedSubstitutionModel::operator=(), and bpp::MarkovModulatedSubstitutionModel::updateMatrices().
|
protectedinherited |
Definition at line 81 of file MarkovModulatedSubstitutionModel.h.
Referenced by bpp::MarkovModulatedSubstitutionModel::fireParameterChanged(), bpp::MarkovModulatedSubstitutionModel::getAlphabet(), bpp::MarkovModulatedSubstitutionModel::getNestedModel(), bpp::MarkovModulatedSubstitutionModel::getRate(), bpp::MarkovModulatedSubstitutionModel::MarkovModulatedSubstitutionModel(), bpp::MarkovModulatedSubstitutionModel::operator=(), bpp::MarkovModulatedSubstitutionModel::setFreqFromData(), bpp::MarkovModulatedSubstitutionModel::setNamespace(), bpp::MarkovModulatedSubstitutionModel::setRate(), bpp::MarkovModulatedSubstitutionModel::setScale(), bpp::MarkovModulatedSubstitutionModel::updateMatrices(), and bpp::MarkovModulatedSubstitutionModel::~MarkovModulatedSubstitutionModel().
|
protectedinherited |
Definition at line 84 of file MarkovModulatedSubstitutionModel.h.
Referenced by G2001(), bpp::MarkovModulatedSubstitutionModel::getNumberOfStates(), bpp::MarkovModulatedSubstitutionModel::getPij_t(), bpp::MarkovModulatedSubstitutionModel::operator=(), bpp::MarkovModulatedSubstitutionModel::updateMatrices(), and updateRatesModel().
|
protectedinherited |
Definition at line 83 of file MarkovModulatedSubstitutionModel.h.
Referenced by bpp::MarkovModulatedSubstitutionModel::getNumberOfStates(), bpp::MarkovModulatedSubstitutionModel::getPij_t(), bpp::MarkovModulatedSubstitutionModel::getRate(), bpp::MarkovModulatedSubstitutionModel::operator=(), and bpp::MarkovModulatedSubstitutionModel::updateMatrices().
|
protectedinherited |
|
private |
Definition at line 69 of file G2001.h.
Referenced by G2001(), operator=(), and setNamespace().
|
protectedinherited |
Definition at line 146 of file MarkovModulatedSubstitutionModel.h.
Referenced by bpp::MarkovModulatedSubstitutionModel::operator=(), and bpp::MarkovModulatedSubstitutionModel::updateMatrices().
|
mutableprotectedinherited |
These ones are for bookkeeping:
Definition at line 137 of file MarkovModulatedSubstitutionModel.h.
Referenced by bpp::MarkovModulatedSubstitutionModel::getPij_t(), bpp::MarkovModulatedSubstitutionModel::operator=(), and bpp::MarkovModulatedSubstitutionModel::updateMatrices().
|
protectedinherited |
Definition at line 92 of file MarkovModulatedSubstitutionModel.h.
Referenced by bpp::MarkovModulatedSubstitutionModel::operator=(), bpp::MarkovModulatedSubstitutionModel::updateMatrices(), bpp::TS98::updateRatesModel(), and updateRatesModel().
|
protectedinherited |
Definition at line 93 of file MarkovModulatedSubstitutionModel.h.
Referenced by bpp::MarkovModulatedSubstitutionModel::operator=(), bpp::MarkovModulatedSubstitutionModel::updateMatrices(), bpp::TS98::updateRatesModel(), and updateRatesModel().
|
protectedinherited |
Definition at line 94 of file MarkovModulatedSubstitutionModel.h.
Referenced by G2001(), bpp::MarkovModulatedSubstitutionModel::operator=(), bpp::MarkovModulatedSubstitutionModel::updateMatrices(), and bpp::TS98::updateRatesModel().
|
protectedinherited |
Definition at line 96 of file MarkovModulatedSubstitutionModel.h.
Referenced by bpp::MarkovModulatedSubstitutionModel::operator=(), and bpp::MarkovModulatedSubstitutionModel::updateMatrices().
|
private |
Definition at line 67 of file G2001.h.
Referenced by fireParameterChanged(), G2001(), getRateDistribution(), operator=(), setNamespace(), updateRatesModel(), and ~G2001().
|
protectedinherited |
The matrix made of right eigen vectors (by column).
Definition at line 116 of file MarkovModulatedSubstitutionModel.h.
Referenced by bpp::MarkovModulatedSubstitutionModel::getColumnRightEigenVectors(), bpp::MarkovModulatedSubstitutionModel::getd2Pij_dt2(), bpp::MarkovModulatedSubstitutionModel::getdPij_dt(), bpp::MarkovModulatedSubstitutionModel::getPij_t(), bpp::MarkovModulatedSubstitutionModel::operator=(), and bpp::MarkovModulatedSubstitutionModel::updateMatrices().
|
protectedinherited |
Definition at line 82 of file MarkovModulatedSubstitutionModel.h.
Referenced by bpp::MarkovModulatedSubstitutionModel::getAlphabetStateAsChar(), bpp::MarkovModulatedSubstitutionModel::getAlphabetStateAsInt(), bpp::MarkovModulatedSubstitutionModel::getAlphabetStates(), bpp::MarkovModulatedSubstitutionModel::getModelStates(), bpp::MarkovModulatedSubstitutionModel::getStateMap(), and bpp::MarkovModulatedSubstitutionModel::operator=().