Package phase
Interface PhaseBaum
- All Known Implementing Classes:
PhaseBaum2
public interface PhaseBaum
Interface PhaseBaum
updates the estimated genotype phase
of specified samples.
Instances of classes that implement PhaseBaum
are not
required to be thread-safe.
-
Method Summary
Modifier and TypeMethodDescriptionint
Returns the number of target samples.void
phase
(int sample) Estimates and stores the phased haplotypes for the specified sample
-
Method Details
-
nTargSamples
int nTargSamples()Returns the number of target samples.- Returns:
- the number of target samples
-
phase
void phase(int sample) Estimates and stores the phased haplotypes for the specified sample- Parameters:
sample
- a sample index- Throws:
IndexOutOfBoundsException
- ifsample < 0 || sample >= this.nTargSamples()
-