Weights paths by Grantham's distances for codons differing at 2 sites. More...
#include <Sequence/GranthamWeights.hpp>
Public Member Functions | |
| GranthamWeights2 (Sequence::GeneticCodes genetic_code=Sequence::UNIVERSAL) | |
| void | Calculate (const std::string &codon1, const std::string &codon2) const |
| double * | weights (void) const |
Weights paths by Grantham's distances for codons differing at 2 sites.
Definition at line 49 of file GranthamWeights.hpp.
| Sequence::GranthamWeights2::GranthamWeights2 | ( | Sequence::GeneticCodes | genetic_code = Sequence::UNIVERSAL |
) | [explicit] |
| genetic_code | the code used to Translate the codons |
Definition at line 35 of file GranthamWeights.cc.
| void Sequence::GranthamWeights2::Calculate | ( | const std::string & | codon1, | |
| const std::string & | codon2 | |||
| ) | const [virtual] |
Calculate actually calculates the weights for each branch
| codon1 | a std::string of length 3 representing a sense codon | |
| codon2 | a std::string of length 3 representing a sense codon |
Implements Sequence::WeightingScheme2.
Definition at line 46 of file GranthamWeights.cc.
| double * Sequence::GranthamWeights2::weights | ( | void | ) | const [virtual] |
Implements Sequence::WeightingScheme2.
Definition at line 101 of file GranthamWeights.cc.
1.6.1