Generate all possible linkage phases in matrix form given the dose and the number of shared alleles between a inserted marker and a pre-computed linkage configuration.
generate_all_link_phase_elim_equivalent(X, d, sh, ploidy, k1, k2)
a unique list of matrices representing linkage phases
a list of matrices whose columns represent homologous chromosomes and the rows represent markers. Each element of the list represents a linkage phase configuration.
the dosage of the inserted marker
the number of shared alleles between k1 (marker already present on the sequence) and k2 (the inserted marker)
the ploidy level
marker already present on the sequence
inserted marker