import("methods")

importMethodsFrom("Biobase", "annotation", "description")

export("applyByCategory",  "ttperm",
 "cateGOry", "findAMstats", "MAPAmat", "probes2MAP",
 "getPathNames", "makeEBcontr", "probes2Path")     

exportClasses("HyperGParams",
              "GOHyperGParams",
              "KEGGHyperGParams",
              "PFAMHyperGParams",

              "HyperGResultBase",
              "HyperGResult")

exportMethods("hyperGTest",
              
              "universeBuilder",
              "categoryToEntrezBuilder",

              "categoryName",

              ## accessors for HyperGResult
              "pvalues",
              "geneCounts",
              "universeCounts",
              "universeMappedCount",
              "geneMappedCount",
              "annotation",
              "geneIds",
              "geneIds<-",
              "testName",
              "pvalueCutoff",
              "pvalueCutoff<-",
              "testDirection",
              "testDirection<-",
              "description",
              "universeGeneIds",
              "ontology",
              "ontology<-",
              "conditional",
              "conditional<-",
              "isConditional",
              "oddsRatios",
              "expectedCounts",
              "htmlReport",

              "show",
              "summary")

export(geneGoHyperGeoTest, geneKeggHyperGeoTest,
       ".doHyperGTest")
