|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.metaqtl.adapter.ChromosomeAdapter
public final class ChromosomeAdapter
This class defines some usefull methods to adapt Chromosome
objects into other kinds of objects or the inverse.
Constructor Summary | |
---|---|
ChromosomeAdapter()
|
Method Summary | |
---|---|
static Chromosome |
toChromosome(IBioLGroup group,
IBioCross crossDesign,
int mappingFunction,
int mappingUnit)
This method converts a linkage group into a chromosome of type Chromosome with the given cross design
and the given mapping context. |
static Chromosome[] |
toChromosomes(IBioGenome map)
This methods converts the given map into an array of Chromosome which represents
the chromosomes of the input mpe. |
static IBioGenome |
toIBioGenome(Chromosome[] chromosomes,
int gout)
This routine converts an array of chromosomes into a genetic map with as many chromosomes as the length of the array. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ChromosomeAdapter()
Method Detail |
---|
public static Chromosome[] toChromosomes(IBioGenome map)
Chromosome
which represents
the chromosomes of the input mpe.
map
-
Chromosome
public static Chromosome toChromosome(IBioLGroup group, IBioCross crossDesign, int mappingFunction, int mappingUnit)
Chromosome
with the given cross design
and the given mapping context.
group
- the linkage group to convert.crossDesign
- the cross design.mappingFunction
- the mapping function.mappingUnit
- the mapping unit.
public static IBioGenome toIBioGenome(Chromosome[] chromosomes, int gout)
MAPPING_UNIT
and
MAPPING_FUNCTION
to change the genetic map
mapping unit and function.
chromosomes
- the array of Chromosome
to convert.gout
- the convertion mode.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |