net.maizegenetics.analysis.chart.TableReportBoxWhiskerCatDataset Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tassel Show documentation
Show all versions of tassel Show documentation
TASSEL is a software package to evaluate traits associations, evolutionary patterns, and linkage
disequilibrium.
package net.maizegenetics.analysis.chart;
import net.maizegenetics.util.TableReport;
import org.jfree.data.statistics.DefaultBoxAndWhiskerCategoryDataset;
import java.util.ArrayList;
import java.util.Vector;
/**
* Title:
* Description: This will find the categories and estimate the box and wiskers for a Tablereport
* Copyright: Copyright (c) 2004
* Company:
* @author Ed Buckler
* @version 1.0
*/
public class TableReportBoxWhiskerCatDataset extends DefaultBoxAndWhiskerCategoryDataset {
String[] seriesNames;
public TableReportBoxWhiskerCatDataset(TableReport theTable, int seriesCategory, int[] seriesY) {
setTableReport(theTable, seriesCategory, seriesY);
}
public boolean setTableReport(TableReport theTable, int seriesCategory, int[] seriesY) {
int numRows = (int) theTable.getRowCount();
Vector theCategories = new Vector();
seriesNames = new String[seriesY.length];
Object[] theSN = theTable.getTableColumnNames();
for(int x=0; x
© 2015 - 2025 Weber Informatics LLC | Privacy Policy