Constructor and Description |
---|
HbdAL(GL gl)
Constructs an
HbdAL instance. |
Modifier and Type | Method and Description |
---|---|
float |
al(int marker,
int haplotype,
int allele)
Returns the probability of the observed data if the specified allele
is the true allele for the specified marker and haplotype.
|
int |
allele(int marker,
int haplotype)
Returns the allele on the specified haplotype if the allele
emission probabilities are determined by a called allele, and
returns -1 otherwise.
|
float |
errProb()
Returns the allelic error probability.
|
Marker |
marker(int markerIndex)
Returns the specified marker.
|
Markers |
markers()
Returns the list of markers.
|
int |
nHaps()
Returns the number of haplotypes.
|
int |
nMarkers()
Returns the number of markers.
|
int |
nSamples()
Returns the number of samples.
|
Samples |
samples()
Returns the list of samples.
|
java.lang.String |
toString()
Returns a string representation of
this . |
public HbdAL(GL gl)
HbdAL
instance.gl
- genotype emission probabilities.java.lang.NullPointerException
- if gl==null
.public float al(int marker, int haplotype, int allele)
AL
public int allele(int marker, int haplotype)
AL
public int nMarkers()
AL
public Marker marker(int markerIndex)
AL
public int nSamples()
AL
public int nHaps()
AL
public float errProb()
AL
public java.lang.String toString()
AL
this
. The exact
details of the representation are unspecified and subject to change.