halo.examples
Class SampleUseCase2

java.lang.Object
  extended by halo.examples.SampleUseCase2

public class SampleUseCase2
extends java.lang.Object

The third sample use case, which demonstrates the calculation and plotting of half-lives. Please note that parameters are set arbitrary; you have to choose them carefully when using HALO functionality in your own programs!

Author:
Stefanie Kaufmann

Constructor Summary
SampleUseCase2()
           
 
Method Summary
static void main(java.lang.String[] args)
           
static double median(Data data, java.util.ArrayList<HalfLife> medMethods, double time)
          Calculates the median half-life for a set of methods and a given time
static java.util.List<HalfLife> run()
          Starts the calculation and plotting of half-lives
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SampleUseCase2

public SampleUseCase2()
Method Detail

median

public static double median(Data data,
                            java.util.ArrayList<HalfLife> medMethods,
                            double time)
Calculates the median half-life for a set of methods and a given time

Parameters:
data - The RNA data
medMethods - The list of half-life calculation methods
time - The labeling time
Returns:
Median half-life

run

public static java.util.List<HalfLife> run()
Starts the calculation and plotting of half-lives

Returns:
The calculated half-lives for three different methods

main

public static void main(java.lang.String[] args)