|
Biorithm
1.1
|
This class implements the GenGO functional enrichment algorithm from the following paper: http://www.ncbi.nlm.nih.gov/pubmed/18676451. More...
#include <enrichment-algorithm.h>
Classes | |
| struct | FunctionInfo |
Public Member Functions | |
| GenGOAlgorithm (const MyGraph &clusterGraph, const MyGraph &universeGraph, MyAnnotations &annotations, const GeneOntology &go, string category, double p, double q, double penalty) | |
| Default constructor. | |
| virtual | ~GenGOAlgorithm () |
| Default destructor. | |
| virtual void | computeEnrichedFunctions (const set< string > &functionsToProcess) |
| This method runs the GenGO algorithm. | |
| virtual void | computeEnrichmentForFunction (const string funcType, const string funcId) |
| Computes whether one function is enriched. | |
| virtual void | printEnrichmentResults (ostream &ostr) |
| prints the enrichment results | |
This class implements the GenGO functional enrichment algorithm from the following paper: http://www.ncbi.nlm.nih.gov/pubmed/18676451.
| GenGOAlgorithm::GenGOAlgorithm | ( | const MyGraph & | clusterGraph, |
| const MyGraph & | universeGraph, | ||
| MyAnnotations & | annotations, | ||
| const GeneOntology & | go, | ||
| string | category, | ||
| double | p, | ||
| double | q, | ||
| double | penalty | ||
| ) |
Default constructor.
| [in] | clusterGraph | an instance of MyGraph storing the "cluster" for which we want to compute functional enrichment. |
| [in] | universeGraph | an instance of MyGraph storing the universe of genes. |
| [in] | annotations | The annotations for the genes. |
| [in] | p | The probability p for the GenGO algorithm. |
| [in] | q | The probability q for the GenGO algorithm. |
| [in] | penalty | The penalty for including a term in the final function set. |
| void GenGOAlgorithm::computeEnrichedFunctions | ( | const set< string > & | functionsToProcess | ) | [virtual] |
This method runs the GenGO algorithm.
| [in] | functionstoProcess | Not Used |
Reimplemented from FunctionalEnrichmentAlgorithm.
| virtual void GenGOAlgorithm::computeEnrichmentForFunction | ( | const string | funcType, |
| const string | funcId | ||
| ) | [inline, virtual] |
Computes whether one function is enriched.
| [in] | type | a string specifying the type of the function. |
| [in] | functionId | a string specifying function. |
Implements FunctionalEnrichmentAlgorithm.
| void GenGOAlgorithm::printEnrichmentResults | ( | ostream & | ostr | ) | [virtual] |
prints the enrichment results
| [in] | ostr,an | output stream to which the results will be written. Use cout for printing to a terminal. |
Implements FunctionalEnrichmentAlgorithm.
1.7.6.1