org.agmodel.bioinfo.segregation
Class SegRatioTest

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

public class SegRatioTest
extends java.lang.Object


Constructor Summary
SegRatioTest()
           
 
Method Summary
 SegRatioBean test(int segType, char[] l)
          test under normal segregation in segType generation
 SegRatioBean testBC(char[] l)
          test under normal segregation in BC generation
 SegRatioBean testDH(char[] l)
          test under normal segregation in DH generation
 SegRatioBean testF2(char[] l)
          get probability under normal segregation in F2 generation
 SegRatioBean testRIL(char[] l)
          get probability under normal segregation in RIL infinite generation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SegRatioTest

public SegRatioTest()
Method Detail

test

public SegRatioBean test(int segType,
                         char[] l)
test under normal segregation in segType generation

Parameters:
segType - segregation type
l - Array of genotypes
Returns:
result

testBC

public SegRatioBean testBC(char[] l)
test under normal segregation in BC generation

Parameters:
l - Array of genotypes for locus ('A' (homozygote for the recurrent parent genotype), 'H' (heterozogote), '-' (missing data))
Returns:
result

testDH

public SegRatioBean testDH(char[] l)
test under normal segregation in DH generation

Parameters:
l - Array of genotypes for locus ('A' (homozygote for parental genotype a), 'B' (homozygote for paretnal genotype b), '-' (missing data))
Returns:
result

testRIL

public SegRatioBean testRIL(char[] l)
get probability under normal segregation in RIL infinite generation

Parameters:
l - Array of genotypes for locus ('A' (homozygote for parental genotype a), 'B' (homozygote for paretnal genotype b), '-' (missing data))
Returns:
result

testF2

public SegRatioBean testF2(char[] l)
get probability under normal segregation in F2 generation

Parameters:
l - Array of genotypes for locus ('A' (homozygote for parental genotype a), 'B' (homozygote for paretnal genotype b), 'H' (heterozygote carrying both alleles a and b), 'C' (not a homozygote for allele a (either bb or ab genotype)), 'D' (not a homozygote for allele b (either aa or ab genotype)), '-' (missing data))
Returns:
result