alun.gchap
Class HapFormatter

java.lang.Object
  extended by alun.gchap.HapFormatter

public class HapFormatter
extends java.lang.Object

A class for formatting output.


Constructor Summary
HapFormatter()
           
 
Method Summary
static java.lang.String formatGuesses(Observation y, GeneticDataSource gds)
          Returns a string representation of the most likely pair of haplotypes for each observed phenotype.
static java.lang.String formatHaplotypes(Observation y)
          Returns a string representation of the haplotypes and frequencies for the given observation set.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HapFormatter

public HapFormatter()
Method Detail

formatHaplotypes

public static java.lang.String formatHaplotypes(Observation y)
Returns a string representation of the haplotypes and frequencies for the given observation set.


formatGuesses

public static java.lang.String formatGuesses(Observation y,
                                             GeneticDataSource gds)
Returns a string representation of the most likely pair of haplotypes for each observed phenotype.