adams.data.filter
Class Standardize
java.lang.Object
adams.core.ConsoleObject
adams.core.option.AbstractOptionHandler
adams.data.filter.AbstractFilter<Heatmap>
adams.data.filter.Standardize
- All Implemented Interfaces:
- CleanUpHandler, Debuggable, Destroyable, OptionHandler, ShallowCopySupporter<AbstractFilter>, SizeOfHandler, Serializable, Comparable
public class Standardize
- extends AbstractFilter<Heatmap>
Standardizes the values of a heatmap to have mean of 1 and stdev 1.
NB: normally, the mean is 0 when standardizing, but heatmaps only allow positive values.
Valid options are:
-D <int> (property: debugLevel)
The greater the number the more additional info the scheme may output to
the console (0 = off).
default: 0
minimum: 0
- Version:
- $Revision: 6027 $
- Author:
- fracpete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
|
Field Summary |
protected boolean |
m_IsSample
whether the arrays are samples or populations. |
| Methods inherited from class adams.data.filter.AbstractFilter |
checkData, cleanUp, compareTo, destroy, equals, filter, filter, filter, filter, filter, forCommandLine, forName, getFilters, reset, shallowCopy, shallowCopy |
| Methods inherited from class adams.core.option.AbstractOptionHandler |
cleanUpOptions, debug, debug, debugLevelTipText, defineOptions, finishInit, getDebugLevel, getOptionManager, initialize, isDebugOn, newOptionManager, setDebugLevel, toCommandLine, toString |
m_IsSample
protected boolean m_IsSample
- whether the arrays are samples or populations.
Standardize
public Standardize()
globalInfo
public String globalInfo()
- Returns a string describing the object.
- Specified by:
globalInfo in class AbstractOptionHandler
- Returns:
- a description suitable for displaying in the gui
processData
protected Heatmap processData(Heatmap data)
- Performs the actual filtering.
- Specified by:
processData in class AbstractFilter<Heatmap>
- Parameters:
data - the data to filter
- Returns:
- the filtered data
Copyright © 2013 University of Waikato, Hamilton, NZ. All Rights Reserved.