Package phase
Class PhaseLS
java.lang.Object
phase.PhaseLS
Class PhaseLS contains static methods for estimated genotypes
phase using a haploid Li and Stephens hidden Markov model.
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidUpdates genotype phase estimates in the target samples.static Stage2HapsReturns phased genotypes at all markers.
-
Method Details
-
runStage1
Updates genotype phase estimates in the target samples.- Parameters:
pd- estimated phased genotypes at stage 1 markers- Throws:
NullPointerException- ifpd == null
-
runStage2
Returns phased genotypes at all markers.- Parameters:
pd- estimated phased genotypes at stage 1 markers- Returns:
- estimated phased genotypes at all markers
- Throws:
NullPointerException- ifpd == null
-