Package phase
package phase
-
ClassDescriptionClass
BasicPhaseStateshas methods for constructing a Li and Stephens HMM for a target haplotype or target sample.ClassCodedStepsdivides phased genotype data into non-overlapping intervals (the steps), indexes the unique allele sequences in each interval, and stores a map of haplotype index to allele sequence index for each interval.ClassEstPhasestores input genotype data and the current estimated phased genotypes for each target sample.ClassFixedPhaseDatastores immutable data for a marker window.ClassFwdPbwtPhaserphases input genotype data and imputes missing alleles using the Positional Burrows-Wheeler Transform (PBWT).ClassHmmParamDatagenerates data for estimating allele mismatch and recombination intensity parameters for a haploid Li and Stephens hidden Markov model.ClassHmmStateProbshas a method that returns the reference haplotype and probability associated with each HMM state.ClassHmmUpdaterhas static methods for next marker updates of forward and backward HMM values.ClassIbs2stores IBS2 segments that any target sample shares with another target sample.ClassIbs2Markersstores the markers and intervals that are used to detect IBS2 segments.ClassIbs2Setspartitions markers into steps, and stores the sets of samples whose genotypes are consistent with IBS2 in each step.ClassLowFreqPbwtPhaseIbsuses the Positional Burrows-Wheeler Transform (PBWT) and rare variants to select IBS haplotypes for each sample for each specified genomic interval.ClassLowFreqPhaseIbsidentifies haplotypes that share a long IBS segment or a low frequency variant with a specified haplotype in a specified genomic interval.ClassLowFreqPhaseStateshas methods for constructing a Li and Stephens HMM for a target haplotype.ClassMarkerClusterrepresents a partition of markers into contiguous marker clusters.ClassParamEstimatesestimates the allele mismatch probability and the recombination intensity for a haploid Li and Stephens hidden Markov model.ClassPbwtIbsDatacontains parameters and data for finding haplotypes that share an IBS segment with a target haplotype.ClassPbwtPhaseIBSuses the Positional Burrows-Wheeler Transform (PBWT) to find long IBS haplotypes for each sample that contain a specified small genomic interval.ClassPbwtPhaserphases input genotype data and imputes missing alleles using the Positional Burrows-Wheeler Transform (PBWT)ClassPbwtRecPhaserpartially phases and imputes genotypes using the Positional Burrows-Wheeler transform.InterfacePhaseBaumupdates the estimated genotype phase of specified samples.InterfacePhaseBaum2updates the estimated genotype phase of specified samples.ClassPhaseDatastores the current genotype phase estimates and parameter values.ClassPhaseLScontains static methods for estimated genotypes phase using a haploid Li and Stephens hidden Markov model.ClassRevPbwtPhaserphases input genotype data and imputes missing alleles using the Positional Burrows-Wheeler Transform (PBWT).Each instance of classSamplePhasestores an estimated haplotype pair for a sample.ClassSampleSegrepresents a segment of genotype data in a sample.ClassStage2Baumapplies the forward and backward algorithms for a haploid Li and Stephens hidden Markov model at high-frequency markers, and imputes missing genotypes and heterozygote phase at low-frequency markers.ClassStage2Hapsstores phased genotypes.ClassSwapRatestores the proportion of unphased heterozygotes whose phase with respect to the previous heteroygote has been reversed.