|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.knime.base.node.viz.enrichment.EnrichmentPlotterSettings
public class EnrichmentPlotterSettings
This class holds the settings for the enrichment plotter node.
Nested Class Summary | |
---|---|
static class |
EnrichmentPlotterSettings.Curve
A simple container that holds the necessary information for specifying a curve that should be plotted. |
static class |
EnrichmentPlotterSettings.PlotMode
Enum for the three different plot modes. |
Constructor Summary | |
---|---|
EnrichmentPlotterSettings()
|
Method Summary | |
---|---|
void |
addCurve(String sortColumn,
String activityColumn,
boolean sortDescending)
Adds a new curve to the settings. |
EnrichmentPlotterSettings.Curve |
getCurve(int index)
Returns the curve settings for the given index. |
int |
getCurveCount()
Returns the number of curves that should be plotted. |
double |
hitThreshold()
Returns the threshold above and including which a data point is considered a hit. |
void |
hitThreshold(double thres)
Sets the threshold above and including which a data point is considered a hit. |
void |
loadSettings(NodeSettingsRO settings)
Loads the settings from the given node settings object. |
void |
loadSettingsForDialog(NodeSettingsRO settings)
Loads the settings from the given node settings object. |
int |
minClusterMembers()
Returns the minimum number of molecules from the same cluster that have to be found so that a cluster is declared to be found. |
void |
minClusterMembers(int min)
Sets the minimum number of molecules from the same cluster that have to be found so that a cluster is declared to be found. |
EnrichmentPlotterSettings.PlotMode |
plotMode()
Returns the desired plot mode. |
void |
plotMode(EnrichmentPlotterSettings.PlotMode mode)
Sets the desired plot mode. |
boolean |
removeCurve(EnrichmentPlotterSettings.Curve curve)
Removes the given curve from the settings. |
void |
saveSettings(NodeSettingsWO settings)
Saves this object's settings to the given node settings. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EnrichmentPlotterSettings()
Method Detail |
---|
public void addCurve(String sortColumn, String activityColumn, boolean sortDescending)
sortColumn
- the column by which the table should be sortedactivityColumn
- the column with the activity or cluster valuessortDescending
- true
if the sortColumn
should be sorted descending, false
if it should
be sorted ascendingpublic EnrichmentPlotterSettings.Curve getCurve(int index)
index
- an index
public int getCurveCount()
public boolean removeCurve(EnrichmentPlotterSettings.Curve curve)
curve
- a curve
true
if the curve was removed, false
otherwise (likely because the curve does not exist)public void saveSettings(NodeSettingsWO settings)
settings
- the node settingspublic void loadSettings(NodeSettingsRO settings) throws InvalidSettingsException
settings
- the node settings
InvalidSettingsException
- if the settings are invalidpublic void loadSettingsForDialog(NodeSettingsRO settings)
settings
- the node settingspublic EnrichmentPlotterSettings.PlotMode plotMode()
public void plotMode(EnrichmentPlotterSettings.PlotMode mode)
mode
- the plot modepublic double hitThreshold()
plotMode()
is EnrichmentPlotterSettings.PlotMode.PlotHits
.
public void hitThreshold(double thres)
plotMode()
is
EnrichmentPlotterSettings.PlotMode.PlotHits
.
thres
- the hit thresholdpublic int minClusterMembers()
public void minClusterMembers(int min)
min
- the minimum number of cluster members
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |