-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into release3.2_k3.7
- Loading branch information
Showing
77 changed files
with
6,351 additions
and
620 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
Knime provides powerful and flexible means to mine data. However, screening data | ||
requires some particular methods, that should be usable with little effort for | ||
daily analysis tasks. Therefore the High Content Screening Tools (HCS-Tools) | ||
come with a set of nodes to make the life of "screeners" easier. | ||
|
||
|
||
|
||
## Useful Links | ||
* [The KNIME framework](www.knime.org) | ||
* [KNIME community contributions](https://www.knime.com/community) | ||
* [HCS Tools Wiki](https://github.com/knime-mpicbg/HCS-Tools/wiki) | ||
|
||
## Development | ||
Since KNIME is an Eclipse application it is easiest to use that IDE. Follow the instruction on [KNIME SDK](https://github.com/knime/knime-sdk-setup) repository to install and confige Eclipse for KNIME development. | ||
|
||
|
||
To work on this project use `File → Import → Git → Projects from Git File → Clone URI` and enter this repositorie's URL. | ||
|
||
|
||
### Debug Configuration: | ||
|
||
In the main menu of Eclipse go to `Run → Debug Configurations... → Eclipas Application → KNIME Analytics Platform` and hit `Debug`. | ||
|
||
You might want to change the memory settings in the `Arguments` tab of the debug configuration by adding: | ||
|
||
-XX:MaxPermSize=256m | ||
|
||
|
||
## Installation | ||
Once [KNIME Analytics Platform](https://www.knime.com/knime-software/knime-analytics-platform) is installed you have the following possibilities: | ||
|
||
1. The easiest is to use the p2 update mechanism of KNIME (Help > Install new Software). Find the detailed instructions on the [HCS Tools](https://www.knime.com/community/hcs-tools) page of the KNIME Community Contributions website. | ||
2. Use eclipse to build the plugins yourself and add them to the plugin directory of the KNIME installation. |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/bin/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
85 changes: 85 additions & 0 deletions
85
de.mpicbg.knime.hcs.base/src/de/mpicbg/knime/hcs/base/IntervalValueRenderer.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,85 @@ | ||
package de.mpicbg.knime.hcs.base; | ||
|
||
import java.text.NumberFormat; | ||
import java.util.Locale; | ||
|
||
import org.knime.core.data.DataColumnSpec; | ||
import org.knime.core.data.IntervalValue; | ||
import org.knime.core.data.renderer.DataValueRenderer; | ||
import org.knime.core.data.renderer.DataValueRendererFactory; | ||
import org.knime.core.data.renderer.DefaultDataValueRenderer; | ||
|
||
/** | ||
* DataValueRenderer extension for {@link IntervalValue} | ||
* IntervalValues will be rendered with human readable format (rounded double values) | ||
* | ||
* @author Antje Janosch | ||
* | ||
*/ | ||
@SuppressWarnings("serial") | ||
public class IntervalValueRenderer extends DefaultDataValueRenderer { | ||
|
||
private NumberFormat m_format = NumberFormat.getNumberInstance(Locale.US); | ||
|
||
public IntervalValueRenderer(String description) { | ||
super(description); | ||
if (description == null) { | ||
throw new IllegalArgumentException("Description must not be null."); | ||
} | ||
} | ||
|
||
/** | ||
/** Sets the interval values to a human readable format | ||
* @param value The value to be rendered. | ||
* @see javax.swing.table.DefaultTableCellRenderer#setValue(Object) | ||
*/ | ||
@Override | ||
protected void setValue(final Object value) { | ||
Object newValue; | ||
if (value instanceof IntervalValue) { | ||
|
||
IntervalValue cell = (IntervalValue)value; | ||
double leftBound = cell.getLeftBound(); | ||
double rightBound = cell.getRightBound(); | ||
boolean inclLeft = cell.leftBoundIncluded(); | ||
boolean inclRight = cell.rightBoundIncluded(); | ||
|
||
String left = m_format != null ? m_format.format(leftBound) : Double.toString(leftBound); | ||
String right = m_format != null ? m_format.format(rightBound) : Double.toString(rightBound); | ||
|
||
String leftIncl = inclLeft ? "[ " : "( "; | ||
String rightIncl = inclRight ? " ]" : " )"; | ||
|
||
newValue = (leftIncl + left + " ; " + right + rightIncl); | ||
|
||
} else { | ||
// missing data cells will also end up here | ||
newValue = value; | ||
} | ||
super.setValue(newValue); | ||
} | ||
|
||
/** | ||
* Factory for a {@link IntervalValueRenderer} that shows a human readable format | ||
*/ | ||
public static final class IntervalValueRendererFactory implements DataValueRendererFactory { | ||
|
||
private static final String DESCRIPTION = "Human Readable"; | ||
|
||
@Override | ||
public String getDescription() { | ||
return DESCRIPTION; | ||
} | ||
|
||
@Override | ||
public DataValueRenderer createRenderer(DataColumnSpec colSpec) { | ||
return new IntervalValueRenderer(DESCRIPTION); | ||
} | ||
|
||
@Override | ||
public String getId() { | ||
return this.getClass().getName(); | ||
} | ||
} | ||
|
||
} |
Oops, something went wrong.