public class FILLINImputationAccuracy
A class to mask input files, hold information related to accuracy calculation, and calculate accuracy for FILLINImputationPlugin
public FILLINImputationAccuracy(GenotypeTable unimp, GenotypeTable maskKey, GenotypeTable[] donors, double propSitesMask, int depthToMask, double propDepthSitesToMask, java.lang.String outFileName, kotlin.Array[] MAFClass, boolean verbose)
public FILLINImputationAccuracy(GenotypeTable unimp, GenotypeTable maskKey, java.lang.String outFileName, boolean verbose)
public FILLINImputationAccuracy(GenotypeTable unimp, GenotypeTable maskKey, GenotypeTable[] donor, java.lang.String outFileName, boolean verbose)
public FILLINImputationAccuracy(GenotypeTable unimp, GenotypeTable maskKey, GenotypeTable[] donor, kotlin.Array[] MAFClass, java.lang.String outFileName, boolean verbose)
public GenotypeTable initiateAccuracy()
public double calcAccuracy(GenotypeTable imputed, double runtime)
public static kotlin.Array[] compareAlignment(java.lang.String origFile,
java.lang.String maskFile,
java.lang.String impFile,
boolean noMask)
Legacy approach for measuring accuracy, but need to maintain some tests.
public static kotlin.Array[] compareAlignment(GenotypeTable impGT, GenotypeTable keyGT, java.lang.String taxaPrefix)
Calculates proportion imputed, homozygous proportion right, heterozygous proportion right
impGT - keyGT -