Package phase
Class PhaseLS
- java.lang.Object
-
- phase.PhaseLS
-
public class PhaseLS extends java.lang.ObjectClass
PhaseLScontains static methods for estimated genotypes phase using a haploid Li and Stephens hidden Markov model.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidrunStage1(PhaseData pd)Updates genotype phase estimates in the target samples.static Stage2HapsrunStage2(PhaseData pd)Returns phased genotypes at all markers.
-
-
-
Method Detail
-
runStage1
public static void runStage1(PhaseData pd)
Updates genotype phase estimates in the target samples.- Parameters:
pd- estimated phased genotypes at stage 1 markers- Throws:
java.lang.NullPointerException- ifpd == null
-
runStage2
public static Stage2Haps runStage2(PhaseData pd)
Returns phased genotypes at all markers.- Parameters:
pd- estimated phased genotypes at stage 1 markers- Returns:
- estimated phased genotypes at all markers
- Throws:
java.lang.NullPointerException- ifpd == null
-
-