|
| Profile () |
| Default constructor.
|
|
| Profile (const Profile &orig) |
| Copy constructor.
|
|
virtual | ~Profile () |
| Destructor.
|
|
virtual void | copy (const Profile &orig) |
| Copy orig object to this object ("deep copy"). More...
|
|
virtual double | getAminoFrequency (char amino, unsigned int i) |
| Return the frequency of the aminoacid amino for position i.
|
|
virtual double | getAminoFrequencyFromCode (AminoAcidCode amino, unsigned int i) |
| Return the frequency of the aminoacid amino for position i.
|
|
virtual char | getAminoMaxFrequency (unsigned int i) |
| Return the most frequent aminoacid for position i.
|
|
virtual AminoAcidCode | getAminoMaxFrequencyCode (unsigned int i) |
| Return the most frequent aminoacid for position i.
|
|
virtual string | getConsensus () |
| Return the consensus of the profile.
|
|
virtual double | getFreqMaxAminoFrequency (unsigned int i) |
| Return the frequency of the most frequent aminoacid for position i.
|
|
virtual unsigned int | getNumGap (unsigned int i) |
| Return the number of gaps for position i.
|
|
virtual unsigned int | getNumSequences () |
| Return the number of sequences in the profile.
|
|
virtual const string | getSeq () |
| Return the master sequence.
|
|
virtual unsigned int | getSequenceLength () |
| Return the lenght of sequences in the profile.
|
|
virtual Profile * | newCopy () |
| Construct a new "deep copy" of this object.
|
|
Profile & | operator= (const Profile &orig) |
| Assignment operator.
|
|
virtual void | pCalculateRawFrequency (vector< double > &freq, double &gapFreq, Alignment &ali, unsigned int i) |
| Calculate the raw (ie. unnormalized) aminoacids frequencies for position i. More...
|
|
virtual void | pConstructData (Alignment &ali) |
| Construct data from alignment. More...
|
|
virtual void | pResetData () |
| Reset all data.
|
|
virtual void | reverse () |
| Reverse profile.
|
|
virtual void | setAllowGaps (bool g) |
| Set wether to include/exclude gaps in the master sequence.
|
|
virtual void | setFrequency (double freq, AminoAcidCode amino, int i) |
| Set the frequency of the aminoacid amino for position i.
|
|
virtual void | setFrequency (double freq, char amino, int i) |
| Set the frequency of the aminoacid amino for position i.
|
|
virtual void | setNumGap (int numGap, int j) |
| Set the number of gaps for position i.
|
|
virtual void | setNumSequences (int i) |
| Set the number of sequences in the profile.
|
|
virtual void | setProfile (Alignment &ali) |
| Set the profile with or without gaps in the master sequence. More...
|
|
virtual void | setProfile (Alignment &ali, istream &is) |
| Set the profile with or without gaps in the master sequence. More...
|
|
virtual void | setSeq (string master) |
| Set the master sequence.
|
|
Calculate a frequency profile or PSSM.