test_class.declarator: pvallist
test_class.modifier: private static
test_class.original_string: private static List<PValue> pvallist;
test_class.type: List<PValue>
test_class.var_name: pvallist
test_class.declarator: EPSILON=0.00001
test_class.modifier: private static final
test_class.original_string: private static final double EPSILON=0.00001;
test_class.type: double
test_class.var_name: EPSILON
test_class.file: phenol-analysis/src/test/java/org/monarchinitiative/phenol/stats/mtc/BonferroniTest.java
test_class.identifier: BonferroniTest
test_case.body: @Test
    void testGet15Pvalues() {
      MultipleTestingCorrection bonf = new Bonferroni();
      bonf.adjustPvals(pvallist);
      int expectedNumberOfPValues=15;
      assertEquals(expectedNumberOfPValues,pvallist.size());
    }
test_case.class_method_signature: BonferroniTest.testGet15Pvalues()
test_case.full_signature: @Test void testGet15Pvalues()
test_case.identifier: testGet15Pvalues
test_case.invocations: adjustPvals assertEquals size
test_case.modifiers: @Test
test_case.parameters: ()
test_case.return: void
test_case.signature: void testGet15Pvalues()
focal_class.declarator: NAME = "Bonferroni"
focal_class.modifier: private static final
focal_class.original_string: private static final String NAME = "Bonferroni";
focal_class.type: String
focal_class.var_name: NAME
focal_class.file: phenol-analysis/src/main/java/org/monarchinitiative/phenol/stats/mtc/Bonferroni.java
focal_class.identifier: Bonferroni
focal_class.interfaces: implements MultipleTestingCorrection
focal_class.class_method_signature: Bonferroni.adjustPvals(List<? extends PValue> pvals)
focal_class.full_signature: @Override public void adjustPvals(List<? extends PValue> pvals)
focal_class.identifier: adjustPvals
focal_class.modifiers: @Override public
focal_class.parameters: (List<? extends PValue> pvals)
focal_class.return: void
focal_class.signature: void adjustPvals(List<? extends PValue> pvals)
focal_class.class_method_signature: Bonferroni.getName()
focal_class.full_signature: public String getName()
focal_class.identifier: getName
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getName()
focal_method.body: @Override
    public void adjustPvals(List<? extends PValue> pvals) {
      int N=pvals.size();
      for (PValue item : pvals) {
        double p_raw= item.getRawPValue();
        item.setAdjustedPValue(Math.min(1.0,N*p_raw));
      }
    }
focal_method.class_method_signature: Bonferroni.adjustPvals(List<? extends PValue> pvals)
focal_method.full_signature: @Override public void adjustPvals(List<? extends PValue> pvals)
focal_method.identifier: adjustPvals
focal_method.invocations: size getRawPValue setAdjustedPValue min
focal_method.modifiers: @Override public
focal_method.parameters: (List<? extends PValue> pvals)
focal_method.return: void
focal_method.signature: void adjustPvals(List<? extends PValue> pvals)