motifnormal.h
来自「EM算法的改进」· C头文件 代码 · 共 69 行
H
69 行
/* * $Id: motifnormal.h 1339 2006-09-21 19:46:28Z tbailey $ * * $Log$ * Revision 1.1 2005/07/29 18:45:04 nadya * Initial revision * */#ifndef PROFILENORMAL_H #define PROFILENORMAL_H #include "macros.h"#include "nrutil.h"#include "rtarray.h"#include "curves.h"#include "chi.h"#include "user.h"#define ERROR 0#define NOERROR 1 typedef struct { float SeqLen; /* length of sequence */ BOOLEAN Skip; /* ignore sequence if true */ long fp; /* file pointer to beginning of sequence rec. */ float Mscores[MAXG]; /* maximum scores for each motif */ float Score; /* holds score for motif being normalized */ float Calc; /* expected score for sum of Mscores */ float Zscore; /* Z-score for sum of Mscores (MAXSUM) */ float EVPvalue; /* product of p-values for Mscores */ float RVsum; /* sum of reduced variates */ BOOLEAN known_pos; /* known positive if true (for ROC) */ } SEQUENCE;int motifnormal( int mmode, int sdmode, int nmotifs, float *mu, float *sigma, int *w, int *mn, FILE *DatFile, FILE *OutFile, FILE *ZScoreFile, int MinNorm, float PtCut, SEQUENCE *sequences, int Count, BOOLEAN raw );BOOLEAN MrqMin( float X[], float Y[], float Sig[], int NData, float A[], int MA, int ListA[],int MFit, float **Covar,float **Alpha, float *ChiSq, float *Alamda,float *delChiSq, FTYPE Funcs);void MrqCof( float X[], float Y[], float Sig[], int NData, float A[], int MA, int ListA[],int MFit, float **Alpha,float *Beta, float *ChiSq, FTYPE Funcs);void Gaussj( float **A, int N, float **B, int M , BOOLEAN *MrqMin );void CovSrt( float **Covar, int MA, int ListA[], int MFit );#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?