halflife
Class HalfLifeWriter

java.lang.Object
  extended by halflife.HalfLifeWriter

public class HalfLifeWriter
extends java.lang.Object

Class for exporting HalfLife values

Author:
Stefanie Kaufmann

Field Summary
static int BOTH
           
static int HALFLIFE
           
static int RATIO
           
 
Constructor Summary
HalfLifeWriter(java.lang.String output, java.lang.String header, int which, boolean nan, HalfLife... hl)
          Writes the half life values of a number of different HalfLife objects into a file, thereby giving the choice to eliminate lines that are not saturated
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

HALFLIFE

public static final int HALFLIFE
See Also:
Constant Field Values

RATIO

public static final int RATIO
See Also:
Constant Field Values

BOTH

public static final int BOTH
See Also:
Constant Field Values
Constructor Detail

HalfLifeWriter

public HalfLifeWriter(java.lang.String output,
                      java.lang.String header,
                      int which,
                      boolean nan,
                      HalfLife... hl)
Writes the half life values of a number of different HalfLife objects into a file, thereby giving the choice to eliminate lines that are not saturated

Parameters:
output - Name of output file
header - Header line of the output file
which - Defines if halflife, ratio or both values should be written into output file; should be HALFLIFE, RATIO or BOTH
nan - true if NaN-values (i.e. spotIDs that are not present in all HalfLife objects) should be included in the output file, false if those should be eliminated
hl - A set of HalfLife objects