Biorithm
1.1
|
A struct to store information on the evaluation of a prediction. ! More...
#include <reporter.h>
Public Member Functions | |
PredictionEvaluation (string g="", string f="", string a="", MyNT c=0) | |
bool | isClosestFunctionInitialised () const |
Has the closest function been initialised? | |
bool | isClosestExperimentallyAnnotatedFunctionInitialised () const |
Has the closest experimentally-verifying function been initialised? | |
bool | isVerified () const |
Is this prediction verified by the new set of annotations? | |
bool | isExperimentallyVerified () const |
Is this prediction verified by an experimentally-derived annotation in the new set of annotations? | |
void | updateClosestFunction (string f, int up, int down, bool experimentalEC=false) |
Update the closest function to the predicted function. | |
Public Attributes | |
string | _gene |
string | _function |
string | _algorithm |
MyNT | _confidence |
unsigned int | _rankOverall |
unsigned int | _rankFunction |
string | _closestFunction |
string | _closestExperimentallyAnnotatedFunction |
MyGainDAGDistanceType | _distance |
MyGainDAGDistanceType | _distanceToExperimentallyAnnotatedFunction |
A struct to store information on the evaluation of a prediction. !
void PredictionEvaluation::updateClosestFunction | ( | string | f, |
int | up, | ||
int | down, | ||
bool | experimentalEC = false |
||
) |
Update the closest function to the predicted function.
[in] | f,a | string denoting the candidate closest function. |
[in] | up,the | distance to travel up the GO DAG to go from the predicted function to f. |
[in] | down,the | distance to travel down the GO DAG to go from the predicted function to f. |
[in] | experimentalEC,true | if the evidence code for the annotation of the gene by f is experimental. Either (but not both) of up or down can be negative. |