public final class LiAndStephensHapSampler
extends java.lang.Object
Class LiAndStephensHapSampler
estimates posterior allele probabilities.
Instances of class LiAndStephensHapSampler
are thread-safe.
Constructor and Description |
---|
LiAndStephensHapSampler(Par par,
GeneticMap genMap)
Constructs a
LiAndStephensHapSampler instance from the specified
data. |
Modifier and Type | Method and Description |
---|---|
BasicAlleleProbs |
sample(CurrentData cd,
SampleHapPairs shp)
Returns estimated allele probabilities for each target sample.
|
public LiAndStephensHapSampler(Par par, GeneticMap genMap)
LiAndStephensHapSampler
instance from the specified
data.par
- the analysis parametersgenMap
- the genetic map or null
if no genetic map is
specified.java.lang.NullPointerException
- if par == null
public BasicAlleleProbs sample(CurrentData cd, SampleHapPairs shp)
shp
and cd
parameters are inconsistent.cd
- the input data for the current marker windowshp
- estimated target haplotypes at the genotyped markersjava.lang.NullPointerException
- if cd == null || shp == null