org.agmodel.bioinfo.segregation
Class Chromosome

java.lang.Object
  extended byorg.agmodel.bioinfo.segregation.Chromosome

public class Chromosome
extends java.lang.Object


Constructor Summary
Chromosome()
           
Chromosome(java.lang.String name)
           
 
Method Summary
 void addMarker(Marker marker, double location)
           
 int[] getGamete()
           
 double getLength()
           
 Marker[] getMarkerArray()
           
 double[] getMarkerLocationArray()
           
 java.lang.String[] getMarkerNameArray()
           
 int[] getMarkerTypeArray()
           
 java.lang.String getName()
           
 int getNMarker()
           
 int[] getPhenotype(int segType)
           
 int[] getPhenotype(int segType, double missingRate)
           
 int[] getZygote(int segType)
           
 void show()
           
 void showGamete()
           
 void showPhenotype(int segType)
           
 void showPhenotype(int segType, double missingRate)
           
 void showZygote(int segType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Chromosome

public Chromosome()

Chromosome

public Chromosome(java.lang.String name)
Method Detail

getMarkerArray

public Marker[] getMarkerArray()

getMarkerNameArray

public java.lang.String[] getMarkerNameArray()

getMarkerTypeArray

public int[] getMarkerTypeArray()

getMarkerLocationArray

public double[] getMarkerLocationArray()

getPhenotype

public int[] getPhenotype(int segType,
                          double missingRate)

getPhenotype

public int[] getPhenotype(int segType)

getZygote

public int[] getZygote(int segType)

getGamete

public int[] getGamete()

addMarker

public void addMarker(Marker marker,
                      double location)

show

public void show()

showPhenotype

public void showPhenotype(int segType,
                          double missingRate)

showPhenotype

public void showPhenotype(int segType)

showZygote

public void showZygote(int segType)

showGamete

public void showGamete()

getLength

public double getLength()
Returns:

getName

public java.lang.String getName()
Returns:

getNMarker

public int getNMarker()
Returns: