Biorithm
1.1
|
This class implements the FuncAssociate enrichment method: http://bioinformatics.oxfordjournals.org/cgi/content/abstract/19/18/2502. More...
#include <enrichment-algorithm.h>
Classes | |
struct | FunctionInfo |
information about a function. | |
Public Member Functions | |
FuncAssociate (const MyPointSet &clusterPoints, const set< string > &universeSet, MyAnnotations &annotations, const GeneOntology &go, string category, string outfile) | |
Default constructor. | |
virtual | ~FuncAssociate () |
Default destructor. | |
virtual void | computeEnrichedFunctions (const set< string > &functionsToProcess) |
Computes functional enrichment using the FuncAssociate 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 FuncAssociate enrichment method: http://bioinformatics.oxfordjournals.org/cgi/content/abstract/19/18/2502.
FuncAssociate::FuncAssociate | ( | const MyPointSet & | clusterPoints, |
const set< string > & | universeSet, | ||
MyAnnotations & | annotations, | ||
const GeneOntology & | go, | ||
string | category, | ||
string | outfile | ||
) |
Default constructor.
[in] | clusterPoints | The cluster on which we want to perform enrichment. |
[in] | universeSet | The universe of genes. |
[in] | annotations | The annotations for the genes. |
[in] | go | An instance of the Gene Ontology. |
[in] | category | A string indicating the category of functions on which to perform enrichment. An empty string indicates all categories. |
[in] | rankedGenes | A list of ranked genes, where the lowest index indicates the most importan (i.e., highest ranked) gene. |
void FuncAssociate::computeEnrichedFunctions | ( | const set< string > & | functionsToProcess | ) | [virtual] |
Computes functional enrichment using the FuncAssociate algorithm.
[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.
virtual void FuncAssociate::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 FuncAssociate::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.