|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectalun.gchap.GeneticTrait
public abstract class GeneticTrait
A genetic trait links together a locus with phenotypes.
| Constructor Summary | |
|---|---|
GeneticTrait(Locus loc)
Creates a new genetic trait for the given locus. |
|
| Method Summary | |
|---|---|
void |
downCode()
Removes from the locus any alleles that have zero frequency. |
void |
downCode(double tol)
|
void |
geneCount(int n)
Runs n iterations of the gene counting algorithm for the trait. |
Locus |
getLocus()
Returns the asssociated locus. |
int |
nPhenotypes()
Returns the number of phenotype for the trait at this locus. |
void |
parsDownCode()
Removes from the locus any alleles that have frequency less than the the given value. |
java.lang.String |
toString()
Returns a string representation of the trait. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public GeneticTrait(Locus loc)
| Method Detail |
|---|
public int nPhenotypes()
public Locus getLocus()
public void downCode()
public void parsDownCode()
public void downCode(double tol)
public void geneCount(int n)
public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||