Lines 49-55
Link Here
|
49 |
// Background::Background |
49 |
// Background::Background |
50 |
// Background constructor for a given fasta file and sequence type (aac or nt) |
50 |
// Background constructor for a given fasta file and sequence type (aac or nt) |
51 |
// |
51 |
// |
52 |
Background::Background(GFastaFile *F,FILE *outfile,const seqType t,double e=0.0000001) |
52 |
//Background::Background(GFastaFile *F,FILE *outfile,const seqType t,double e=0.0000001) |
|
|
53 |
Background::Background(GFastaFile *F,FILE *outfile,const seqType t,double e) |
53 |
{ |
54 |
{ |
54 |
outf=outfile; |
55 |
outf=outfile; |
55 |
eps=e; |
56 |
eps=e; |
Lines 386-392
Link Here
|
386 |
// apply_test_wilcoxon_pair |
387 |
// apply_test_wilcoxon_pair |
387 |
// applies the wilcoxon pair test on a vector of differences |
388 |
// applies the wilcoxon pair test on a vector of differences |
388 |
// |
389 |
// |
389 |
void apply_test_wilcoxon_pair(FILE *outf,int diffno, FreqPos *diff,int print=1) |
390 |
//void apply_test_wilcoxon_pair(FILE *outf,int diffno, FreqPos *diff,int print=1) |
|
|
391 |
void apply_test_wilcoxon_pair(FILE *outf,int diffno, FreqPos *diff,int print) |
390 |
{ |
392 |
{ |
391 |
double *rank; |
393 |
double *rank; |
392 |
|
394 |
|
Lines 1543-1549
Link Here
|
1543 |
// Motif::printMotif |
1545 |
// Motif::printMotif |
1544 |
// prints the motif |
1546 |
// prints the motif |
1545 |
// |
1547 |
// |
1546 |
void Motif::printMotif(int printmax,int SignifNo,int print=1) |
1548 |
//void Motif::printMotif(int printmax,int SignifNo,int print=1) |
|
|
1549 |
void Motif::printMotif(int printmax,int SignifNo,int print) |
1547 |
{ |
1550 |
{ |
1548 |
fprintf(B->outf,"Motif found:\n\n"); |
1551 |
fprintf(B->outf,"Motif found:\n\n"); |
1549 |
|
1552 |
|
Lines 2130-2136
Link Here
|
2130 |
// statistical significance after the test sequences have been created; |
2133 |
// statistical significance after the test sequences have been created; |
2131 |
// can be deterministic (when det=1) or not |
2134 |
// can be deterministic (when det=1) or not |
2132 |
// |
2135 |
// |
2133 |
void Motif::testsignif(int det,char **fkseq, int *posfreqlen,int print=1) |
2136 |
//void Motif::testsignif(int det,char **fkseq, int *posfreqlen,int print=1) |
|
|
2137 |
void Motif::testsignif(int det,char **fkseq, int *posfreqlen,int print) |
2134 |
{ |
2138 |
{ |
2135 |
FreqPos diff[B->noseq]; |
2139 |
FreqPos diff[B->noseq]; |
2136 |
unsigned long int diffno=0; |
2140 |
unsigned long int diffno=0; |