00001
#ifndef _DC_TABLE_H_
00002
#define _DC_TABLE_H_
00003
00004
#include "sequence/mt_result.h"
00005
#include "massspec/peakgroup.h"
00006
00007
#define MAX_MASS_TEST_ARRAY_SIZE 10
00008
00009
00010
typedef struct
00011
{
00012
int* pnP_ARRAY;
00013
00014
int* pnZ_SET;
00015
00016 MASS_TEST_RESULT* pMTR_ARRAY;
00017
int nMTR_ARRAY_SIZE;
00018 } DC_ROW;
00019
00020
typedef struct
00021
{
00022 DC_ROW* rows;
00023
int nRows;
00024 } DC_TABLE;
00025
00026
00027
typedef struct
00028
{
00029
int cluster_RTI;
00030
int* cluster_MZJ;
00031
int* cluster_Z_SET;
00032 MASS_TEST_RESULT* cluster_MTR_ARRAY;
00033
float* cluster_PARAM_ARRAY;
00034 } QUANT_ROW;
00035
00036
typedef QUANT_ROW CLUSTER;
00037
00038
typedef struct
00039
{
00040 QUANT_ROW* rows;
00041
int nRows;
00042 } QUANT_TABLE;
00043
00044
typedef QUANT_TABLE DAG_ARRAY;
00045
00046 MASS_TEST_RESULT* MallocMTRArray(
int nSize);
00047
void fprintMTRArray(FILE* fp, MASS_TEST_RESULT* array,
int start,
int stop,
int format);
00048
00049
void destroyQUANTTable(QUANT_TABLE* QT);
00050
int MallocQUANTTable(QUANT_TABLE* T,
int nRows);
00051
int MallocDCTable(DC_TABLE* T,
int nRows);
00052
00053
void destroyDCTable(DC_TABLE* table);
00054
void destroyDCRow(DC_ROW* row);
00055
void fprintDCRow(FILE* fp, DC_ROW* row,
int* vertex_array);
00056
void fprintDCTable(FILE* fp, DC_TABLE* T,
int* vertex_array);
00057
00058
void fprintQUANT_ROW(FILE* fp, QUANT_ROW* QR);
00059
void fprintQUANTTable(FILE* fp, QUANT_TABLE* QT);
00060
00061
void fprintDeconvolutionResults(FILE* fp,
PeakGroup PG);
00062
00063
#endif
00064