Learn R Programming

mappoly (version 0.2.3)

generate_all_link_phase_elim_equivalent: 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.

Description

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.

Usage

generate_all_link_phase_elim_equivalent(X, d, sh, m, k1, k2)

Arguments

X

a list of matrices whose columns represent homologous chromosomes and the rows represent markers. Each element of the list represents a linkage phase configuration.

d

the dosage of the inserted marker

sh

the number of shared alleles between k1 (marker already present on the sequence) and k2 (the inserted marker)

m

the ploidy level

k1

marker already present on the sequence

k2

inserted marker

Value

a unique list of matrices representing linkage phases