Weights paths by Grantham's distances for codons differing at 3 sites. More...
#include <Sequence/GranthamWeights.hpp>
Public Member Functions | |
| GranthamWeights3 (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 3 sites.
Definition at line 61 of file GranthamWeights.hpp.
| Sequence::GranthamWeights3::GranthamWeights3 | ( | Sequence::GeneticCodes | genetic_code = Sequence::UNIVERSAL |
) | [explicit] |
| genetic_code | the code used to Translate the codons |
Definition at line 109 of file GranthamWeights.cc.
| void Sequence::GranthamWeights3::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::WeightingScheme3.
Definition at line 120 of file GranthamWeights.cc.
| double * Sequence::GranthamWeights3::weights | ( | void | ) | const [virtual] |
Implements Sequence::WeightingScheme3.
Definition at line 250 of file GranthamWeights.cc.
1.6.1