adams.data.filter
Class Standardize

java.lang.Object
  extended by adams.core.ConsoleObject
      extended by adams.core.option.AbstractOptionHandler
          extended by adams.data.filter.AbstractFilter<Heatmap>
              extended by 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

Nested Class Summary
 
Nested classes/interfaces inherited from class adams.data.filter.AbstractFilter
AbstractFilter.FilterJob<T extends DataContainer>
 
Field Summary
protected  boolean m_IsSample
          whether the arrays are samples or populations.
 
Fields inherited from class adams.core.option.AbstractOptionHandler
m_DebugLevel, m_OptionManager
 
Constructor Summary
Standardize()
           
 
Method Summary
 String globalInfo()
          Returns a string describing the object.
protected  Heatmap processData(Heatmap data)
          Performs the actual filtering.
 
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
 
Methods inherited from class adams.core.ConsoleObject
getDebugging, getSystemErr, getSystemOut, sizeOf
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

m_IsSample

protected boolean m_IsSample
whether the arrays are samples or populations.

Constructor Detail

Standardize

public Standardize()
Method Detail

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.