Main Page | Modules | Data Structures | File List | Data Fields | Globals

tables/sp_table.h

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; // An array of rows each representing a spectrum 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 //void createSpectrumToPeptideTableFromSpectrum (SP_TABLE* T, SpectrumHeader* SH); 00025 //void addPeptideToSpectrum(SP_TABLE* T, int specIndex, Peptide* pt, Score score); 00026 00027 void SPTable_fprint(FILE* fp, SP_TABLE* T, int size); 00028 00029 #endif 00030

Generated on Sun Feb 13 01:06:00 2005 for MapQuant by doxygen 1.3.7