Skip to content

Commit

Permalink
Updating the format of estimated false discovery rate output
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielOlson committed Jan 16, 2025
1 parent fd818cc commit 4b7df3b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ int main_wrapper(int argc, const char * argv[]) {
}
}

printf("(%zu/%zu): %g, %g, %s\n",(coverage.size()),
printf("(%zu/%zu): %.5f, %.5f, %s\n",(coverage.size()),
param_strings.size(),
real_coverage, fdr, arg_string.c_str());
}
Expand All @@ -113,7 +113,7 @@ int main_wrapper(int argc, const char * argv[]) {
double false_coverage = (double)shuffled_coverage[best_coverage_index] / (double)seq_length;
double fdr = false_coverage / real_coverage;

printf("Best coverage within FDR limit: %g, %g, %s\n", real_coverage,
printf("Best coverage within FDR limit: %.5f, %.5f, %s\n", real_coverage,
fdr,
param_strings[best_coverage_index].c_str());

Expand Down

0 comments on commit 4b7df3b

Please sign in to comment.