00001
#ifndef _SP_TABLE_H_
00002
#define _SP_TABLE_H_
00003
00004
enum {SP_TABLE_FIRST_PEPTIDE, SP_TABLE_SECOND_PEPTIDE};
00005
00006
typedef struct
00007
{
00008
Experiment* expnt;
00009
int no_rows;
00010
int sizeOfRow;
00011 SP_ROW* rows;
00012
int RANK_THRESHOLD;
00013
int SCORE_THRESHOLD;
00014
00015 } SP_TABLE;
00016
00017
00018
int SPTable_loadFile(SP_TABLE* T,
char* filename);
00019 MQString* SPTable_toStringArray(SP_TABLE T,
int field);
00020
00021
int SPTable_create(SP_TABLE* T,
int size);
00022
int SPTable_createWithMSLimits(SP_TABLE* T,
int size,
float rt_low,
float rt_high);
00023
00024
00025
00026
00027
void SPTable_fprint(FILE* fp, SP_TABLE* T,
int size);
00028
00029
#endif
00030