bpp-seq
2.2.0
|
Hydrophobicity of each amino acid, according to Table 1 in Chen, Gu and Huang, BMC Bioinformatics 2006. More...
#include <Bpp/Seq/AlphabetIndex/AAChenGuHuangHydrophobicityIndex.h>
Public Member Functions | |
AAChenGuHuangHydrophobicityIndex () | |
virtual | ~AAChenGuHuangHydrophobicityIndex () |
AAChenGuHuangHydrophobicityIndex * | clone () const |
double | getIndex (int state) const throw (BadIntException) |
Get the index associated to a state. More... | |
double | getIndex (const std::string &state) const throw (BadCharException) |
Get the index associated to a state. More... | |
std::vector< double > * | getIndexVector () const |
const Alphabet * | getAlphabet () const |
Get the alphabet associated to this index. More... | |
Private Attributes | |
std::vector< double > | hydrophobicity_ |
Hydrophobicity of each amino acid, according to Table 1 in Chen, Gu and Huang, BMC Bioinformatics 2006.
Definition at line 66 of file AAChenGuHuangHydrophobicityIndex.h.
|
inline |
Definition at line 73 of file AAChenGuHuangHydrophobicityIndex.h.
References hydrophobicity_.
Referenced by clone().
|
inlinevirtual |
Definition at line 99 of file AAChenGuHuangHydrophobicityIndex.h.
|
inlinevirtual |
Implements bpp::AlphabetIndex1.
Definition at line 101 of file AAChenGuHuangHydrophobicityIndex.h.
References AAChenGuHuangHydrophobicityIndex().
|
inlinevirtual |
Get the alphabet associated to this index.
Implements bpp::AlphabetIndex1.
Definition at line 117 of file AAChenGuHuangHydrophobicityIndex.h.
References bpp::AlphabetTools::PROTEIN_ALPHABET.
|
inlinevirtual |
Get the index associated to a state.
state | The state to consider, as a int value. |
Implements bpp::AlphabetIndex1.
Definition at line 104 of file AAChenGuHuangHydrophobicityIndex.h.
References hydrophobicity_, and bpp::AlphabetTools::PROTEIN_ALPHABET.
|
inlinevirtual |
Get the index associated to a state.
state | The state to consider, as a string value. |
Implements bpp::AlphabetIndex1.
Definition at line 110 of file AAChenGuHuangHydrophobicityIndex.h.
References bpp::LetterAlphabet::charToInt(), hydrophobicity_, and bpp::AlphabetTools::PROTEIN_ALPHABET.
|
inlinevirtual |
Implements bpp::AlphabetIndex1.
Definition at line 115 of file AAChenGuHuangHydrophobicityIndex.h.
References hydrophobicity_.
|
private |
Definition at line 70 of file AAChenGuHuangHydrophobicityIndex.h.
Referenced by AAChenGuHuangHydrophobicityIndex(), getIndex(), and getIndexVector().