generate_all_link_phase_elim_equivalent: Generate all possible linkage phases in matrix form given the...

View source: R/check_phase_configurations.R

generate_all_link_phase_elim_equivalentR Documentation

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, ploidy, 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)

ploidy

the ploidy level

k1

marker already present on the sequence

k2

inserted marker

Value

a unique list of matrices representing linkage phases


mmollina/MAPPoly documentation built on March 8, 2024, 2:04 a.m.