org.agmodel.bioinfo.segregation
Class Chromosome
java.lang.Object
org.agmodel.bioinfo.segregation.Chromosome
- public class Chromosome
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Chromosome
public Chromosome()
Chromosome
public Chromosome(java.lang.String name)
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: