halo.examples
Class SampleUseCase2
java.lang.Object
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
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 |
SampleUseCase2
public SampleUseCase2()
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 datamedMethods
- The list of half-life calculation methodstime
- 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)