alun.genepi
Class LociVariables

java.lang.Object
  extended by alun.genepi.LociVariables
Direct Known Subclasses:
LinkageVariables

public class LociVariables
extends java.lang.Object


Constructor Summary
LociVariables(GeneticDataSource data)
           
LociVariables(GeneticDataSource data, double errorpri)
           
 
Method Summary
 Genotype fathersGenotype(int i, int j)
           
 GeneticDataSource getDataSource()
           
 Error getError(int i, int j)
           
 Genotype getGenotype(int i, int j)
           
 Inheritance getInheritance(int i, int j, int k)
           
 LocusVariables[] getLocusVariables()
           
 boolean isFounder(int i)
           
 Product locusProduct(int i)
           
 Genotype mothersGenotype(int i, int j)
           
 int nAlleles(int j)
           
 int nFamilies()
           
 int nFounders()
           
 int nIndividuals()
           
 int nLoci()
           
 Product traitProduct(Theta theta)
           
 Product twoPointProduct(int a, int b, Theta t)
           
 Product twoPointProduct(int a, int b, Theta mrec, Theta frec)
           
 Product unrelatedLocusProduct(int i)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LociVariables

public LociVariables(GeneticDataSource data,
                     double errorpri)

LociVariables

public LociVariables(GeneticDataSource data)
Method Detail

locusProduct

public Product locusProduct(int i)

unrelatedLocusProduct

public Product unrelatedLocusProduct(int i)

twoPointProduct

public Product twoPointProduct(int a,
                               int b,
                               Theta mrec,
                               Theta frec)

twoPointProduct

public Product twoPointProduct(int a,
                               int b,
                               Theta t)

getLocusVariables

public LocusVariables[] getLocusVariables()

getInheritance

public Inheritance getInheritance(int i,
                                  int j,
                                  int k)

getError

public Error getError(int i,
                      int j)

fathersGenotype

public Genotype fathersGenotype(int i,
                                int j)

mothersGenotype

public Genotype mothersGenotype(int i,
                                int j)

getGenotype

public Genotype getGenotype(int i,
                            int j)

isFounder

public boolean isFounder(int i)

nLoci

public int nLoci()

nAlleles

public int nAlleles(int j)

nIndividuals

public int nIndividuals()

nFounders

public int nFounders()

nFamilies

public int nFamilies()

traitProduct

public Product traitProduct(Theta theta)

getDataSource

public GeneticDataSource getDataSource()