Package phase
Class PhaseLS
- java.lang.Object
-
- phase.PhaseLS
-
public class PhaseLS extends java.lang.ObjectClass
PhaseLSestimated genotypes phase using a haploid Li and Stephens hidden Markov model.Instances of class
PhaseLSare immutable.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidrunStage1(PhaseData phaseData, boolean updateRecombFactor)Estimates phased haplotypes at high-frequency markers in the target samples.static GTrunStage2(PhaseData phaseData)Returns phased genotypes at all markers.
-
-
-
Method Detail
-
runStage1
public static void runStage1(PhaseData phaseData, boolean updateRecombFactor)
Estimates phased haplotypes at high-frequency markers in the target samples.- Parameters:
phaseData- the current input data for updating genotype phase estimatesupdateRecombFactor-trueifphaseData.recombFactor()should be updated- Throws:
java.lang.NullPointerException- ifphaseData == null
-
runStage2
public static GT runStage2(PhaseData phaseData)
Returns phased genotypes at all markers.- Parameters:
phaseData- the current input data for updating genotype phase estimates- Returns:
- phased genotypes at all markers
- Throws:
java.lang.NullPointerException- iffpd == null || phaseData == null
-
-