src/hg/instinct/bioInt2/bioController.h 1.1

1.1 2009/03/20 06:06:31 jsanborn
initial commit
Index: src/hg/instinct/bioInt2/bioController.h
===================================================================
RCS file: src/hg/instinct/bioInt2/bioController.h
diff -N src/hg/instinct/bioInt2/bioController.h
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ src/hg/instinct/bioInt2/bioController.h	20 Mar 2009 06:06:31 -0000	1.1
@@ -0,0 +1,34 @@
+/* bioController.h 
+ * All rights reserved -- J. Zachary Sanborn
+ */
+
+#ifndef BIOCONTROLLER_H
+#define BIOCONTROLLER_H 
+
+#include "common.h"
+#include "bioIntDb.h"
+
+
+struct biAnalysis {
+    struct biAnalysis *next;
+    char *db;
+    char *tableName;
+    struct hash *parameters;
+
+    struct analysisResult *(*analyze)(struct biAnalysis *ba, struct slPair *spList, 
+				     char *sample, char *gene);
+}; 
+
+struct analysisResult {
+    struct analysisResult *next;
+    char *sample;
+    char *feature;
+
+    double val;
+    double conf;
+};
+
+
+struct biAnalysis *registerGeneLevelAnalyses(char *db, struct slName *datasets);
+
+#endif /* BIOCONTROLLER_H */