public class EndelmanDistanceMatrix
public static DistanceMatrix getInstance(GenotypeTable genotype)
Compute Endelman Kinship Matrix. Maximum alleles per site to evaluate defaults to 2.
genotype - Genotype Table used to compute kinshippublic static DistanceMatrix getInstance(GenotypeTable genotype, int maxAlleles)
Compute Endelman Kinship Matrix
genotype - Genotype Table used to compute kinshipmaxAlleles - maximum alleles per site to evaluate. i.e. Set to 3 to evaluate the three most frequent allele states.public static DistanceMatrix getInstance(GenotypeTable genotype, ProgressListener listener)
Compute Endelman Kinship Matrix. Maximum alleles per site to evaluate defaults to 2.
genotype - Genotype Table used to compute kinshiplistener - Progress listenerpublic static DistanceMatrix getInstance(GenotypeTable genotype, int maxAlleles, ProgressListener listener)
Compute Endelman Kinship Matrix
genotype - Genotype Table used to compute kinshipmaxAlleles - maximum alleles per site to evaluate. i.e. Set to 3 to evaluate the three most frequent allele states.listener - Progress listenerpublic static DistanceMatrix subtractEndelmanDistance(DistanceMatrix[] matrices, DistanceMatrix superMatrix, ProgressListener listener)
public static DistanceMatrix addEndelmanDistance(DistanceMatrix[] matrices, ProgressListener listener)
protected static void fireProgress(int percent,
ProgressListener listener)