public class GenotypeConcordanceCounts
extends java.lang.Object
| Constructor and Description |
|---|
GenotypeConcordanceCounts() |
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<picard.vcf.GenotypeConcordanceStates.ContingencyState,java.lang.Integer> |
getContingencyStateCounts(GenotypeConcordanceScheme scheme)
Returns the total number of times each contingency state is encountered, summed across all truth/call state pairs.
|
int |
getCount(picard.vcf.GenotypeConcordanceStates.TruthAndCallStates truthAndCallStates)
Returns the count defined by the truth state set and call state set.
|
int |
getCount(GenotypeConcordanceStates.TruthState truthState,
picard.vcf.GenotypeConcordanceStates.CallState callState)
Returns the count defined by the truth state set and call state set.
|
double |
getPpv(GenotypeConcordanceScheme scheme)
Returns the PPV defined by the scheme across all call states.
|
double |
getSensitivity(GenotypeConcordanceScheme scheme)
Returns the sensitivity defined by the scheme across all truth states.
|
double |
getSensitivity(GenotypeConcordanceScheme scheme,
GenotypeConcordanceStates.TruthState[] truthStateArray)
Returns the sensitivity defined by the scheme across the subset of truth states.
|
double |
getSpecificity(GenotypeConcordanceScheme scheme)
Returns the specificity defined by the scheme across all truth states.
|
double |
getSpecificity(GenotypeConcordanceScheme scheme,
GenotypeConcordanceStates.TruthState[] truthStateArray)
Returns the specificity defined by the scheme across the subset of truth states.
|
int |
getSum()
Returns the sum of all pairs of tuples defined by the truth state set and call state set.
|
int |
getSum(java.util.Set<GenotypeConcordanceStates.TruthState> truthStateSet,
java.util.Set<picard.vcf.GenotypeConcordanceStates.CallState> callStateSet)
Returns the sum of all pairs of tuples defined by the truth state set and call state set.
|
void |
increment(picard.vcf.GenotypeConcordanceStates.TruthAndCallStates truthAndCallStates)
Increments a count for the truth/call state tuple.
|
double |
Ppv(GenotypeConcordanceScheme scheme,
picard.vcf.GenotypeConcordanceStates.CallState[] callStateList)
Returns the PPV defined by the scheme across the subset of call states.
|
void |
validateCountsAgainstScheme(GenotypeConcordanceScheme scheme)
Validates that there are no counts for NA states in the underlying scheme
|
public void increment(picard.vcf.GenotypeConcordanceStates.TruthAndCallStates truthAndCallStates)
truthAndCallStates - public void validateCountsAgainstScheme(GenotypeConcordanceScheme scheme)
public double getSensitivity(GenotypeConcordanceScheme scheme, GenotypeConcordanceStates.TruthState[] truthStateArray)
public double getSensitivity(GenotypeConcordanceScheme scheme)
public double Ppv(GenotypeConcordanceScheme scheme, picard.vcf.GenotypeConcordanceStates.CallState[] callStateList)
public double getPpv(GenotypeConcordanceScheme scheme)
public double getSpecificity(GenotypeConcordanceScheme scheme, GenotypeConcordanceStates.TruthState[] truthStateArray)
public double getSpecificity(GenotypeConcordanceScheme scheme)
public int getCount(GenotypeConcordanceStates.TruthState truthState, picard.vcf.GenotypeConcordanceStates.CallState callState)
public int getCount(picard.vcf.GenotypeConcordanceStates.TruthAndCallStates truthAndCallStates)
public int getSum(java.util.Set<GenotypeConcordanceStates.TruthState> truthStateSet, java.util.Set<picard.vcf.GenotypeConcordanceStates.CallState> callStateSet)
public int getSum()
public java.util.Map<picard.vcf.GenotypeConcordanceStates.ContingencyState,java.lang.Integer> getContingencyStateCounts(GenotypeConcordanceScheme scheme)