libsequence  1.9.5
Sequence::Grantham Class Reference

Grantham's distances. More...

#include <Sequence/Grantham.hpp>

Public Member Functions

 Grantham (const double stop=std::numeric_limits< double >::max())
 
double operator() (char aa1, char aa2) const
 

Detailed Description

Grantham's distances.

A functor to return the Grantham's distance between two amino acids.

Definition at line 40 of file Grantham.hpp.

Member Function Documentation

◆ operator()()

double Sequence::Grantham::operator() ( char  aa1,
char  aa2 
) const

Returns the distance between two amino acids. A distance of "stopweight" is used if one of the amino acids is a stop (a '*' character).

Definition at line 476 of file Grantham.cc.


The documentation for this class was generated from the following files: