Package org
Class BioStatisticalCategoryDataset
java.lang.Object
org.jfree.data.AbstractDataset
org.jfree.data.statistics.DefaultStatisticalCategoryDataset
org.BioStatisticalCategoryDataset
- All Implemented Interfaces:
ObjectInputValidation
,Serializable
,Cloneable
,CategoryDataset
,Dataset
,KeyedValues2D
,RangeInfo
,StatisticalCategoryDataset
,Values2D
public class BioStatisticalCategoryDataset extends DefaultStatisticalCategoryDataset implements RangeInfo
- Author:
- Christian Klukas (c) 2004 IPK-Gatersleben
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description BioStatisticalCategoryDataset(float ttestMarkCircleSize)
-
Method Summary
Modifier and Type Method Description void
add(double mean, double standardDeviation, Comparable rowKey, Comparable columnKey, boolean ttestIsRef, boolean ttestIsDiff, String unit, String timeunit, boolean datasetWillBeShownWithStdDev, boolean showOnlyHalfErrorBar)
Adds a mean, a standard deviation and the info about the t test to the table.void
add(double mean, double standardDeviation, Comparable rowKey, Comparable columnKey, boolean ttestIsRef, boolean ttestIsDiff, String unit, String timeunit, boolean datasetWillBeShownWithStdDev, Color color1, Color color2, boolean showOnlyHalfErrorBar)
Color
getColor1ForRowKey(Comparable rowKey)
Color
getColor2ForRowKey(Comparable rowKey)
String
getDomainUnits()
Number
getMaximumRangeValue()
Returns the maximum value in the dataset's range (or null if all the values in the range are null).Number
getMinimumRangeValue()
Returns the minimum value in the dataset's range (or null if all the values in the range are null).String
getRangeUnits()
boolean
getTTestIsH1(int row, int column)
Returns the true, if this is the reference sample or if no calculation is done.boolean
getTTestIsRef(int row, int column)
Returns the true, if this is the reference sample or if no calculation is done.float
getTtestMarkCircleSize()
Methods inherited from class org.jfree.data.statistics.DefaultStatisticalCategoryDataset
add, add, drawOnlyTopOfErrorBar, getColumnCount, getColumnIndex, getColumnKey, getColumnKeys, getErrorBarLen, getMeanValue, getMeanValue, getRowCount, getRowIndex, getRowKey, getRowKeys, getStdDevValue, getStdDevValue, getValue, getValue, getValueRange, setDrawOnlyTopOfErrorBar, setErrorBarLen
Methods inherited from class org.jfree.data.AbstractDataset
addChangeListener, clone, getGroup, removeChangeListener, setGroup, validateObject
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.jfree.data.Dataset
addChangeListener, getGroup, removeChangeListener, setGroup
Methods inherited from interface org.jfree.data.RangeInfo
getValueRange
-
Constructor Details
-
BioStatisticalCategoryDataset
public BioStatisticalCategoryDataset(float ttestMarkCircleSize)
-
-
Method Details
-
add
public void add(double mean, double standardDeviation, Comparable rowKey, Comparable columnKey, boolean ttestIsRef, boolean ttestIsDiff, String unit, String timeunit, boolean datasetWillBeShownWithStdDev, Color color1, Color color2, boolean showOnlyHalfErrorBar) -
add
public void add(double mean, double standardDeviation, Comparable rowKey, Comparable columnKey, boolean ttestIsRef, boolean ttestIsDiff, String unit, String timeunit, boolean datasetWillBeShownWithStdDev, boolean showOnlyHalfErrorBar)Adds a mean, a standard deviation and the info about the t test to the table.- Parameters:
mean
- the mean.standardDeviation
- the standard deviation.rowKey
- the row key.columnKey
- the column key.ttestIsRef
- True, if this is the reference, False if notttestIsDiff
- True, if the t test is done and H1 found to be probable, false if H0 is probableunit
- The unit of the measurement e.g. mmtimeunit
- The time unit of the measurement e.g. day
-
getTTestIsRef
public boolean getTTestIsRef(int row, int column)Returns the true, if this is the reference sample or if no calculation is done. False, if it is no rerence sample. The case that no calculation is done can be recognized be callinggetTTestIsH1
, if this is also true, then no calculation is done (true, true : would make no sense).- Parameters:
row
- the row index (zero-based).column
- the column index (zero-based).- Returns:
- True, if reference or no calculation is done for this sample/value.
-
getTTestIsH1
public boolean getTTestIsH1(int row, int column)Returns the true, if this is the reference sample or if no calculation is done. False, if it is no rerence sample. The case that no calculation is done can be recognized be callinggetTTestIsH1
, if this is also true, then no calculation is done (true, true : would make no sense).- Parameters:
row
- the row index (zero-based).column
- the column index (zero-based).- Returns:
- True, if H1 is probable, False if H0 is probable, also True, if no calculation is done.
-
getTtestMarkCircleSize
public float getTtestMarkCircleSize() -
getRangeUnits
-
getDomainUnits
-
getMaximumRangeValue
Description copied from class:DefaultStatisticalCategoryDataset
Returns the maximum value in the dataset's range (or null if all the values in the range are null).- Specified by:
getMaximumRangeValue
in interfaceRangeInfo
- Overrides:
getMaximumRangeValue
in classDefaultStatisticalCategoryDataset
- Returns:
- the maximum value.
-
getMinimumRangeValue
Description copied from class:DefaultStatisticalCategoryDataset
Returns the minimum value in the dataset's range (or null if all the values in the range are null).- Specified by:
getMinimumRangeValue
in interfaceRangeInfo
- Overrides:
getMinimumRangeValue
in classDefaultStatisticalCategoryDataset
- Returns:
- the minimum value.
-
getColor1ForRowKey
-
getColor2ForRowKey
-