-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathRMAExpress.h
More file actions
142 lines (103 loc) · 3.08 KB
/
Copy pathRMAExpress.h
File metadata and controls
142 lines (103 loc) · 3.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
#ifndef RMAEXPRESS_H
#define RMAEXPRESS_H
#include "DataGroup.h"
#include "expressionGroup.h"
#include "PMProbeBatch.h"
#include "ResidualsDataGroup.h"
#include "PreferencesDialog.h"
#define ID_BACKGROUNDBOX 10000
#define ID_NORMALBOX 10001
#define ID_RESIDUALS 10002
enum
{ RMAEXPRESS_EXIT = 1,
RMAEXPRESS_READ = 100,
RMAEXPRESS_BINARYREAD = 125,
RMAEXPRESS_ADDNEWCEL = 150,
RMAEXPRESS_ABOUT = 200,
RMAEXPRESS_COMPUTE = 300,
RMAEXPRESS_WRITE = 400,
RMAEXPRESS_WRITENATURAL = 410,
RMAEXPRESS_EXPORT = 420,
RMAEXPRESS_BINARYWRITE = 425,
RMAEXPRESS_LOGFILEWRITE = 450,
RMAEXPRESS_SHOW_DATAGROUP = 500,
RMAEXPRESS_SHOW_RESIDUALS = 510,
RMAEXPRESS_SHOW_PREFERENCES = 520,
RMAEXPRESS_VISUALIZE_RAWDATA = 530,
RMAEXPRESS_VISUALIZE_QC = 540
};
static const wxChar
*CDFFILETYPES = _T( "CDF files|*.cdf;*.CDF;*.Cdf;*.cdf.rme;*.cdfrme;*.CDF.RME;*.CDFRME" );
static const wxChar
*CELFILETYPES = _T( "CEL files|*.cel;*.Cel;*.CEL;*.rme;*.Rme;*.RME;*.celrme;*.cel.rme;*.CEL.RME; *.CELRME");
static const wxChar
*RMEFILETYPES = _T( "RMA Express files|*.rme;*.Rme;*.RME" );
class RMAExpress : public wxApp
{
public:
virtual bool OnInit();
private:
wxConfig *mysettings;
};
class RMAExpressFrame : public wxFrame
{
public:
RMAExpressFrame( const wxChar *title,
int xpos, int ypos,
int width, int height);
~RMAExpressFrame();
wxMenuBar *menuBar;
wxMenu *fileMenu;
wxMenu *showMenu;
wxMenu *aboutMenu;
wxTextCtrl *Messages;
void SetSettings(wxConfig *settings);
void SetPreferences(int narrays, int nprobes, wxString tmppath);
void OnRead (wxCommandEvent & event);
void OnCompute (wxCommandEvent & event);
void OnWrite (wxCommandEvent & event);
void OnWriteNatural (wxCommandEvent & event);
void OnAbout (wxCommandEvent & event);
void OnExit (wxCommandEvent & event);
void OnLogFileWrite (wxCommandEvent & event);
void OnBinaryWrite(wxCommandEvent&);
void OnBinaryRead(wxCommandEvent&);
void OnAddCEL(wxCommandEvent&);
void OnShowDataGroup(wxCommandEvent&);
void OnShowResidualImages(wxCommandEvent&);
void OnShowPreferencesDialog(wxCommandEvent & event);
void OnExportExpressionValues(wxCommandEvent & event);
void OnVisualizeRawData(wxCommandEvent & event);
void OnVisualizeQCStatistics(wxCommandEvent & event);
Preferences *myprefs;
private:
DataGroup* currentexperiment;
expressionGroup *myexprs;
ResidualsDataGroup *myresids;
wxConfig *mysettings;
DECLARE_EVENT_TABLE()
};
class PreprocessDialog: public wxDialog
{
public:
PreprocessDialog
( wxWindow *parent,
wxWindowID id,
const wxString &title,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = wxDEFAULT_DIALOG_STYLE
);
PreprocessDialog(wxWindow *parent);
wxTextCtrl * dialogText;
wxString GetText();
wxRadioBox *BgMethod;
wxRadioBox *NormMethod;
wxRadioBox *SummaryMethod;
wxCheckBox *StoreResiduals;
private:
void OnOk( wxCommandEvent &event );
void OnCancel( wxCommandEvent &event );
DECLARE_EVENT_TABLE()
};
#endif