Exemplo n.º 1
0
 /*
  * Annotations count
  */
 private void addAnnotationReport(GeneSetAnalysis fatiscan, String dbName) {
   DecimalFormat formatter = new DecimalFormat("#######.##");
   double list1Percentage =
       ((double) (fatiscan.getAnnotatedCounter()) / (double) fatiscan.getIdList().size()) * 100.0;
   String listMessage =
       fatiscan.getAnnotatedCounter()
           + " of "
           + fatiscan.getIdList().size()
           + " ("
           + formatter.format(list1Percentage)
           + "%) "
           + formatter.format(fatiscan.getMeanAnnotationsPerId())
           + " annotations/id";
   annotationReport.append(dbName).append("\t").append(listMessage).append("\n");
 }