Package org.bioinfo.ngs.qc.qualimap.beans

Examples of org.bioinfo.ngs.qc.qualimap.beans.GenericHistogram



@Test
public void testHistogram(){

     GenericHistogram hist = new GenericHistogram(2,true);

          int[] d1 = {1,1,1,1,1};
          int[] d2 = {1,1,1,1};

          hist.updateHistogram(d1);
          hist.updateHistogram(d2);

     double[] histData = hist.getHist();

     assertTrue(histData[0] == 1.1);
     assertTrue(histData[1] == 0.9);

View Full Code Here

TOP

Related Classes of org.bioinfo.ngs.qc.qualimap.beans.GenericHistogram

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.