Biorithm  1.1
Public Member Functions | Public Attributes
PredictionEvaluation Struct Reference

A struct to store information on the evaluation of a prediction. ! More...

#include <reporter.h>

List of all members.

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

Detailed Description

A struct to store information on the evaluation of a prediction. !


Member Function Documentation

void PredictionEvaluation::updateClosestFunction ( string  f,
int  up,
int  down,
bool  experimentalEC = false 
)

Update the closest function to the predicted function.

Parameters:
[in]f,astring denoting the candidate closest function.
[in]up,thedistance to travel up the GO DAG to go from the predicted function to f.
[in]down,thedistance to travel down the GO DAG to go from the predicted function to f.
[in]experimentalEC,trueif the evidence code for the annotation of the gene by f is experimental. Either (but not both) of up or down can be negative.

The documentation for this struct was generated from the following files:
 All Classes Functions Variables Typedefs Friends