|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectalun.genio.LinkageLocus
public abstract class LinkageLocus
This is the base class from which the linkage locus types are derived. Only the numbered alleles type of locus is currently properly implemented.
| Field Summary | |
|---|---|
static int |
AFFECTION_STATUS
Represents the linakge affectation status locus type. |
static int |
BINARY_FACTORS
Represents the linkage binary factors locus type. |
double[] |
freq
|
java.lang.String |
line1comment
|
static int |
NUMBERED_ALLELES
Represents the linkage numbered alleles locus type. |
static int |
QUANTITATIVE_VARIABLE
Represents the linkage quantiative variable locus type. |
int |
type
The type of the locus specified. |
| Constructor Summary | |
|---|---|
LinkageLocus()
|
|
LinkageLocus(LinkageLocus l)
|
|
| Method Summary | |
|---|---|
double[] |
alleleFrequencies()
Returns the allele frequencies for the locus. |
java.lang.String |
firstComment()
Returns the comment string from the first line of input associated with this locus. |
java.lang.String |
locName()
|
int |
nAlleles()
Returns the number of alleles that this locus has. |
abstract LinkagePhenotype |
readPhenotype(LinkageFormatter f)
A method to read in the data for this locus from the given input formatter. |
void |
setAlleleFrequencies(double[] f)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public int type
public static final int QUANTITATIVE_VARIABLE
public static final int AFFECTION_STATUS
public static final int BINARY_FACTORS
public static final int NUMBERED_ALLELES
public double[] freq
public java.lang.String line1comment
| Constructor Detail |
|---|
public LinkageLocus(LinkageLocus l)
public LinkageLocus()
| Method Detail |
|---|
public abstract LinkagePhenotype readPhenotype(LinkageFormatter f)
public int nAlleles()
public double[] alleleFrequencies()
public void setAlleleFrequencies(double[] f)
public java.lang.String firstComment()
public java.lang.String locName()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||