public class AccuracyStats
extends java.lang.Object
Modifier and Type | Method | Description |
---|---|---|
double |
accuracy() |
Returns the overall accuracy
|
int |
correct() |
Return the total number of genotypes that are correct
|
double |
correlation() |
Returns the overall correlation
|
double |
depthAccuracy(int depth) |
Returns the accuracy for a certain depth (number of reads)
|
int |
depthCorrect(int depth) |
Return the number of genotypes that are correct that have
the given depth (read count)
|
double |
depthCorrelation(int depth) |
Returns the correlation for a certain depth (number of reads)
|
double |
depthGenoAccuracy(int depth,
byte geno) |
Return the accuracy for a given depth (read count) and true genotype
|
int |
depthGenoCorrect(int depth,
byte geno) |
Return the number of genotypes that are correct that have
the given depth (read count) and true genotype
|
int |
depthGenoTotal(int depth,
byte geno) |
Return the number of genotypes used in the accuracy calculation that have
the give depth (read count) and true genotype
|
int |
depthTotal(int depth) |
Return the number of genotypes used in the accuracy calculation that have
the given depth (read count)
|
double |
genoAccuracy(byte geno) |
Return the accuracy for a given genotype
|
int |
genoCorrect(byte geno) |
Return the number of genotypes that are correct that have
the give true genotype
|
int |
genoTotal(byte geno) |
Return the number of genotypes used in the accuracy calculation that have
the give true genotype
|
int |
getMaxDepth() |
Gte the maximum depth (read count) of any genotype used in the accuracy
calculation
|
int |
total() |
Return the total number of genotypes used in the accuracy calculation
|
public double accuracy()
public double correlation()
public double depthAccuracy(int depth)
depth
- The depth to return the accuracy forpublic double depthCorrelation(int depth)
depth
- The depth to return the accuracy forpublic double genoAccuracy(byte geno)
geno
- The true genotype to return the accuracy forpublic double depthGenoAccuracy(int depth, byte geno)
depth
- The depth to return the accuracy forgeno
- The true genotype to return the accuracy forpublic int total()
public int depthTotal(int depth)
depth
- Depthpublic int genoTotal(byte geno)
geno
- The true genotypepublic int depthGenoTotal(int depth, byte geno)
depth
- Depthgeno
- The true genotypepublic int correct()
public int depthCorrect(int depth)
depth
- Depthpublic int genoCorrect(byte geno)
geno
- The true genotypepublic int depthGenoCorrect(int depth, byte geno)
depth
- Depthgeno
- The true genotypepublic int getMaxDepth()