|
IntaRNA 3.4.1
RNA-RNA interaction prediction | C++ API
|
#include <PredictionTrackerSpotProbAll.h>
Public Member Functions | |
| PredictionTrackerSpotProbAll (const InteractionEnergy &energy, const std::string &streamName, const std::string &NA_string="NA", const std::string &sep=";") | |
| PredictionTrackerSpotProbAll (const InteractionEnergy &energy, std::ostream *outStream, const std::string &NA_string="NA", const std::string &sep=";") | |
| virtual | ~PredictionTrackerSpotProbAll () |
| virtual void | updateOptimumCalled (const size_t i1, const size_t j1, const size_t i2, const size_t j2, const E_type energy) |
Public Member Functions inherited from IntaRNA::PredictionTracker | |
| PredictionTracker () | |
| virtual | ~PredictionTracker () |
Protected Types | |
| typedef Matrix< Z_type > | Z2dMatrix |
| matrix type to hold the partition function for each index pair | |
Static Protected Member Functions | |
| static void | writeData (std::ostream &out, const Z2dMatrix &pairZ, const Z_type &overallZ, const InteractionEnergy &energy, const std::string &NA_string, const std::string &sep) |
Protected Attributes | |
| const InteractionEnergy & | energy |
| energy handler used for predictions | |
| const bool | deleteStreamsOnDestruction |
| whether or not the streams are to be deleted on destruction | |
| std::ostream * | outStream |
| the stream to write the minE-data to | |
| const std::string | NA_string |
| the output string representation if a value is not available for output | |
| const std::string | sep |
| the output string representation of column separators | |
| Z_type | overallZ |
| overall partition function | |
| Z2dMatrix | pairZ |
| the index-pair-wise minimal energy values | |
Collects for each intermolecular index pair the probability that this pair is covered by an interaction.
The pair data is written to stream on destruction.
|
protected |
matrix type to hold the partition function for each index pair
| IntaRNA::PredictionTrackerSpotProbAll::PredictionTrackerSpotProbAll | ( | const InteractionEnergy & | energy, |
| const std::string & | streamName, | ||
| const std::string & | NA_string = "NA", |
||
| const std::string & | sep = ";" |
||
| ) |
Constructs a PredictionTracker that collected for each index pair of two sequences the probability to be covered by an interaction.
Note, if a filename is provided, its stream is closed on destruction of this object!
| energy | the energy function used for energy calculation |
| streamName | the stream name where the data is to be written to. use STDOUT/STDERR for the respective stream. Otherwise, an according file is created (has to be non-empty) |
| NA_string | the output string representation if a value is not available for profile output |
| sep | the column separator to be used in profile output |
| IntaRNA::PredictionTrackerSpotProbAll::PredictionTrackerSpotProbAll | ( | const InteractionEnergy & | energy, |
| std::ostream * | outStream, | ||
| const std::string & | NA_string = "NA", |
||
| const std::string & | sep = ";" |
||
| ) |
Constructs a PredictionTracker that collected for each index pair of two sequences the probability to be covered by an interaction.
Note, the stream is NOT closed nor deleted on destruction of this object!
| energy | the energy function used |
| outStream | the stream where the data is to be written to (has to be non-null) |
| NA_string | the output string representation if a value is not available for profile output |
| sep | the column separator to be used in profile output |
|
virtual |
destruction: write the profile(s) to the according streams.
|
virtual |
Updates the partition function information for each Predictor.updateOptima() call.
| i1 | the index of the first sequence interacting with i2 |
| j1 | the index of the first sequence interacting with j2 |
| i2 | the index of the second sequence interacting with i1 |
| j2 | the index of the second sequence interacting with j1 |
| energy | the overall energy of the interaction site |
Implements IntaRNA::PredictionTracker.
|
staticprotected |
Writes profile data to stream.
| out | the output stream to write to |
| pairZ | the partition function data to write |
| overallZ | the overall partition function for pairZ |
| energy | the energy function used |
| NA_string | the string to be used for missing entries |
| sep | the column separator to be used in profile output |
|
protected |
whether or not the streams are to be deleted on destruction
|
protected |
energy handler used for predictions
|
protected |
the output string representation if a value is not available for output
|
protected |
the stream to write the minE-data to
|
protected |
overall partition function
|
protected |
the index-pair-wise minimal energy values
|
protected |
the output string representation of column separators