Skip to content
This repository
Browse code

Affyio: Moved CEL definition into header file

  • Loading branch information...
commit 39c4fa8c138b11d9cd17d48164f7ff447dd9d324 1 parent e93b6f5
Pjotr Prins authored
33  src/clibs/affyio/src/read_abatch.c
@@ -206,39 +206,6 @@ struct thread_data{
206 206
 #define BUF_SIZE 1024
207 207
 
208 208
 
209  
-/******************************************************************
210  
- **
211  
- ** A "C" level object designed to hold information for a
212  
- ** single CEL file
213  
- **
214  
- ** These should be created using the function
215  
- **
216  
- ** read_cel_file()
217  
- **
218  
- **
219  
- **
220  
- *****************************************************************/
221  
-
222  
-typedef struct{
223  
-  detailed_header_info header;
224  
-  
225  
-  /** these are for storing the intensities, the sds and the number of pixels **/
226  
-  double *intensities;
227  
-  double *stddev;
228  
-  double *npixels;
229  
-
230  
-  /** these are for storing information in the masks and outliers section **/
231  
-  
232  
-  int nmasks;
233  
-  int noutliers;
234  
-
235  
-  short *masks_x, *masks_y;
236  
-  short *outliers_x, *outliers_y;
237  
-
238  
-} CEL;
239  
-
240  
-
241  
-
242 209
 
243 210
 
244 211
 
34  src/clibs/affyio/src/read_abatch.h
@@ -25,5 +25,39 @@ typedef struct{
25 25
   char *ScanDate;
26 26
 } detailed_header_info;
27 27
 
  28
+/******************************************************************
  29
+ **
  30
+ ** A "C" level object designed to hold information for a
  31
+ ** single CEL file
  32
+ **
  33
+ ** These should be created using the function
  34
+ **
  35
+ ** read_cel_file()
  36
+ **
  37
+ **
  38
+ **
  39
+ *****************************************************************/
  40
+
  41
+typedef struct{
  42
+  detailed_header_info header;
  43
+  
  44
+  /** these are for storing the intensities, the sds and the number of pixels **/
  45
+  double *intensities;
  46
+  double *stddev;
  47
+  double *npixels;
  48
+
  49
+  /** these are for storing information in the masks and outliers section **/
  50
+  
  51
+  int nmasks;
  52
+  int noutliers;
  53
+
  54
+  short *masks_x, *masks_y;
  55
+  short *outliers_x, *outliers_y;
  56
+
  57
+} CEL;
  58
+
  59
+extern CEL *read_cel_file(const char *filename, int read_intensities_only);
  60
+
  61
+
28 62
 
29 63
 #endif

0 notes on commit 39c4fa8

Please sign in to comment.
Something went wrong with that request. Please try again.