public class ProbToCall
extends java.lang.Object
Constructor | Description |
---|---|
ProbToCall() |
Default constructor - always calls a genotype, no matter the probability
of the most probable genotype
|
ProbToCall(double minProb) |
Creates an instance that will only call a genotype if the most probable
genotype has a probability greater than the minProb
|
Modifier and Type | Method | Description |
---|---|---|
byte[][] |
call(double[][][] probs) |
Call a table of genotypes
|
java.util.List<SingleGenotypeCall> |
call(java.util.List<SingleGenotypeProbability> probs) |
Call a list of genotypes
|
byte |
callSingle(double[] prob) |
Call a single genotype
|
public ProbToCall()
public ProbToCall(double minProb)
minProb
- Minimum probability at which to call a genotypepublic byte callSingle(double[] prob)
prob
- Genotype probabilitiespublic byte[][] call(double[][][] probs)
probs
- Table of genotype probabilitiespublic java.util.List<SingleGenotypeCall> call(java.util.List<SingleGenotypeProbability> probs)
probs
- List og genotype probabilities