ContextSV 0.0.1
Integrative SV calling.
|
Macros | |
#define | BUFFER_SIZE 1024 |
#define | STATE_CHANGE 100000.0 /*this is the expected changes (D value) in the transition matrix*/ |
#define | VITHUGE 100000000000.0 |
#define | FLOAT_MINIMUM 1.175494351e-38; /*this is indeed machine dependent*/ |
#define | DELTA 1 |
Functions | |
std::vector< int > | testVit_CHMM (CHMM hmm, int T, double *O1, double *O2, double *pfb, int *snpdist, double *plogproba) |
Run the main HMM algorithm. | |
double | b1iot (int state, double *mean, double *sd, double uf, double o) |
O1 emission probability. | |
double | b2iot (int state, double *mean, double *sd, double uf, double pfb, double b) |
O2 emission probability. | |
std::vector< int > | ViterbiLogNP_CHMM (CHMM *phmm, int T, double *O1, double *O2, double *pfb, int *snpdist, double **delta, int **psi, double *pprob) |
Viterbi algorithm. | |
CHMM | ReadCHMM (const char *filename) |
Read an HMM from a file. | |
void | FreeCHMM (CHMM *phmm) |
Free the memory allocated for an HMM. | |
#define BUFFER_SIZE 1024 |
#define DELTA 1 |
#define FLOAT_MINIMUM 1.175494351e-38; /*this is indeed machine dependent*/ |
#define STATE_CHANGE 100000.0 /*this is the expected changes (D value) in the transition matrix*/ |
#define VITHUGE 100000000000.0 |
double b1iot | ( | int | state, |
double * | mean, | ||
double * | sd, | ||
double | uf, | ||
double | o | ||
) |
O1 emission probability.
double b2iot | ( | int | state, |
double * | mean, | ||
double * | sd, | ||
double | uf, | ||
double | pfb, | ||
double | b | ||
) |
O2 emission probability.
void FreeCHMM | ( | CHMM * | phmm | ) |
Free the memory allocated for an HMM.
CHMM ReadCHMM | ( | const char * | filename | ) |
Read an HMM from a file.
std::vector< int > testVit_CHMM | ( | CHMM | hmm, |
int | T, | ||
double * | O1, | ||
double * | O2, | ||
double * | pfb, | ||
int * | snpdist, | ||
double * | plogproba | ||
) |
Run the main HMM algorithm.
std::vector< int > ViterbiLogNP_CHMM | ( | CHMM * | phmm, |
int | T, | ||
double * | O1, | ||
double * | O2, | ||
double * | pfb, | ||
int * | snpdist, | ||
double ** | delta, | ||
int ** | psi, | ||
double * | pprob | ||
) |
Viterbi algorithm.