alun.genio
Class AffectionStatusPhenotype

java.lang.Object
  extended by alun.genio.LinkagePhenotype
      extended by alun.genio.AffectionStatusPhenotype

public class AffectionStatusPhenotype
extends LinkagePhenotype

This represents the data for an individual at a locus specified in the linkage affected status format.


Field Summary
static int AFFECTED
           
 int liability
           
 int nliab
           
 int status
           
static int UNAFFECTED
           
static int UNKNOWN
           
 
Constructor Summary
AffectionStatusPhenotype(AffectionStatusLocus l, int stat, int liab)
          Creates a new phenotype from the given status and liability class numbers.
 
Method Summary
 LinkagePhenotype nullCopy()
           
 java.lang.String toString()
          Returns a string representation of the data.
 
Methods inherited from class alun.genio.LinkagePhenotype
getLocus, setLocus
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

UNKNOWN

public static final int UNKNOWN
See Also:
Constant Field Values

AFFECTED

public static final int AFFECTED
See Also:
Constant Field Values

UNAFFECTED

public static final int UNAFFECTED
See Also:
Constant Field Values

status

public int status

liability

public int liability

nliab

public int nliab
Constructor Detail

AffectionStatusPhenotype

public AffectionStatusPhenotype(AffectionStatusLocus l,
                                int stat,
                                int liab)
Creates a new phenotype from the given status and liability class numbers. The data is checked for consistency with the data for the specified locus.

Method Detail

nullCopy

public LinkagePhenotype nullCopy()
Specified by:
nullCopy in class LinkagePhenotype

toString

public java.lang.String toString()
Returns a string representation of the data.

Overrides:
toString in class java.lang.Object