public class TransformDataPlugin extends AbstractPlugin
Modifier and Type | Class and Description |
---|---|
static class |
TransformDataPlugin.BASE |
DEFAULT_CITATION, POSITION_LIST_NONE, TAXA_LIST_NONE
Constructor and Description |
---|
TransformDataPlugin(Frame parentFrame,
boolean isInteractive) |
Modifier and Type | Method and Description |
---|---|
String |
getButtonName()
Button name for this plugin to be used in buttons, etc.
|
ImageIcon |
getIcon()
Icon for this plugin to be used in buttons, etc.
|
String |
getToolTipText()
Tool Tip Text for this plugin
|
String |
getUsage()
Gets the Usage Statement for this Plugin.
|
NumericAttribute |
logTransform(NumericAttribute original) |
float[] |
meanStdDev(float[] data) |
NumericAttribute |
powerTransform(NumericAttribute original) |
DataSet |
processData(DataSet input)
For the new Generic Plugin Parameter design, performFunction() will
automatically call this.
|
void |
setByFactor(List<CategoricalAttribute> byFactor) |
void |
setFactors(String namelist) |
void |
setLogTransform(boolean logTransform) |
void |
setMyBase(TransformDataPlugin.BASE myBase) |
void |
setParameters(String[] args)
Allows self-describing Plugins to use args to set parameters specific to
itself.
|
void |
setPower(double power) |
void |
setPowerTransform(boolean powerTransform) |
void |
setStandardize(boolean standardize) |
void |
setTraits(String namelist) |
void |
setTraitsToTransform(List<NumericAttribute> traitsToTransform) |
NumericAttribute |
standardize(NumericAttribute original) |
NumericAttribute |
standardize(NumericAttribute original,
List<CategoricalAttribute> byFactors) |
List<int[]> |
subsets(List<CategoricalAttribute> byFactors) |
PhenotypeAttribute |
transformAttribute(PhenotypeAttribute myAttribute) |
DataSet |
transformTraits(Phenotype myPhenotype,
Datum myData) |
addListener, cancel, convert, dataSetReturned, getCitation, getInputs, getMenu, getPanel, getParameter, getParameter, getParentFrame, getUsageHTML, isInteractive, performFunction, pluginDescription, pluginUserManualURL, progress, progress, receiveInput, reverseTrace, run, setConfigParameters, setParameter, setParameter, setParameter, setParametersToDefault, setThreaded, trace, wasCancelled
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getPluginInstance, getPluginInstance, isPlugin
public TransformDataPlugin(Frame parentFrame, boolean isInteractive)
public DataSet processData(DataSet input)
Plugin
processData
in interface Plugin
processData
in class AbstractPlugin
input
- inputpublic PhenotypeAttribute transformAttribute(PhenotypeAttribute myAttribute)
public ImageIcon getIcon()
Plugin
public String getButtonName()
Plugin
public String getToolTipText()
Plugin
public NumericAttribute powerTransform(NumericAttribute original)
public NumericAttribute logTransform(NumericAttribute original)
public NumericAttribute standardize(NumericAttribute original)
public float[] meanStdDev(float[] data)
public NumericAttribute standardize(NumericAttribute original, List<CategoricalAttribute> byFactors)
public List<int[]> subsets(List<CategoricalAttribute> byFactors)
public void setParameters(String[] args)
Plugin
setParameters
in interface Plugin
setParameters
in class AbstractPlugin
args
- argumentspublic String getUsage()
Plugin
getUsage
in interface Plugin
getUsage
in class AbstractPlugin
public void setTraits(String namelist)
public void setFactors(String namelist)
public void setTraitsToTransform(List<NumericAttribute> traitsToTransform)
public void setByFactor(List<CategoricalAttribute> byFactor)
public void setLogTransform(boolean logTransform)
public void setPowerTransform(boolean powerTransform)
public void setStandardize(boolean standardize)
public void setMyBase(TransformDataPlugin.BASE myBase)
public void setPower(double power)
Copyright © 2018. All rights reserved.