Package net.sf.basedb.plugins
Class LowessNormalization.CallableWorker
- java.lang.Object
-
- net.sf.basedb.plugins.LowessNormalization.CallableWorker
-
- All Implemented Interfaces:
Callable<List<LowessNormalization.SpotData>>
- Enclosing class:
- LowessNormalization
static class LowessNormalization.CallableWorker extends Object implements Callable<List<LowessNormalization.SpotData>>
-
-
Field Summary
Fields Modifier and Type Field Description private int
blockGroupSize
private float
delta
private float
fitFraction
private List<LowessNormalization.SpotData>
in
private int
iterations
private MACalculator
mac
-
Constructor Summary
Constructors Constructor Description CallableWorker(List<LowessNormalization.SpotData> in, MACalculator mac, float fitFraction, float delta, int iterations, int blockGroupSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<LowessNormalization.SpotData>
call()
private boolean
normalize(List<LowessNormalization.SpotData> data, MACalculator mac)
Normalize the spot data.
-
-
-
Field Detail
-
in
private final List<LowessNormalization.SpotData> in
-
mac
private final MACalculator mac
-
fitFraction
private final float fitFraction
-
delta
private final float delta
-
iterations
private final int iterations
-
blockGroupSize
private int blockGroupSize
-
-
Constructor Detail
-
CallableWorker
CallableWorker(List<LowessNormalization.SpotData> in, MACalculator mac, float fitFraction, float delta, int iterations, int blockGroupSize)
-
-
Method Detail
-
call
public List<LowessNormalization.SpotData> call()
- Specified by:
call
in interfaceCallable<List<LowessNormalization.SpotData>>
-
normalize
private boolean normalize(List<LowessNormalization.SpotData> data, MACalculator mac)
Normalize the spot data.- Returns:
- TRUE if all was ok, FALSE if worker has been interrupted and should stop executing
-
-