public final class InitTargHapPairs
extends java.lang.Object
Class InitTargHapPairs has a static method for returning
initial target haplotype pairs.
Instances of class InitTargHapPairs are immutable.
| Modifier and Type | Method | Description |
|---|---|---|
static java.util.List<LongArray> |
run(GT targ,
GT ref,
double minFreq,
long seed) |
Returns initial target haplotype pairs.
|
public static java.util.List<LongArray> run(GT targ, GT ref, double minFreq, long seed)
targ - the target genotype dataref - the reference haplotype pairsminFreq - a minimum allele frequency to be enforcedseed - the seed for random number generationjava.lang.IllegalArgumentException - if
minFreq <= 0.0 || minFreq >= 0.5 || Double.isNaN(minFreq) == truejava.lang.NullPointerException - if gl == null || refHapPairs == null