src/hg/instinct/bioInt2/bioIntDb.h 1.8
1.8 2009/09/05 01:12:01 sbenz
Added em to pipeline
Index: src/hg/instinct/bioInt2/bioIntDb.h
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/instinct/bioInt2/bioIntDb.h,v
retrieving revision 1.7
retrieving revision 1.8
diff -b -B -U 4 -r1.7 -r1.8
--- src/hg/instinct/bioInt2/bioIntDb.h 30 Apr 2009 19:54:28 -0000 1.7
+++ src/hg/instinct/bioInt2/bioIntDb.h 5 Sep 2009 01:12:01 -0000 1.8
@@ -1625,8 +1625,41 @@
#define corrResultsCommaOut(el,f) corrResultsOutput(el,f,',',',');
/* Print out corrResults as a comma separated list including final comma. */
+
+#define PATHWAYEMPARAMS_NUM_COLS 6
+
+struct pathwayEMParams
+/* All available datasets */
+ {
+ struct pathwayEMParams *next; /* Next in singly linked list. */
+ unsigned pathway_id; /* Id of the pathway this is for */
+ unsigned cohort_id; /* Id of the cohort this is for */
+ unsigned dataset_id; /* Id of the dataset this is for */
+ unsigned parent_state; /* State of the parent node (0-2 right now) */
+ unsigned child_state; /* State of the child node (0-2 right now) */
+ float val; /* Value */
+ };
+
+struct pathwayEMParams *pathwayEMParamsLoad(char **row);
+/* Load a pathwayEMParams from row fetched with select * from pathwayEMParams
+ * from database. Dispose of this with pathwayEMParamsFree(). */
+
+struct pathwayEMParams *pathwayEMParamsLoadByQuery(struct sqlConnection *conn, char *query);
+/* Load all pathwayEMParams from table that satisfy the query given.
+ * Where query is of the form 'select * from example where something=something'
+ * or 'select example.* from example, anotherTable where example.something =
+ * anotherTable.something'.
+ * Dispose of this with pathwayEMParamsFreeList(). */
+
+void pathwayEMParamsFree(struct pathwayEMParams **pEl);
+/* Free a single dynamically allocated pathwayEMParams such as created
+ * with pathwayEMParamsLoad(). */
+
+void pathwayEMParamsFreeList(struct pathwayEMParams **pList);
+/* Free a list of dynamically allocated pathwayEMParams's */
+
/* -------------------------------- End autoSql Generated Code -------------------------------- */
#endif /* BIOINTDB_H */