|
Biorithm
1.1
|
This class implements an enrichment algorithm based on set cover. More...
#include <enrichment-algorithm.h>
Classes | |
| struct | FuncStats |
Public Member Functions | |
| SetCoverEnrichment (const MyGraph &clusterGraph, const MyGraph &universeGraph, MyAnnotations &annotations, const GeneOntology &go, string category) | |
| Default constructor. | |
| virtual | ~SetCoverEnrichment () |
| Default destructor. | |
| virtual void | computeEnrichedFunctions (const set< string > &functionsToProcess) |
| Computes the enrichment of all the functions. | |
| virtual void | computeEnrichmentForFunction (const string funcType, const string funcId) |
| not used | |
| virtual void | printEnrichmentResults (ostream &ostr) |
| prints the enrichment results for each function. | |
This class implements an enrichment algorithm based on set cover.
| SetCoverEnrichment::SetCoverEnrichment | ( | const MyGraph & | clusterGraph, |
| const MyGraph & | universeGraph, | ||
| MyAnnotations & | annotations, | ||
| const GeneOntology & | go, | ||
| string | category | ||
| ) |
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. |
| void SetCoverEnrichment::computeEnrichedFunctions | ( | const set< string > & | functionsToProcess | ) | [virtual] |
Computes the enrichment of all the functions.
| [in] | functionstoProcess,a | set of strings, where each string represents a function ID. If the set is nonempty, functional enrichment will only be performed for the listed functions in this set. |
Reimplemented from FunctionalEnrichmentAlgorithm.
| void SetCoverEnrichment::printEnrichmentResults | ( | ostream & | ostr | ) | [virtual] |
prints the enrichment results for each function.
| [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