public class GCTADistanceMatrix
public static DistanceMatrix getInstance(GenotypeTable genotype)
Compute Normalized_IBS (GCTA) kinship for all pairs of taxa. Missing sites are ignored. http://www.ncbi.nlm.nih.gov/pmc/articles/PMC3014363/pdf/main.pdf Equation-3
genotype
- Genotype Table used to compute kinshippublic static DistanceMatrix getInstance(GenotypeTable genotype, ProgressListener listener)
Same as other getInstance() but reports progress.
genotype
- Genotype Table used to compute kinshiplistener
- Progress listenerpublic static DistanceMatrix subtractGCTADistance(DistanceMatrixWithCounts[] matrices, DistanceMatrixWithCounts superMatrix, ProgressListener listener)
public static DistanceMatrix addGCTADistance(DistanceMatrixWithCounts[] matrices, ProgressListener listener)
protected static void fireProgress(int percent, ProgressListener listener)