⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 motifnormal.h

📁 EM算法的改进
💻 H
字号:
/* * $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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -