org.geworkbench.bison.datastructure.bioobjects.microarray
Interface DSGenotypicMarkerValue

All Superinterfaces:
java.lang.Comparable, DSMarkerValue, DSMutableMarkerValue, java.io.Serializable
All Known Implementing Classes:
CSGenotypicMarkerValue

public interface DSGenotypicMarkerValue
extends DSMutableMarkerValue


Method Summary
 short getAllele(int id)
          Gets either of the two alleles
 void setAllele(int allele)
          Sets the primary allele
 void setGenotype(int allele0, int allele1)
          Sets genotype
 
Methods inherited from interface org.geworkbench.bison.datastructure.bioobjects.microarray.DSMutableMarkerValue
mask, setConfidence, setMissing, setValue, unmask
 
Methods inherited from interface org.geworkbench.bison.datastructure.bioobjects.microarray.DSMarkerValue
deepCopy, equals, getConfidence, getDimensionality, getValue, isMasked, isMissing, isValid
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

getAllele

short getAllele(int id)
Gets either of the two alleles

Parameters:
id - int either of the two dimensions
Returns:
int allele as int

setAllele

void setAllele(int allele)
Sets the primary allele

Parameters:
allele - int

setGenotype

void setGenotype(int allele0,
                 int allele1)
Sets genotype

Parameters:
allele0 - int
allele1 - int