Package org.apache.commons.math.stat.descriptive

Examples of org.apache.commons.math.stat.descriptive.DescriptiveStatistics.clear()


  private void scale(double[][] peakList) {
    DescriptiveStatistics stdDevStats = new DescriptiveStatistics();

    for (int columns = 0; columns < peakList.length; columns++) {
      stdDevStats.clear();
      for (int row = 0; row < peakList[columns].length; row++) {
        if (!Double.isInfinite(peakList[columns][row])
            && !Double.isNaN(peakList[columns][row])) {
          stdDevStats.addValue(peakList[columns][row]);
        }
View Full Code Here


        // Divide the area or height of each peak by the average of the
        // area or height of the reference peaks in each row
        int columnIndex = 0;
        for (int column = 0; column < groups.size(); column++) {
          String group = groups.get(column);
          meanGroupStats.clear();
          if (!group.equals(referenceGroup)) {

            for (int dataColumn = 0; dataColumn < shownDataFiles
                .size(); dataColumn++) {
View Full Code Here

        baseChart.render();
        double p75 = stats.getPercentile(75);
        if (p75 > 0) {
            baseChart.getChart().getXYPlot().getRangeAxis().setRange(0, 2*p75);
        }
        stats.clear();

        return new QChart("Coverage across reference", baseChart.getChart());
    }

    QChart createAcrossReferenceChart(String chartName, String dataPath, String yTitle) throws IOException {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.