public class ModelEffectUtils
public static DoubleMatrix getXtY(ModelEffect X, ModelEffect Y)
public static kotlin.Array[] getIntegerLevels(java.lang.Object[] originalLevels)
public static <T> kotlin.Array[] getIntegerLevels(T[] originalLevels,
java.util.ArrayList<T> ids)
public static kotlin.Array[] getIntegerLevelsSortedByGenotype(java.lang.String[] originalLevels,
java.util.ArrayList<java.lang.String> ids)
public static kotlin.Array[] getIntegerLevels(kotlin.Array[] genotypes,
java.util.ArrayList<java.lang.Byte> ids)
genotypes - a byte array of genotypesids - an empty array list that will hold the Bytes corresponding to each levelpublic static kotlin.Array[] genotypesToUnphasedSorted(kotlin.Array[] genotypes)
public static <T> kotlin.Array[] getIntegerLevels(java.util.ArrayList<T> originalLevels,
java.util.ArrayList<T> ids)
public static <T> kotlin.Array[] getIntegerLevels(java.util.ArrayList<T> originalLevels)
public static kotlin.Array[] getIntegerLevels(kotlin.Array[] originalLevels)
public static kotlin.Array[] getNumericCodingForAdditiveModel(java.lang.Object[] marker,
java.lang.String allele)
public static kotlin.Array[] getNumericCodingForAdditiveModel(kotlin.Array[] marker,
byte allele)
marker - the genotypes for a taxon at all sites as bytesallele - the allele that should be coded as 1. all others will be 0